Asterisk - The Open Source Telephony Project GIT-master-f36a736
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.

◆ val

const char* val

Definition at line 35 of file dns_test.h.

Referenced by AST_TEST_DEFINE().


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