X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Freq.h;h=71a7a06d37ffdc2c36e369e221751d9565e6714d;hb=3ef788959b54c635638b84fd628fab7bfbbf1e46;hp=752ff776f549a52fab34b40915164b17dadfaa01;hpb=e09f3227872481af1a7bafe50d71a60f47292ac2;p=ashd.git diff --git a/lib/req.h b/lib/req.h index 752ff77..71a7a06 100644 --- a/lib/req.h +++ b/lib/req.h @@ -22,6 +22,7 @@ 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); +struct hthead *parseresponse(FILE *in); int writeresp(FILE *out, struct hthead *resp); char *unquoteurl(char *in);