1oath_check_version(3) liboath oath_check_version(3)
2
3
4
6 oath_check_version - API function
7
9 #include <oath.h>
10
11 const char * oath_check_version(const char * req_version);
12
14 const char * req_version
15 version string to compare with, or NULL.
16
18 Check OATH library version.
19
20 See OATH_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 oath_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 li‐
28 brary; 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>. liboath home page:
33 https://www.nongnu.org/oath-toolkit/ General help using GNU software:
34 http://www.gnu.org/gethelp/
35
37 Copyright © 2009-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 no‐
40 tice and this notice are preserved.
41
42
43
44liboath 2.6.7 oath_check_version(3)