ldns_rr_set_push_rr(3)

ldns_rr_set_push_rr3

Push and pop rr on a rrset

Usage

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

#include <ldns/ldns.h>

bool ldns_rr_set_push_rr(ldns_rr_list *rr_list, ldns_rr *rr);

ldns_rr* ldns_rr_set_pop_rr(ldns_rr_list *rr_list);

Overview

ldns_rr_set_push_rr() pushes an rr to an rrset (which really are rr_list's). .br *rr_list: the rrset to push the rr to .br *rr: the rr to push .br Returns true if the push succeeded otherwise false

ldns_rr_set_pop_rr() pops the last rr from an rrset. This function is there only for the symmetry. .br rr_list: the rr_list to pop from .br Returns NULL if nothing to pop. Otherwise the popped RR

Remarks

This manpage was automatically generated from the ldns source code.

Releases

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

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