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

Structure used to transport a message through the frame core. More...

Data Fields

int attribute_value_offsets [__AST_MSG_DATA_ATTR_LAST]
 
char buf [0]
 
size_t length
 
enum ast_msg_data_source_type source
 

Detailed Description

Structure used to transport a message through the frame core.

Since
13.22.0
15.5.0

Definition at line 1406 of file message.c.

Field Documentation

◆ attribute_value_offsets

int attribute_value_offsets[__AST_MSG_DATA_ATTR_LAST]

These are indices into the buffer where teh attribute starts

Definition at line 1411 of file message.c.

Referenced by ast_msg_data_alloc(), and ast_msg_data_get_attribute().

◆ buf

char buf[0]

The buffer containing the NULL separated attributes

Definition at line 1413 of file message.c.

Referenced by ast_msg_data_alloc(), and ast_msg_data_get_attribute().

◆ length

size_t length

The length of this structure plus the actual length of the allocated buffer

Definition at line 1408 of file message.c.

Referenced by ast_msg_data_alloc(), ast_msg_data_dup(), ast_msg_data_get_length(), and ast_msg_data_queue_frame().

◆ source

Definition at line 1409 of file message.c.

Referenced by ast_msg_data_alloc(), and ast_msg_data_get_source_type().


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