aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/http_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/http_client.h')
-rw-r--r--protocols/http_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/http_client.h b/protocols/http_client.h
index 53c6fcd6..860cdd86 100644
--- a/protocols/http_client.h
+++ b/protocols/http_client.h
@@ -38,6 +38,7 @@ struct http_request
int status_code;
char *reply_headers;
char *reply_body;
+ int body_size;
int finished;
void *ssl;
@@ -52,3 +53,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 );