1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_dnssec_data_chain_new, ldns_dnssec_data_chain_free,
7 ldns_dnssec_data_chain_deep_free, ldns_dnssec_build_data_chain,
8 ldns_dnssec_data_chain_print - ldns_chain creation, destruction and
9 printing
10
11
13 #include <stdint.h>
14 #include <stdbool.h>
15
16 #include <ldns/ldns.h>
17
18 ldns_dnssec_data_chain* ldns_dnssec_data_chain_new(void);
19
20 void ldns_dnssec_data_chain_free(ldns_dnssec_data_chain *chain);
21
22 void ldns_dnssec_data_chain_deep_free(ldns_dnssec_data_chain *chain);
23
24 ldns_dnssec_data_chain* ldns_dnssec_build_data_chain(ldns_resolver
25 *res, const uint16_t qflags, const ldns_rr_list *data_set, const
26 ldns_pkt *pkt, ldns_rr *orig_rr);
27
28 void ldns_dnssec_data_chain_print(FILE *out, const
29 ldns_dnssec_data_chain *chain);
30
32 ldns_dnssec_data_chain_new() Creates a new dnssec_chain structure
33 Returns ldns_dnssec_data_chain *
34
35 ldns_dnssec_data_chain_free() Frees a dnssec_data_chain structure
36
37 *chain: The chain to free
38
39 ldns_dnssec_data_chain_deep_free() Frees a dnssec_data_chain structure,
40 and all data contained therein
41
42 *chain: The dnssec_data_chain to free
43
44 ldns_dnssec_build_data_chain() Build an ldns_dnssec_data_chain, which
45 contains all DNSSEC data that is needed to derive the trust tree
46 later
47
48 The data_set will be cloned
49
50 *res: resolver structure for further needed queries
51 qflags: resolution flags
52 *data_set: The original rrset where the chain ends
53 *pkt: optional, can contain the original packet (and hence the
54 sigs and maybe the key)
55 *orig_rr: The original Resource Record
56
57 Returns the DNSSEC data chain
58
59 ldns_dnssec_data_chain_print() Prints the dnssec_data_chain to the
60 given file stream
61
62 *out: The file stream to print to
63 *chain: The dnssec_data_chain to print
64
66 The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
67 Miek Gieben.
68
69
71 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
72 http://www.nlnetlabs.nl/bugs/index.html
73
74
76 Copyright (c) 2004 - 2006 NLnet Labs.
77
78 Licensed under the BSD License. There is NO warranty; not even for MER‐
79 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
80
81
83 ldns_dnssec_data_chain. And perldoc Net::DNS, RFC1034, RFC1035,
84 RFC4033, RFC4034 and RFC4035.
85
87 This manpage was automatically generated from the ldns source code by
88 use of Doxygen and some perl.
89
90
91
92 30 May 2006 ldns(3)