From a006044fbcb3355f0fa063720e7c41f4971894a0 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Mon, 1 Feb 2016 22:12:12 -0500 Subject: better command parsing --- src/client.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client.h') 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); -- cgit v1.1