ldns_dnssec_rrs_new(3)

ldns_dnssec_rrs_new3

Functions for ldns_dnssecrrs

Usage

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

#include <ldns/ldns.h>

ldns_dnssec_rrs_new();

void ldns_dnssec_rrs_free(ldns_dnssec_rrs *rrs);

ldns_status ldns_dnssec_rrs_add_rr(ldns_dnssec_rrs *rrs, ldns_rr *rr);

void ldns_dnssec_rrs_print(FILE *out, const ldns_dnssec_rrs *rrs);

Overview

ldns_dnssec_rrs_new()

ldns_dnssec_rrs_free() Frees the list of rrs, but *not* the individual ldns_rr records contained in the list

.br rrs: the data structure to free

ldns_dnssec_rrs_add_rr() Adds an RR to the list of RRs. The list will remain ordered. If an equal RR already exists, this RR will not be added.

.br rrs: the list to add to .br rr: the RR to add .br Returns LDNS_STATUS_OK on success and LDNS_STATUS_EQUAL_ERR when and RR with equal ownername, class, type and rdata already exists.

ldns_dnssec_rrs_print() Prints the given rrs to the file descriptor

.br out: the file descriptor to print to .br rrs: the list of RRs to print

Remarks

This manpage was automatically generated from the ldns source code.

Releases

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

  1. 5.0
  2. 6.0–7
  3. 8
  4. 9–10
  5. 11–12
  6. 13
  7. 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.