aboutsummaryrefslogtreecommitdiff
path: root/lib/http2.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-09-07 11:03:23 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-09-07 11:28:12 +0200
commit13dbb41c4991bdd87768e0d3b6d3398cb1869676 (patch)
tree06570305ca58f988315066cfef4c2cf78c322e16 /lib/http2.h
parente5c2354fd537968f034b35532d53b42c6cdf5169 (diff)
http2: first embryo toward Upgrade:
Diffstat (limited to 'lib/http2.h')
-rw-r--r--lib/http2.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/http2.h b/lib/http2.h
index 4ad06c26d..09b91d112 100644
--- a/lib/http2.h
+++ b/lib/http2.h
@@ -22,11 +22,21 @@
*
***************************************************************************/
+#include "curl_setup.h"
+
+#ifdef USE_NGHTTP2
+#include "http.h"
/*
* Store nghttp2 version info in this buffer, Prefix with a space. Return
* total length written.
*/
int Curl_http2_ver(char *p, size_t len);
+CURLcode Curl_http2_request(Curl_send_buffer *req,
+ struct connectdata *conn);
+#else /* USE_NGHTTP2 */
+#define Curl_http2_request(x,y) CURLE_OK
+#endif
+
#endif /* HEADER_CURL_HTTP2_H */