Wed Oct 28 11:46:40 2009

Asterisk developer's documentation


ast_event Struct Reference

An event. More...


Data Fields

uint16_t event_len:16
unsigned char payload [0]


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 66 of file event.c.


Field Documentation

uint16_t event_len

Event type

Total length of the event

Definition at line 68 of file event.c.

Referenced by ast_event_dup(), and ast_event_iterator_init().

unsigned char payload[0]

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

Definition at line 72 of file event.c.


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

Generated on Wed Oct 28 11:46:40 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6