X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=lib%2Fproc.h;h=72bff20916a657b8a29c1ffecd1c0e6017e542a4;hp=da230b3dadcece9c49a2bb84b223a93945fdcf8d;hb=6a7a868e28e79f5502cc4b37578c263f640439c8;hpb=23c627d263701656532d63fade39da08072b56cf diff --git a/lib/proc.h b/lib/proc.h index da230b3..72bff20 100644 --- a/lib/proc.h +++ b/lib/proc.h @@ -3,9 +3,9 @@ #include -int stdmkchild(char **argv); +int stdmkchild(char **argv, void (*chinit)(void *), void *idata); int sendfd(int sock, int fd, char *data, size_t datalen); int recvfd(int sock, char **data, size_t *datalen); -pid_t stdforkserve(char **argv, struct hthead *req, int fd); +pid_t stdforkserve(char **argv, struct hthead *req, int fd, void (*chinit)(void *), void *idata); #endif