summaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/http.h b/lib/http.h
index 8908130f9..263b8989c 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -25,6 +25,8 @@
***************************************************************************/
#ifndef CURL_DISABLE_HTTP
+struct SingleRequest;
+
extern const struct Curl_handler Curl_handler_http;
#ifdef USE_SSL
@@ -123,4 +125,14 @@ struct HTTP {
points to an allocated send_buffer struct */
};
+CURLcode Curl_http_header_append(struct SessionHandle *data,
+ struct SingleRequest *k,
+ size_t length);
+
+CURLcode Curl_http_readwrite_headers(struct SessionHandle *data,
+ struct connectdata *conn,
+ struct SingleRequest *k,
+ ssize_t *nread,
+ bool *stop_reading);
+
#endif