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.
34
35
37 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
38 http://www.nlnetlabs.nl/bugs/index.html
39
40
42 Copyright (c) 2004 - 2006 NLnet Labs.
43
44 Licensed under the BSD License. There is NO warranty; not even for MER‐
45 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
46
47
49 ldns_rr, ldns_rr_list. And perldoc Net::DNS, RFC1034, RFC1035,
50 RFC4033, RFC4034 and RFC4035.
51
53 This manpage was automatically generated from the ldns source code.
54
55
56
57 30 May 2006 ldns(3)