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
8

SYNOPSIS

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

DESCRIPTION

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

AUTHOR

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

REPORTING BUGS

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

SEE ALSO

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

REMARKS

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