1oath_init(3)                        liboath                       oath_init(3)
2
3
4

NAME

6       oath_init - API function
7

SYNOPSIS

9       #include <oath.h>
10
11       int oath_init( void);
12

ARGUMENTS

14        void
15

DESCRIPTION

17       This function initializes the OATH library.  Every user of this library
18       needs to call this function before using other functions.   You  should
19       call oath_done() when use of the OATH library is no longer needed.
20
21       Note  that  this  function  may  also initialize Libgcrypt, if the OATH
22       library is built with libgcrypt support and libgcrypt has not been ini‐
23       tialized before.  Thus if you want to manually initialize libgcrypt you
24       must do it before calling this function.  This is useful in  cases  you
25       want to disable libgcrypt's internal lockings etc.
26

RETURNS

28       On  success,  OATH_OK  (zero)  is  returned, otherwise an error code is
29       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-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
44liboath                              2.6.6                        oath_init(3)
Impressum