X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Freq.h;h=7fc70be2a3f7bde97353611cac723ae7e526992b;hb=af34331c8aae9bacdae3655546b2fb6eb2fbe23f;hp=942ff3505f1d39f7c0641ec51d02b7ad001b51a3;hpb=46c3d4304f2846f05f1c44f39b67563f9f1f3acb;p=ashd.git diff --git a/lib/req.h b/lib/req.h index 942ff35..7fc70be 100644 --- a/lib/req.h +++ b/lib/req.h @@ -15,7 +15,7 @@ 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);