diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-12 11:24:50 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-12 11:24:50 +0200 |
commit | a27250396644e7f603dc6de3e685b53e1671bf1f (patch) | |
tree | f3c48f6f863dece7a1562bdd2a4e5ccd4ca631fe /src/server.h | |
parent | Rename project: gammad => coopgammad (diff) | |
download | coopgammad-a27250396644e7f603dc6de3e685b53e1671bf1f.tar.gz coopgammad-a27250396644e7f603dc6de3e685b53e1671bf1f.tar.bz2 coopgammad-a27250396644e7f603dc6de3e685b53e1671bf1f.tar.xz |
Add loop that waits on sockets
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/server.h b/src/server.h index 1edcf0e..f490f22 100644 --- a/src/server.h +++ b/src/server.h @@ -88,3 +88,10 @@ size_t server_marshal(void* buf); */ size_t server_unmarshal(const void* buf); +/** + * The program's main loop + * + * @return Zero on success, -1 on error + */ +int main_loop(void); + |