Type Alias

nw_txt_record_t

A dictionary representing a TXT record in a DNS packet.

Declaration

typedef NSObject<OS_nw_txt_record> *nw_txt_record_t;

Topics

Creating TXT Records

nw_txt_record_create_dictionary

Initializes a TXT record as a dictionary of strings.

nw_txt_record_create_with_bytes

Initializes a TXT record with raw bytes.

nw_txt_record_copy

Performs a deep copy of a TXT record.

nw_txt_record_set_key

Sets a data value in a TXT record dictionary.

nw_txt_record_remove_key

Removes a data value in a TXT record dictionary.

Examining TXT Records

nw_txt_record_is_dictionary

Checks whether a TXT record conforms to a dictionary format.

nw_txt_record_get_key_count

Accesses the number of keys stored in the TXT record dictionary.

nw_txt_record_apply

Iterates through all keys in a TXT record dictionary.

nw_txt_record_applier_t

A block that iterates over values and keys in a TXT record dictionary.

nw_txt_record_access_key

Accesses the value for a specific key in a TXT record dictionary.

nw_txt_record_access_key_t

A block that returns a value in a TXT record dictionary.

nw_txt_record_find_key

Checks the status of value associated with a key in a TXT record dictionary.

nw_txt_record_find_key_t

Status values describing what kind of value is stored in a TXT record dictionary.

nw_txt_record_is_equal

Checks whether two TXT records are equivalent.

nw_txt_record_access_bytes

Accesses the raw bytes contained within a TXT record.

nw_txt_record_access_bytes_t

A block that provides access to the raw bytes of a TXT record.

See Also

Handling TXT Records

nw_browse_result_copy_txt_record_object

Accesses the TXT record associated with a discovered service.