1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_zone_rr_count - get ldns_zone size
7
8
10 #include <stdint.h>
11 #include <stdbool.h>
12
13 #include <ldns/ldns.h>
14
15 size_t ldns_zone_rr_count(const ldns_zone *z);
16
18 ldns_zone_rr_count() Returns the number of resource records in the
19 zone, NOT counting the SOA record
20 z: the zone to read from
21 Returns the number of rr's in the zone
22
24 The ldns team at NLnet Labs.
25
26
28 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
29 http://www.nlnetlabs.nl/bugs/index.html
30
31
33 Copyright (c) 2004 - 2006 NLnet Labs.
34
35 Licensed under the BSD License. There is NO warranty; not even for MER‐
36 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
37
38
40 ldns_zone. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034
41 and RFC4035.
42
44 This manpage was automatically generated from the ldns source code.
45
46
47
48 30 May 2006 ldns(3)