summaryrefslogtreecommitdiff
path: root/imap/src/c-client/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/c-client/http.h')
-rw-r--r--imap/src/c-client/http.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/imap/src/c-client/http.h b/imap/src/c-client/http.h
index 41b16842..9c7464e1 100644
--- a/imap/src/c-client/http.h
+++ b/imap/src/c-client/http.h
@@ -90,6 +90,7 @@ typedef struct http_status_s {
typedef struct http_stream {
NETSTREAM *netstream;
HTTP_HEADER_DATA_S *header; /* headers sent by the server */
+ unsigned int debug : 1; /* send debug information */
char *url; /* original url */
char *urlhost; /* get original host */
char *urltail; /* the part of the URL after the original host */
@@ -115,5 +116,7 @@ void http_close (HTTPSTREAM *stream);
HTTP_PARAM_S *http_param_get(int);
void http_param_free(HTTP_PARAM_S **);
+void *http_parameters (long,void *);
+
/* Ugghh.... just construct the URL for a get request */
unsigned char *http_get_param_url(unsigned char *, HTTP_PARAM_S *);