X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fproc.h;h=6d2ea92cdeea683464089dbf4e3aa836b8445c6d;hb=fda48525a7bab9e487e69264619ebdbabcd83ff2;hp=943e598d278303388d0ed630999d517ccd1b8262;hpb=0c16b4068d625a9b9b384a9fc2a07ee3c5c762c9;p=ashd.git diff --git a/lib/proc.h b/lib/proc.h index 943e598..6d2ea92 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 "req.h" + +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