dane_state_init(3) API function

SYNOPSIS

#include <gnutls/dane.h>

int dane_state_init(dane_state_t * s, unsigned int flags);

ARGUMENTS

dane_state_t * s
The structure to be initialized
unsigned int flags
flags from the dane_state_flags enumeration

DESCRIPTION

This function will initialize a DANE query structure.

RETURNS

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

REPORTING BUGS

Report bugs to <[email protected]>.
Home page: http://www.gnutls.org

COPYRIGHT

Copyright © 2001-2016 Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.