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.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 );