X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=include%2Fhttp.h;fp=include%2Fhttp.h;h=0456d5aa105408eac7afc3a01ad395525bbab76a;hb=95c14b735e08d5350a43722b4b02889c4f0c6c2a;hp=0873659acf2cde8299e887f9a79e5a63f18dc3c0;hpb=672dbb8f2fe881723f08bba084acd54703411342;p=doldaconnect.git diff --git a/include/http.h b/include/http.h index 0873659..0456d5a 100644 --- a/include/http.h +++ b/include/http.h @@ -17,18 +17,19 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef _HTTP_H +#ifndef _HTTP_H #define _HTTP_H struct hturlinfo { char *host; int port; - char *rest; + char *path; + char *query; }; struct htconn { int fd; - struct char *outbuf, *inbuf; + char *outbuf, *inbuf; size_t outbufsize, outbufdata; size_t inbufsize, inbufdata; struct hturlinfo *url;