2012-06-06 11:27:52 +01:00
|
|
|
#ifndef CLIENT_H
|
|
|
|
#define CLIENT_H
|
|
|
|
|
2012-06-06 11:33:17 +01:00
|
|
|
struct client {
|
2012-06-06 11:27:52 +01:00
|
|
|
int socket;
|
|
|
|
|
|
|
|
int fileno;
|
|
|
|
char* mapped;
|
|
|
|
|
|
|
|
struct server* serve; /* FIXME: remove above duplication */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
void* client_serve(void* client_uncast);
|
|
|
|
|
|
|
|
#endif
|