ldns_key_free(3)

ldns_key_free3

Free a ldns_key

Usage

#include <stdint.h>
#include <stdbool.h>

#include <ldns/ldns.h>

void ldns_key_free(ldns_key *key);

void ldns_key_deep_free(ldns_key *key);

void ldns_key_list_free(ldns_key_list *key_list);

Overview

ldns_key_free() frees a key structure, but not its internal data structures

.br key: the key object to free

ldns_key_deep_free() frees a key structure and all its internal data structures, except the data set by ldns_key_set_external_key()

.br key: the key object to free

ldns_key_list_free() Frees a key list structure .br key_list: the key list object to free

Remarks

This manpage was automatically generated from the ldns source code.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0–8
  3. 9–10
  4. 11–12
  5. 13–Arch

Author

The ldns team at NLnet Labs.

Reporting bugs

Please report bugs to [email protected] or on GitHub at https://github.com/NLnetLabs/ldns/issues

From ldns 1.9.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.