1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_rr_set_push_rr, ldns_rr_set_pop_rr - push and pop rr on a rrset
7
8
10 #include <stdint.h>
11 #include <stdbool.h>
12
13 #include <ldns/ldns.h>
14
15 bool ldns_rr_set_push_rr(ldns_rr_list *rr_list, ldns_rr *rr);
16
17 ldns_rr* ldns_rr_set_pop_rr(ldns_rr_list *rr_list);
18
20 ldns_rr_set_push_rr() pushes an rr to an rrset (which really are
21 rr_list's).
22 *rr_list: the rrset to push the rr to
23 *rr: the rr to push
24 Returns true if the push succeeded otherwise false
25
26 ldns_rr_set_pop_rr() pops the last rr from an rrset. This function is
27 there only for the symmetry.
28 rr_list: the rr_list to pop from
29 Returns NULL if nothing to pop. Otherwise the popped RR
30
31
33 The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
34 Miek Gieben.
35
36
38 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
39 http://www.nlnetlabs.nl/bugs/index.html
40
41
43 Copyright (c) 2004 - 2006 NLnet Labs.
44
45 Licensed under the BSD License. There is NO warranty; not even for MER‐
46 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
47
48
50 ldns_rr, ldns_rr_list. And perldoc Net::DNS, RFC1034, RFC1035,
51 RFC4033, RFC4034 and RFC4035.
52
54 This manpage was automatically generated from the ldns source code by
55 use of Doxygen and some perl.
56
57
58
59 30 May 2006 ldns(3)