home · contact · privacy
Server: Only fflush() via send_to_outfile() when messages are finished.
[plomrogue] / src / server / run.h
index 85c1339d8703b196922e1d94f4245c2bcb6d4ffc..26a0c2f7108ae8390897a8e0301ccd173f0d0b37 100644 (file)
@@ -14,6 +14,9 @@
 
 
 
+/* Append "answer" to server output file, with instant fflush() if "flush". */
+extern void send_to_outfile(char * answer, uint8_t flush);
+
 /* Record save and record file data. Both are only written if "force" is set, or
  * on the first run with unset "force", or if 15 seconds have passed since the
  * last file writing. "msg" is appended to the record file if it is set.