aboutsummaryrefslogtreecommitdiffstats
path: root/src/server.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-12 20:54:59 +0200
committerMattias Andrée <maandree@kth.se>2016-07-12 20:54:59 +0200
commitf3bfd838f5c0106cd5e95110f711974e4e899f46 (patch)
tree6147662101f8ea8c43b3d77707152b8df13072bb /src/server.h
parentAdd -q and -qq (diff)
downloadcoopgammad-f3bfd838f5c0106cd5e95110f711974e4e899f46.tar.gz
coopgammad-f3bfd838f5c0106cd5e95110f711974e4e899f46.tar.bz2
coopgammad-f3bfd838f5c0106cd5e95110f711974e4e899f46.tar.xz
Implement main loop and handling of inbound connections + remove server_message (though like this was an mds server and not a stand-alone server)
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/server.h b/src/server.h
index f490f22..31b7914 100644
--- a/src/server.h
+++ b/src/server.h
@@ -45,11 +45,6 @@ extern size_t connections_ptr;
extern size_t connections_used;
/**
- * The server connection's message buffer
- */
-extern struct message server_message;
-
-/**
* The clients' connections' message buffers
*/
extern struct message* client_messages;
@@ -57,13 +52,6 @@ extern struct message* client_messages;
/**
- * Initialise the state of the connections
- *
- * @param Zero on success, -1 on error
- */
-int server_initialise(void);
-
-/**
* Destroy the state of the connections
*
* @param disconnect Disconnect all connections?