aboutsummaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-12-29 21:45:02 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-12-29 21:45:02 +0000
commit1e9a946e6d2714a5e3f143f500fca45a2011e5f1 (patch)
tree52257e72698714de934ea37883dc4b98d7145c54 /lib/http.h
parent7cd5ffc1bf9ea4fc9b17ce8f2accd5e4efb69d82 (diff)
move HTTP-specific functions to http.c where they belong
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