created why2_connection_t struct
contains connection and pthread_t
This commit is contained in:
parent
736cd82240
commit
493724626c
@ -24,4 +24,10 @@ 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
|
||||
|
||||
typedef struct why2_connection
|
||||
{
|
||||
int connection;
|
||||
int thread; //pthread_t
|
||||
} why2_connection_t;
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user