1dane_state_init(3)                  gnutls                  dane_state_init(3)
2
3
4

NAME

6       dane_state_init - API function
7

SYNOPSIS

9       #include <gnutls/dane.h>
10
11       int dane_state_init(dane_state_t * s, unsigned int flags);
12

ARGUMENTS

14       dane_state_t * s
15                   The structure to be initialized
16
17       unsigned int flags
18                   flags from the dane_state_flags enumeration
19

DESCRIPTION

21       This  function  will initialize the backend resolver. It is intended to
22       be used in scenarios  where  multiple  resolvings  occur,  to  optimize
23       against multiple re-initializations.
24

RETURNS

26       On  success, DANE_E_SUCCESS (0) is returned, otherwise a negative error
27       value.
28

REPORTING BUGS

30       Report bugs to <bugs@gnutls.org>.
31       Home page: https://www.gnutls.org
32
33
35       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
36       Copying and distribution of this file, with  or  without  modification,
37       are  permitted  in  any  medium  without royalty provided the copyright
38       notice and this notice are preserved.
39

SEE ALSO

41       The full documentation for gnutls is maintained as  a  Texinfo  manual.
42       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
43       visit
44
45       https://www.gnutls.org/manual/
46
47gnutls                               3.6.8                  dane_state_init(3)
Impressum