From ea15a24ed39bc28d0da805f86d81f07eb006ebc7 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Tue, 21 Feb 2023 12:26:27 +0100 Subject: [PATCH] declared register_connection function --- include/chat/misc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/chat/misc.h b/include/chat/misc.h index f2cdb02..3436508 100644 --- a/include/chat/misc.h +++ b/include/chat/misc.h @@ -22,5 +22,6 @@ along with this program. If not, see . void send_socket(char *text, int socket); //send socket.... wtf did you expect char *read_socket(int socket); //read lol void *communicate_thread(void *arg); //COMMUNICATION THREAD +void register_connection(int socket); //ADD SOCKET TO LIST #endif \ No newline at end of file