Split client-specific code into client.{c,h}

This commit is contained in:
Alex Young
2012-06-06 11:27:52 +01:00
parent d22471d195
commit 40279bc9ca
4 changed files with 415 additions and 388 deletions

16
src/client.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef CLIENT_H
#define CLIENT_H
struct client_params {
int socket;
int fileno;
char* mapped;
struct server* serve; /* FIXME: remove above duplication */
};
void* client_serve(void* client_uncast);
#endif