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

An event. More...

Data Fields

uint16_t event_len:16
 
unsigned char payload [0]
 
enum ast_event_type type:16
 

Detailed Description

An event.

An ast_event consists of an event header (this structure), and zero or more information elements defined by ast_event_ie.

Note
The format of this structure is important. Since these events may be sent directly over a network, changing this structure will break compatibility with older versions. However, at this point, this code has not made it into a release, so it is still fair game for change.

Definition at line 81 of file event.c.

Field Documentation

◆ event_len

uint16_t event_len

Total length of the event

Definition at line 85 of file event.c.

Referenced by ao2_dup_event(), ast_event_append_ie_raw(), and ast_event_get_size().

◆ payload

unsigned char payload[0]

The data payload of the event, made up of information elements

Definition at line 87 of file event.c.

◆ type

enum ast_event_type type

Event type

Definition at line 83 of file event.c.

Referenced by ast_event_get_type(), and Property::load().


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