X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fproc.h;h=72bff20916a657b8a29c1ffecd1c0e6017e542a4;hb=349b25644067aa6754197a991c3ba00143d60a19;hp=943e598d278303388d0ed630999d517ccd1b8262;hpb=0c16b4068d625a9b9b384a9fc2a07ee3c5c762c9;p=ashd.git diff --git a/lib/proc.h b/lib/proc.h index 943e598..72bff20 100644 --- a/lib/proc.h +++ b/lib/proc.h @@ -1,8 +1,11 @@ #ifndef _LIB_PROC_H #define _LIB_PROC_H -int stdmkchild(char **argv); +#include + +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, void (*chinit)(void *), void *idata); #endif