X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Freq.h;h=7fc70be2a3f7bde97353611cac723ae7e526992b;hb=af34331c8aae9bacdae3655546b2fb6eb2fbe23f;hp=a3fc0be75bfe18f02b82de31355947ca67000e49;hpb=41213112d34e04d3d088600c6b5eafeaab21330c;p=ashd.git diff --git a/lib/req.h b/lib/req.h index a3fc0be..7fc70be 100644 --- a/lib/req.h +++ b/lib/req.h @@ -15,7 +15,8 @@ void freehthead(struct hthead *head); char *getheader(struct hthead *head, char *name); void headpreheader(struct hthead *head, const char *name, const char *val); void headappheader(struct hthead *head, const char *name, const char *val); -int sendreq(int sock, struct hthead *req); +int sendreq(int sock, struct hthead *req, int fd); int recvreq(int sock, struct hthead **reqp); +void replrest(struct hthead *head, char *rest); #endif