libthrd.h 319 Bytes
#ifndef __LIBTHRD_H__
#define __LIBTHRD_H__


#include "http.h"
#include <pthread.h>

typedef struct{int socket; struct interface_info* interfaces[20]; pthread_mutex_t requete_mutex;} Arg_Thread;

void* reponseConnexion(void* arg_sock_interf);

int lanceThread(void(* fonction) (void *), void* arg, int size);


#endif