X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fproc.h;h=7236595df287abd90e13e8588b69e0bd684df7ca;hb=b1b0fe0f4793825232288427da4856e9adf8b868;hp=943e598d278303388d0ed630999d517ccd1b8262;hpb=0c16b4068d625a9b9b384a9fc2a07ee3c5c762c9;p=ashd.git diff --git a/lib/proc.h b/lib/proc.h index 943e598..7236595 100644 --- a/lib/proc.h +++ b/lib/proc.h @@ -1,8 +1,12 @@ #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 sendfd2(int sock, int fd, char *data, size_t datalen, int flags); 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