From ac487842a18d77d31baee49a9dc022aa306b2ea1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 3 Sep 2013 23:17:06 +0200 Subject: http2: add http2.[ch] and add nghttp2 version output --- lib/http2.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 lib/http2.h (limited to 'lib/http2.h') 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, , 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 */ + -- cgit v1.2.3