ldns_rr_pop_rdf(3)

ldns_rr_pop_rdf3

Push and pop rdata fields

Usage

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

#include <ldns/ldns.h>

bool ldns_rr_push_rdf(ldns_rr *rr, const ldns_rdf *f);

ldns_rdf* ldns_rr_pop_rdf(ldns_rr *rr);

Overview

ldns_rr_push_rdf() sets rd_field member, it will be placed in the next available spot. .br *rr: rr to operate on .br *f: the data field member to set .br Returns bool

ldns_rr_pop_rdf() removes a rd_field member, it will be popped from the last position. .br *rr: rr to operate on .br Returns rdf which was popped (null if nothing)

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-07. Parsed by carta from the page's man source.