dane_state_init(3)

dane_state_init3

Api function

Usage

#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

Overview

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.

Returns

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

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

Reporting bugs

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

From gnutls 3.8.13-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.