diff options
Diffstat (limited to 'doc/functions/dane_state_init')
-rw-r--r-- | doc/functions/dane_state_init | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/functions/dane_state_init b/doc/functions/dane_state_init new file mode 100644 index 0000000..67f1f0e --- /dev/null +++ b/doc/functions/dane_state_init @@ -0,0 +1,16 @@ + + + + +@deftypefun {int} {dane_state_init} (dane_state_t * @var{s}, unsigned int @var{flags}) +@var{s}: The structure to be initialized + +@var{flags}: flags from the @code{dane_state_flags} enumeration + +This function will initialize the backend resolver. It is +intended to be used in scenarios where multiple resolvings +occur, to optimize against multiple re-initializations. + +@strong{Returns:} On success, @code{DANE_E_SUCCESS} (0) is returned, otherwise a +negative error value. +@end deftypefun |