diff options
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/server.c | 2 | ||||
-rw-r--r-- | src/server/server.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/server/server.c b/src/server/server.c index 5d7df1af..951be450 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -417,7 +417,7 @@ int server_init() return ERROR_OK; } -int server_close() +int server_quit() { remove_services(); diff --git a/src/server/server.h b/src/server/server.h index ddf0b97d..811e26ec 100644 --- a/src/server/server.h +++ b/src/server/server.h @@ -65,6 +65,7 @@ typedef struct service_s extern int add_service(char *name, enum connection_type type, unsigned short port, int max_connections, new_connection_handler_t new_connection_handler, input_handler_t input_handler, connection_closed_handler_t connection_closed_handler, void *priv); extern int server_init(); +extern int server_quit(); extern int server_loop(command_context_t *command_context); extern int server_register_commands(command_context_t *context); |