htparser: Use bufio instead of stdio for greater responsiveness.
[ashd.git] / lib / proc.h
... / ...
CommitLineData
1#ifndef _LIB_PROC_H
2#define _LIB_PROC_H
3
4#include "req.h"
5
6int stdmkchild(char **argv, void (*chinit)(void *), void *idata);
7int sendfd2(int sock, int fd, char *data, size_t datalen, int flags);
8int sendfd(int sock, int fd, char *data, size_t datalen);
9int recvfd(int sock, char **data, size_t *datalen);
10pid_t stdforkserve(char **argv, struct hthead *req, int fd, void (*chinit)(void *), void *idata);
11
12#endif