diff options
Diffstat (limited to 'src/client.h')
| -rw-r--r-- | src/client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index eeb515d..4ab7f9b 100644 --- a/src/client.h +++ b/src/client.h @@ -43,3 +43,7 @@ void out_raw(const void*, size_t); /* called for every client */ void client_main(int sock, struct sockaddr_in *addr, int, int to_parent, int from_parent); + +/* can (and should) be called before forking the child */ +void client_init(void); +void client_shutdown(void); |