Imported Upstream version 1.0.0
[platform/upstream/nghttp2.git] / doc / nghttp2_version.rst
1
2 nghttp2_version
3 ===============
4
5 Synopsis
6 --------
7
8 *#include <nghttp2/nghttp2.h>*
9
10 .. function:: nghttp2_info *nghttp2_version(int least_version)
11
12     
13     Returns a pointer to a nghttp2_info struct with version information
14     about the run-time library in use.  The *least_version* argument
15     can be set to a 24 bit numerical value for the least accepted
16     version number and if the condition is not met, this function will
17     return a ``NULL``.  Pass in 0 to skip the version checking.