ldns_rr_list_push_rr(3)

ldns_rr_list_push_rr3

Ldns_rr_list manipulation

Usage

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

#include <ldns/ldns.h>

bool ldns_rr_list_cat(ldns_rr_list *left, const ldns_rr_list *right);

bool ldns_rr_list_push_rr(ldns_rr_list *rr_list, const ldns_rr *rr);

ldns_rr* ldns_rr_list_pop_rr(ldns_rr_list *rr_list);

Overview

ldns_rr_list_cat() concatenates two ldns_rr_lists together. This modifies *left (to extend it and add the pointers from *right). .br left: the leftside .br right: the rightside .br Returns a left with right concatenated to it

ldns_rr_list_push_rr() pushes an rr to an rrlist. .br rr_list: the rr_list to push to .br rr: the rr to push .br Returns false on error, otherwise true

ldns_rr_list_pop_rr() pops the last rr from an rrlist. .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.