Split client-specific code into client.{c,h}
This commit is contained in:
16
src/client.h
Normal file
16
src/client.h
Normal 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
|
Reference in New Issue
Block a user