X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Freq.h;h=752ff776f549a52fab34b40915164b17dadfaa01;hb=90b0ba0f9d93e454cc08a566b718abdcbfd0d9f6;hp=9d77499d5cfa1c062f4fe45f24606507eaa184a5;hpb=5fc1bf9ffd24123e1fafbfc8b58c4338521ec0e6;p=ashd.git diff --git a/lib/req.h b/lib/req.h index 9d77499..752ff77 100644 --- a/lib/req.h +++ b/lib/req.h @@ -17,10 +17,12 @@ 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); +void headrmheader(struct hthead *head, const char *name); int sendreq(int sock, struct hthead *req, int fd); int recvreq(int sock, struct hthead **reqp); void replrest(struct hthead *head, char *rest); int parseheaders(struct hthead *head, FILE *in); int writeresp(FILE *out, struct hthead *resp); +char *unquoteurl(char *in); #endif