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. More... | |
size_t | origin_len |
length of origin domain name, in bytes. More... | |
uint8_t | prev_rr [LDNS_MAX_DOMAINLEN+1] |
the previous domain name, if len!=0. More... | |
size_t | prev_rr_len |
length of the previous domain name, in bytes. More... | |
uint32_t | default_ttl |
default TTL, this is used if the text does not specify a TTL, host byteorder | |
int | lineno |
line number information | |
wire parse state for parsing files
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(), and http_zonefile_syntax_check().
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(), and http_zonefile_syntax_check().
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(), and http_zonefile_syntax_check().
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(), and http_zonefile_syntax_check().