1pskc_check_version(3) libpskc pskc_check_version(3)
2
3
4
6 pskc_check_version - API function
7
9 #include <pskc.h>
10
11 const char * pskc_check_version(const char * req_version);
12
14 const char * req_version
15 version string to compare with, or NULL.
16
18 Check PSKC library version.
19
20 See PSKC_VERSION for a suitable req_version string.
21
22 This function is one of few in the library that can be used without a
23 successful call to pskc_global_init().
24
26 Check that the version of the library is at minimum the one given as a
27 string in req_version and return the actual version string of the
28 library; return NULL if the condition is not met. If NULL is passed to
29 this function no check is done and only the version string is returned.
30
32 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
33 http://www.gnu.org/software/libpskc/ General help using GNU software:
34 http://www.gnu.org/gethelp/
35
37 Copyright © 2012-2020 Simon Josefsson.
38 Copying and distribution of this file, with or without modification,
39 are permitted in any medium without royalty provided the copyright
40 notice and this notice are preserved.
41
42
43
44libpskc 2.6.6 pskc_check_version(3)