unbound: sldns_struct_rr_descriptor Struct Reference

unbound 0.1

Data Fields
sldns_struct_rr_descriptor Struct Reference

Contains all information about resource record types. More...

`#include <rrdef.h>`

## Data Fields
sldns_rr_type | _type
| Type of the RR that is described here.
const char * | _name
| Textual name of the RR type.
uint8_t | _minimum
| Minimum number of rdata fields in the RRs of this type.
uint8_t | _maximum
| Maximum number of rdata fields in the RRs of this type.
const sldns_rdf_type * | _wireformat
| Wireformat specification for the rr, i.e.
sldns_rdf_type | _variable
| Special rdf types.
sldns_rr_compress | _compress
| Specifies whether compression can be used for dnames in this RR type.
uint8_t | _dname_count
| The number of DNAMEs in the _wireformat string, for parsing.

## Detailed Description

Contains all information about resource record types.

This structure contains, for all rr types, the rdata fields that are defined.

## Field Documentation

## ◆ _wireformat

const sldns_rdf_type* sldns_struct_rr_descriptor::_wireformat

Wireformat specification for the rr, i.e.

the types of rdata fields in their respective order.

Referenced by analyze_rdata(), calc_size(), canonical_compare_byfield(), compress_rdata(), decompress_rr_into_buffer(), rdata_copy(), and sldns_rr_descriptor_field_type().

The documentation for this struct was generated from the following file:

- sldns/rrdef.h