1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_rr_dnskey_flags, ldns_rr_dnskey_set_flags, ldns_rr_dnskey_proto‐
7 col, ldns_rr_dnskey_set_protocol, ldns_rr_dnskey_algorithm,
8 ldns_rr_dnskey_set_algorithm, ldns_rr_dnskey_key,
9 ldns_rr_dnskey_set_key - get and set DNSKEY RR rdata fields
10
11
13 #include <stdint.h>
14 #include <stdbool.h>
15
16 #include <ldns/ldns.h>
17
18 ldns_rdf* ldns_rr_dnskey_flags(const ldns_rr *r);
19
20 bool ldns_rr_dnskey_set_flags(ldns_rr *r, ldns_rdf *f);
21
22 ldns_rdf* ldns_rr_dnskey_protocol(const ldns_rr *r);
23
24 bool ldns_rr_dnskey_set_protocol(ldns_rr *r, ldns_rdf *f);
25
26 ldns_rdf* ldns_rr_dnskey_algorithm(const ldns_rr *r);
27
28 bool ldns_rr_dnskey_set_algorithm(ldns_rr *r, ldns_rdf *f);
29
30 ldns_rdf* ldns_rr_dnskey_key(const ldns_rr *r);
31
32 bool ldns_rr_dnskey_set_key(ldns_rr *r, ldns_rdf *f);
33
35 ldns_rr_dnskey_flags() returns the flags of a LDNS_RR_TYPE_DNSKEY rr
36 r: the resource record
37 Returns a ldns_rdf* with the flags or NULL on failure
38
39 ldns_rr_dnskey_set_flags() sets the flags of a LDNS_RR_TYPE_DNSKEY rr
40 r: the rr to use
41 f: the flags to set
42 Returns true on success, false otherwise
43
44 ldns_rr_dnskey_protocol() returns the protocol of a LDNS_RR_TYPE_DNSKEY
45 rr
46 r: the resource record
47 Returns a ldns_rdf* with the protocol or NULL on failure
48
49 ldns_rr_dnskey_set_protocol() sets the protocol of a
50 LDNS_RR_TYPE_DNSKEY rr
51 r: the rr to use
52 f: the protocol to set
53 Returns true on success, false otherwise
54
55 ldns_rr_dnskey_algorithm() returns the algorithm of a
56 LDNS_RR_TYPE_DNSKEY rr
57 r: the resource record
58 Returns a ldns_rdf* with the algorithm or NULL on failure
59
60 ldns_rr_dnskey_set_algorithm() sets the algorithm of a
61 LDNS_RR_TYPE_DNSKEY rr
62 r: the rr to use
63 f: the algorithm to set
64 Returns true on success, false otherwise
65
66 ldns_rr_dnskey_key() returns the key data of a LDNS_RR_TYPE_DNSKEY rr
67 r: the resource record
68 Returns a ldns_rdf* with the key data or NULL on failure
69
70 ldns_rr_dnskey_set_key() sets the key data of a LDNS_RR_TYPE_DNSKEY rr
71 r: the rr to use
72 f: the key data to set
73 Returns true on success, false otherwise
74
76 The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
77 Miek Gieben.
78
79
81 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
82 http://www.nlnetlabs.nl/bugs/index.html
83
84
86 Copyright (c) 2004 - 2006 NLnet Labs.
87
88 Licensed under the BSD License. There is NO warranty; not even for MER‐
89 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
90
91
93 ldns_rr. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and
94 RFC4035.
95
97 This manpage was automatically generated from the ldns source code by
98 use of Doxygen and some perl.
99
100
101
102 30 May 2006 ldns(3)