Files
y_project/y_socket/include/y_socket/y_client.h
T
2024-12-24 23:15:44 +01:00

25 lines
299 B
C

#ifndef Y_CLIENT_H__C
#define Y_CLIENT_H__C
#include <pthread.h>
#include "y_socket/y_socket.h"
struct y_client{
size_t id;
struct y_socket_t *socket;
int nb_threads;
pthread_t *thread_client;
pthread_mutex_t *mut_client;
void *(*launch)(void*);
};
#endif /* Y_CLIENT_H__C */