diff options
Diffstat (limited to 'include/server.h')
-rw-r--r-- | include/server.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/server.h b/include/server.h index 03bd9ca..f280993 100644 --- a/include/server.h +++ b/include/server.h @@ -4,8 +4,8 @@ #include <stdbool.h> #include "list.h" +#include "poller.h" -struct poller; struct client; struct server { @@ -15,8 +15,8 @@ struct server { struct list seats; }; -struct server *server_create(void); -void server_destroy(struct server *server); +int server_init(struct server *server); +void server_finish(struct server *server); struct seat *server_get_seat(struct server *server, const char *seat_name); |