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 | |
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(), http_zonefile_syntax_check(), and sldns_fp2wire_rr_buf().
| 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().
| 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().
| 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().