X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=src%2Fserver%2Fio.h;fp=src%2Fserver%2Fio.h;h=0000000000000000000000000000000000000000;hb=dcdb99eb5863af512f8f079c320216bfeec5d9e2;hp=7c9148dba55a415c2e61c296b7ae9ef62dff4e51;hpb=00b22e82c20cdd00058aa96df095435fbbdb2422;p=plomrogue diff --git a/src/server/io.h b/src/server/io.h deleted file mode 100644 index 7c9148d..0000000 --- a/src/server/io.h +++ /dev/null @@ -1,31 +0,0 @@ -/* io.h - * - * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3 - * or any later version. For details on its copyright, license, and warranties, - * see the file NOTICE in the root directory of the PlomRogue source package. - * - * Communication of the server with the outside world and its client via input, - * output and world state files. - */ - -#ifndef IO_H -#define IO_H - - - -/* Return single \0-terminated string read from input queue (world.queue); or, - * if queue is empty and world.do_update is set, update world state file (and - * unset world.do_update) and write a single dot line to server out file, then - * read server in file for the next load of bytes to put onto the input queue. - * (Queueing ensures only complete messages are interpreted.) - */ -extern char * io_round(); - -/* Write to savefile (atomically) god commands (one per line) to rebuild the - * current world state. - */ -extern void save_world(); - - - -#endif