aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/http_client.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-06-03 22:20:43 +0200
committerJelmer Vernooij <jelmer@samba.org>2006-06-03 22:20:43 +0200
commit9779c186bd6d396a6fde61cc215f2438d453ee97 (patch)
treef213d656883f0c9f602b9d78bfe3ee9143744bdf /protocols/http_client.h
parenta15c097fa32028394264cf66ef4fd31f56315eb3 (diff)
parentfb62f81f947c74e274b05e32d2e88e3a4d7e2613 (diff)
[merge] Wilmer
Diffstat (limited to 'protocols/http_client.h')
-rw-r--r--protocols/http_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/http_client.h b/protocols/http_client.h
index 53c6fcd6..50ee80cf 100644
--- a/protocols/http_client.h
+++ b/protocols/http_client.h
@@ -36,8 +36,10 @@ struct http_request
char *request;
int request_length;
int status_code;
+ char *status_string;
char *reply_headers;
char *reply_body;
+ int body_size;
int finished;
void *ssl;
@@ -52,3 +54,4 @@ struct http_request
};
void *http_dorequest( char *host, int port, int ssl, char *request, http_input_function func, gpointer data );
+void *http_dorequest_url( char *url_string, http_input_function func, gpointer data );