Added daemonizing, syslogging, setuid and chrooting to htparser.
[ashd.git] / lib / proc.h
CommitLineData
0c16b406
FT
1#ifndef _LIB_PROC_H
2#define _LIB_PROC_H
3
992ce9ef
FT
4#include <req.h>
5
0c16b406
FT
6int stdmkchild(char **argv);
7int sendfd(int sock, int fd, char *data, size_t datalen);
8int recvfd(int sock, char **data, size_t *datalen);
992ce9ef 9pid_t stdforkserve(char **argv, struct hthead *req, int fd);
0c16b406
FT
10
11#endif