ngtcp2_version
Synopsis
#include <ngtcp2/ngtcp2.h>
-
const ngtcp2_info *ngtcp2_version(int least_version)
ngtcp2_version()returns a pointer to angtcp2_infostruct with version information about the run-time library in use. The least_version argument can be set to a 24 bit numerical value for the least accepted version number, and if the condition is not met, this function will return aNULL. Pass in 0 to skip the version checking.