1ldns(25 Apr 2005)                                            ldns(25 Apr 2005)
2
3
4

NAME

6       ldns_rr_descriptor,    ldns_rr_descript,    ldns_rr_descriptor_minimum,
7       ldns_rr_descriptor_maximum, ldns_rr_descriptor_field_type
8
9

SYNOPSIS

11       #ifdef HAVE_STDINT_H
12       #include <stdint.h>
13       #endif /* HAVE_STDINT_H */
14
15       #ifdef HAVE_STDBOOL_H
16       #include <stdbool.h>
17       #endif /* HAVE_STDBOOL_H */
18
19       #include <ldns/ldns.h>
20
21       const ldns_rr_descriptor* ldns_rr_descript(uint16_t type);
22
23       size_t  ldns_rr_descriptor_minimum(const  ldns_rr_descriptor  *descrip‐
24       tor);
25
26       size_t  ldns_rr_descriptor_maximum(const  ldns_rr_descriptor  *descrip‐
27       tor);
28
29       ldns_rdf_type  ldns_rr_descriptor_field_type(const   ldns_rr_descriptor
30       *descriptor, size_t field);
31

DESCRIPTION

33       ldns_rr_descriptor
34              struct to hold the whole set of rd_fields.
35
36              How does the whole rdata_field list look. This is called
37              the rdata in dns speak.
38              struct ldns_struct_rr_descriptor
39              {
40                   RR type:
41                   uint16_t    _type;
42                   Textual name.:
43                   const char *_name;
44                   Minimum number of RDATA FIELDs.:
45                   uint8_t     _minimum;
46                   Maximum number of RDATA FIELDs.:
47                   uint8_t     _maximum;
48                   wireformat specification for the rr:
49                   const ldns_rdf_type *_wireformat;
50                   Special rdf types:
51                   ldns_rdf_type _variable;
52                   Specifies whether compression can be used:
53                   ldns_rr_compress _compress;
54              };
55              typedef struct ldns_struct_rr_descriptor ldns_rr_descriptor;
56
57       ldns_rr_descript() returns the resource record descriptor for the given
58              rr type.
59
60              type: the type value of the rr type
61              Returns the ldns_rr_descriptor for this type
62
63       ldns_rr_descriptor_minimum() returns the minimum number of rdata fields
64              of the rr type this descriptor describes.
65
66              descriptor: for an rr type
67              Returns the minimum number of rdata fields
68
69       ldns_rr_descriptor_maximum() returns the maximum number of rdata fields
70              of the rr type this descriptor describes.
71
72              descriptor: for an rr type
73              Returns the maximum number of rdata fields
74
75       ldns_rr_descriptor_field_type() returns the  rdf  type  for  the  given
76              rdata field number of the rr type for the given descriptor.
77
78              descriptor: for an rr type
79              field: the field number
80              Returns the rdf type for the field
81

AUTHOR

83       The  ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
84       Rozendaal and Miek Gieben.
85
86

REPORTING BUGS

88       Please report bugs to ldns-team@nlnetlabs.nl  or  in  our  Bugzilla  at
89       http://www.nlnetlabs.nl/bugs/index.html
90
91       Be sure to select ldns as the product.
92
93
95       Copyright  (c)  2004, 2005 NLnet Labs.  Licensed under the BSD License.
96       There is NO warranty; not even for MERCHANTABILITY  or  FITNESS  FOR  A
97       PARTICULAR PURPOSE.
98
99

SEE ALSO

101       ldns_rr,  ldns_rdf.   And  perldoc Net::DNS, RFC1043, RFC1035, RFC4033,
102       RFC4034  and RFC4035.
103

REMARKS

105       This manpage was automaticly generated from the ldns source code by use
106       of Doxygen and some perl.
107
108
109
110                                                             ldns(25 Apr 2005)
Impressum