1ldns(3)                    Library Functions Manual                    ldns(3)
2
3
4

NAME

6       ldns_dnssec_zone, ldns_dnssec_name, ldns_dnssec_rrs, ldns_dnssec_rrsets
7       - data structures
8
9

SYNOPSIS

11       #include <stdint.h>
12       #include <stdbool.h>
13
14       #include <ldns/ldns.h>
15
16        ldns_dnssec_zone();
17

DESCRIPTION

19       ldns_dnssec_zone()
20
21       ldns_dnssec_name
22              Structure containing all resource records for a domain name
23              Including the derived NSEC3, if present
24              struct ldns_struct_dnssec_name
25              {
26                   /**
27                    * pointer to a dname containing the name.
28                    * Usually points to the owner name of the first RR of the
29              first RRset
30                    */
31                   ldns_rdf *name;
32                   /**
33                    * Usually, the name is a pointer to the owner name of the
34              first rr for
35                    * this name, but sometimes there is no actual data to
36              point to,
37                    * for instance in
38                    * names representing empty nonterminals. If so, set
39              alloced to true to
40                    * indicate that this data must also be freed when the name
41              is freed
42                    */
43                   bool name_alloced;
44                   /**
45                    * The rrsets for this name
46                    */
47                   ldns_dnssec_rrsets *rrsets;
48                   /**
49                    * NSEC pointing to the next name (or NSEC3 pointing to the
50              next NSEC3)
51                    */
52                   ldns_rr *nsec;
53                   /**
54                    * signatures for the NSEC record
55                    */
56                   ldns_dnssec_rrs *nsec_signatures;
57                   /**
58                    * Unlike what the name is_glue suggests, this field is set
59              to true by
60                    * ldns_dnssec_zone_mark_glue() or
61              ldns_dnssec_zone_mark_and_get_glue()
62                    * when the name, this dnssec_name struct represents, is
63              occluded.
64                    * Names that contain other occluded rrsets and records
65              with glue on
66                    * the delegation point will NOT have this bool set to
67              true.
68                    * This field should NOT be read directly, but only via the
69                    * ldns_dnssec_name_is_glue() function!
70                    */
71                   bool is_glue;
72                   /**
73                    * pointer to store the hashed name (only used when in an
74              NSEC3 zone
75                    */
76                   ldns_rdf *hashed_name;
77              };
78
79              typedef struct ldns_struct_dnssec_name ldns_dnssec_name;
80
81       ldns_dnssec_rrs
82              Singly linked list of rrs
83              struct ldns_struct_dnssec_rrs
84              {
85                   ldns_rr *rr;
86                   ldns_dnssec_rrs *next;
87              };
88
89              typedef struct ldns_struct_dnssec_rrs ldns_dnssec_rrs;
90
91       ldns_dnssec_rrsets
92              Singly linked list of RRsets
93              struct ldns_struct_dnssec_rrsets
94              {
95                   ldns_dnssec_rrs *rrs;
96                   ldns_rr_type type;
97                   ldns_dnssec_rrs *signatures;
98                   ldns_dnssec_rrsets *next;
99              };
100
101              typedef struct ldns_struct_dnssec_rrsets ldns_dnssec_rrsets;
102

AUTHOR

104       The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
105       Miek Gieben.
106
107

REPORTING BUGS

109       Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
110       http://www.nlnetlabs.nl/bugs/index.html
111
112
114       Copyright (c) 2004 - 2006 NLnet Labs.
115
116       Licensed under the BSD License. There is NO warranty; not even for MER‐
117       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
118
119

SEE ALSO

121       ldns_dnssec_zone_new, ldns_dnssec_name_new, ldns_dnssec_rrs_new,
122       ldns_dnssec_rrsets_new.  And perldoc Net::DNS, RFC1034, RFC1035,
123       RFC4033, RFC4034  and RFC4035.
124

REMARKS

126       This manpage was automatically generated from the ldns source code by
127       use of Doxygen and some perl.
128
129
130
131                                  30 May 2006                          ldns(3)
Impressum