diff --git a/include/chat/misc.h b/include/chat/misc.h index 27627a3..eb5ceae 100644 --- a/include/chat/misc.h +++ b/include/chat/misc.h @@ -23,6 +23,7 @@ void why2_send_socket(char *text, int socket); //send socket.... wtf did you exp char *why2_read_socket(int socket); //read lol void *why2_communicate_thread(void *arg); //COMMUNICATION THREAD void *why2_accept_thread(void *socket); //LOOP ACCEPTING CONNECTIONS +void why2_clean_threads(void); //CLOSE EVERY RUNNING THREAD typedef struct why2_connection {