1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_rr_rdf, ldns_rr_owner, ldns_rr_rd_count, ldns_rr_ttl,
7 ldns_rr_get_class - access rdata fields on ldns_rr
8
9
11 #include <stdint.h>
12 #include <stdbool.h>
13
14 #include <ldns/ldns.h>
15
16 ldns_rdf* ldns_rr_rdf(const ldns_rr *rr, size_t nr);
17
18 ldns_rdf* ldns_rr_owner(const ldns_rr *rr);
19
20 size_t ldns_rr_rd_count(const ldns_rr *rr);
21
22 uint32_t ldns_rr_ttl(const ldns_rr *rr);
23
24 ldns_rr_class ldns_rr_get_class(const ldns_rr *rr);
25
27 ldns_rr_rdf() returns the rdata field member counter.
28 *rr: rr to operate on
29 nr: the number of the rdf to return
30 Returns ldns_rdf *
31
32 ldns_rr_owner() returns the owner name of an rr structure.
33 *rr: rr to operate on
34 Returns ldns_rdf *
35
36 ldns_rr_rd_count() returns the rd_count of an rr structure.
37 *rr: the rr to read from
38 Returns the rd count of the rr
39
40 ldns_rr_ttl() returns the ttl of an rr structure.
41 *rr: the rr to read from
42 Returns the ttl of the rr
43
44 ldns_rr_get_class() returns the class of the rr.
45 *rr: the rr to read from
46 Returns the class of the rr
47
49 The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
50 Miek Gieben.
51
52
54 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
55 http://www.nlnetlabs.nl/bugs/index.html
56
57
59 Copyright (c) 2004 - 2006 NLnet Labs.
60
61 Licensed under the BSD License. There is NO warranty; not even for MER‐
62 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
63
64
66 ldns_rr, ldns_rr_list. And perldoc Net::DNS, RFC1034, RFC1035,
67 RFC4033, RFC4034 and RFC4035.
68
70 This manpage was automatically generated from the ldns source code by
71 use of Doxygen and some perl.
72
73
74
75 30 May 2006 ldns(3)