GNUnet 0.21.1
GNUNET_DNSPARSER_MxRecord Struct Reference

Information from MX records (RFC 1035). More...

#include <gnunet_dnsparser_lib.h>

Data Fields

uint16_t preference
 Preference for this entry (lower value is higher preference). More...
 
char * mxhost
 Name of the mail server. More...
 

Detailed Description

Information from MX records (RFC 1035).

Definition at line 128 of file gnunet_dnsparser_lib.h.

Field Documentation

◆ preference

uint16_t GNUNET_DNSPARSER_MxRecord::preference

Preference for this entry (lower value is higher preference).

Definition at line 133 of file gnunet_dnsparser_lib.h.

Referenced by dns_string_to_value(), dns_value_to_string(), GNUNET_DNSPARSER_builder_add_mx(), GNUNET_DNSPARSER_parse_mx(), and process_record().

◆ mxhost

char* GNUNET_DNSPARSER_MxRecord::mxhost

Name of the mail server.

In UTF-8 format. The library will convert from and to DNS-IDNA as necessary. Use GNUNET_DNSPARSER_check_label() to test if an individual label is well-formed. If a given name is not well-formed, creating the DNS packet will fail.

Definition at line 142 of file gnunet_dnsparser_lib.h.

Referenced by dns_string_to_value(), dns_value_to_string(), GNUNET_DNSPARSER_builder_add_mx(), GNUNET_DNSPARSER_duplicate_mx_record(), GNUNET_DNSPARSER_free_mx(), GNUNET_DNSPARSER_parse_mx(), handle_gns_resolution_result(), and process_record().


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