Asterisk - The Open Source Telephony Project GIT-master-5467495
Loading...
Searching...
No Matches
Data Fields
eventqent Struct Reference

An AMI event message. More...

Collaboration diagram for eventqent:
Collaboration graph
[legend]

Data Fields

int category
 Category this event belongs to.
 
int event_name_hash
 Hash of the name of the event.
 
struct ast_strmessage
 The contents of the AMI event message.
 

Detailed Description

An AMI event message.

Events are created as reference counted immutable objects. Each active session that should receive the event is given a pointer to the event with a reference. Once the reference reaches 0 the event is destroyed. These events are stored in a vector on each session so that each session does not need to allocate a linked list wrapper for each event. Instead the vector grows as needed with excess each time to reduce the number of overall reallocations.

Definition at line 140 of file manager.c.

Field Documentation

◆ category

int category

Category this event belongs to.

Definition at line 142 of file manager.c.

Referenced by action_waitevent_http(), action_waitevent_tcp(), and process_events().

◆ event_name_hash

int event_name_hash

Hash of the name of the event.

Definition at line 144 of file manager.c.

Referenced by filter_cmp_fn(), and should_send_event().

◆ message

struct ast_str* message

The contents of the AMI event message.

Definition at line 146 of file manager.c.

Referenced by action_waitevent_http(), action_waitevent_tcp(), filter_cmp_fn(), process_events(), and should_send_event().


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