Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_dns_test_string Struct Reference

Representation of a string in DNS. More...

#include <dns_test.h>

Data Fields

uint8_t len
 
const char * val
 

Detailed Description

Representation of a string in DNS.

In DNS, a string has a byte to indicate the length, followed by a series of bytes representing the string. DNS does not NULL-terminate its strings. However, the string stored in this structure is expected to be NULL- terminated.

Definition at line 33 of file dns_test.h.

Field Documentation

◆ len

uint8_t len

Definition at line 34 of file dns_test.h.

Referenced by ast_dns_test_write_domain().

◆ val

const char* val

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