diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -14,6 +14,7 @@ #include <array.h> #include <better_string.h> +#include <hash_table.h> #include <helpers.h> #include <opcodes.h> #include <protocol.h> @@ -22,6 +23,9 @@ int PORT = DEFAULT_PORT; int nfds = 1; struct pollfd fds[MAX_CONNECTIONS * 2]; +ht_t *USERS; +ht_t *CHAN; + void handle_sigint(int sig) { for (int i = 0; i < nfds; i++) { if (fds[i].fd >= 0) { |