1pskc_check_version(3)               libpskc              pskc_check_version(3)
2
3
4

NAME

6       pskc_check_version - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       const char * pskc_check_version(const char * req_version);
12

ARGUMENTS

14       const char * req_version
15                   version string to compare with, or NULL.
16

DESCRIPTION

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

RETURN VALUE

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

REPORTING BUGS

32       Report  bugs  to  <oath-toolkit-help@nongnu.org>.   libpskc  home page:
33       https://www.nongnu.org/oath-toolkit/ 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  no‐
40       tice and this notice are preserved.
41
42
43
44libpskc                              2.6.7               pskc_check_version(3)
Impressum