summaryrefslogtreecommitdiff
path: root/lib/http2.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-09-03 23:17:06 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-09-04 22:29:38 +0200
commitac487842a18d77d31baee49a9dc022aa306b2ea1 (patch)
tree3a72adbe69a227684986332312a20a5b5ac74546 /lib/http2.h
parent06b6e1d0d27dab4927f367afb9139ed5bf663153 (diff)
downloadcurl-ac487842a18d77d31baee49a9dc022aa306b2ea1.tar.gz
http2: add http2.[ch] and add nghttp2 version output
Diffstat (limited to 'lib/http2.h')
-rw-r--r--lib/http2.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/http2.h b/lib/http2.h
new file mode 100644
index 000000000..4ad06c26d
--- /dev/null
+++ b/lib/http2.h
@@ -0,0 +1,32 @@
+#ifndef HEADER_CURL_HTTP2_H
+#define HEADER_CURL_HTTP2_H
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
+
+/*
+ * Store nghttp2 version info in this buffer, Prefix with a space. Return
+ * total length written.
+ */
+int Curl_http2_ver(char *p, size_t len);
+
+#endif /* HEADER_CURL_HTTP2_H */
+