diff options
author | Preston Pan <ret2pop@gmail.com> | 2024-12-26 21:18:05 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2024-12-26 21:18:05 -0800 |
commit | fd14f6fbf8206589d2a0ad8f0793845cb8faf1d7 (patch) | |
tree | ac3f8288b9e5e9d5e3acaf7d07694dc04157233a /src/main.c | |
parent | e75d6f6b8f4512a5bbfecbfa8c17f0bb687e3d55 (diff) |
stuff
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) { |