Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
oath_init(3)			    liboath			  oath_init(3)

NAME
       oath_init - API function

SYNOPSIS
       #include	<oath.h>

       int oath_init( void);

ARGUMENTS
	void

DESCRIPTION
       This function initializes the OATH library.  Every user of this library
       needs  to  call this function before using other	functions.  You	should
       call oath_done()	when use of the	OATH library is	no longer needed.

       Note that this function may also	initialize Libgcrypt, if the OATH  li-
       brary  is  built	with libgcrypt support and libgcrypt has not been ini-
       tialized	before.	 Thus if you want to manually initialize libgcrypt you
       must do it before calling this function.	 This is useful	in  cases  you
       want to disable libgcrypt's internal lockings etc.

RETURNS
       On  success, OATH_OK (zero) is returned,	otherwise an error code	is re-
       turned.

REPORTING BUGS
       Report bugs  to	<oath-toolkit-help@nongnu.org>.	  liboath  home	 page:
       https://www.nongnu.org/oath-toolkit/  General  help using GNU software:
       http://www.gnu.org/gethelp/

COPYRIGHT
       Copyright (C) 2009-2020 Simon Josefsson.
       Copying and distribution	of this	file, with  or	without	 modification,
       are  permitted in any medium without royalty provided the copyright no-
       tice and	this notice are	preserved.

liboath				     2.6.9			  oath_init(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=oath_init&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help