unbound: sldns_file_parse_state Struct Reference

unbound 0.1

Data Fields
sldns_file_parse_state Struct Reference

wire parse state for parsing files More...

`#include <str2wire.h>`

## Data Fields
uint8_t | origin [LDNS_MAX_DOMAINLEN+1]
| the origin domain name, if len!=0.
size_t | origin_len
| length of origin domain name, in bytes.
uint8_t | prev_rr [LDNS_MAX_DOMAINLEN+1]
| the previous domain name, if len!=0.
size_t | prev_rr_len
| length of the previous domain name, in bytes.
uint32_t | default_ttl
| default TTL, this is used if the text does not specify a TTL, host byteorder
int | lineno
| line number information

## Detailed Description

wire parse state for parsing files

## Field Documentation

## ◆ origin

uint8_t sldns_file_parse_state::origin[LDNS_MAX_DOMAINLEN+1]

the origin domain name, if len!=0.

uncompressed wireformat

Referenced by add_rr(), apply_http(), auth_zone_read_zonefile(), get_origin(), http_parse_add_rr(), http_parse_origin(), http_zonefile_syntax_check(), and sldns_fp2wire_rr_buf().

## ◆ origin_len

size_t sldns_file_parse_state::origin_len

length of origin domain name, in bytes.

0 if not set.

Referenced by add_rr(), apply_http(), auth_zone_read_zonefile(), get_origin(), http_parse_add_rr(), http_parse_origin(), http_zonefile_syntax_check(), and sldns_fp2wire_rr_buf().

## ◆ prev_rr

uint8_t sldns_file_parse_state::prev_rr[LDNS_MAX_DOMAINLEN+1]

the previous domain name, if len!=0.

uncompressed wireformat

Referenced by add_rr(), http_parse_add_rr(), http_zonefile_syntax_check(), and sldns_fp2wire_rr_buf().

## ◆ prev_rr_len

size_t sldns_file_parse_state::prev_rr_len

length of the previous domain name, in bytes.

0 if not set.

Referenced by add_rr(), http_parse_add_rr(), http_zonefile_syntax_check(), and sldns_fp2wire_rr_buf().

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

- sldns/str2wire.h