1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_zone_sort, ldns_zone_glue_rr_list - sort a zone and get the glue
7 records
8
9
11 #include <stdint.h>
12 #include <stdbool.h>
13
14 #include <ldns/ldns.h>
15
16 void ldns_zone_sort(ldns_zone *zone);
17
18 ldns_rr_list* ldns_zone_glue_rr_list(const ldns_zone *z);
19
21 ldns_zone_sort() Sort the rrs in a zone, with the current impl. this is
22 slow
23 zone: the zone to sort
24
25 ldns_zone_glue_rr_list() Retrieve all resource records from the zone
26 that are glue records. The resulting list does are pointer ref‐
27 erences to the zone's data.
28
29 Due to the current zone implementation (as a list of rr's), this
30 function is extremely slow. Another (probably better) way to do
31 this is to use an ldns_dnssec_zone structure and the
32 ldns_dnssec_mark_and_get_glue() function.
33
34 z: the zone to look for glue
35 Returns the rr_list with the glue
36
38 The ldns team at NLnet Labs.
39
40
42 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
43 http://www.nlnetlabs.nl/bugs/index.html
44
45
47 Copyright (c) 2004 - 2006 NLnet Labs.
48
49 Licensed under the BSD License. There is NO warranty; not even for MER‐
50 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
51
52
54 ldns_zone. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034
55 and RFC4035.
56
58 This manpage was automatically generated from the ldns source code.
59
60
61
62 30 May 2006 ldns(3)