#ifndef _SERVER_H_ #define _SERVER_H_ #include #include #include #include #include #include #include #include #include #include #include #include "lib.h" // DEFINITIONS typedef struct{ int socket; int index; } pthread_arg_wrapper; // VARIABLES static pthread_t managers[maxClients]; // containa THREADS static int a_managers[maxClients] = {0}; // contains THREADS actifs /************************************************ **** Signatures **** ************************************************/ void* manageClient(void* pthread_args); #endif