Make client list dynamic
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#ifndef SESIMOS_SERVER_H
|
||||
#define SESIMOS_SERVER_H
|
||||
|
||||
#include "worker/func.h"
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#define NUM_SOCKETS 2
|
||||
@@ -24,4 +26,6 @@
|
||||
|
||||
extern volatile sig_atomic_t server_alive;
|
||||
|
||||
void server_free_client(client_ctx_t *ctx);
|
||||
|
||||
#endif //SESIMOS_SERVER_H
|
||||
|
||||
Reference in New Issue
Block a user