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.