1oath_check_version(3)               liboath              oath_check_version(3)
2
3
4

NAME

6       oath_check_version - API function
7

SYNOPSIS

9       #include <oath.h>
10
11       const char * oath_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 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

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
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

REPORTING BUGS

32       Report  bugs  to  <oath-toolkit-help@nongnu.org>.   liboath  home page:
33       http://www.gnu.org/software/liboath/ General help using  GNU  software:
34       http://www.gnu.org/gethelp/
35
37       Copyright © 2009-2016 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
44liboath                              2.6.2               oath_check_version(3)
Impressum