Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_mwi_state Struct Reference

The structure that contains MWI state. More...

#include <mwi.h>

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
struct ast_eid eid
 
int new_msgs
 
int old_msgs
 
struct ast_channel_snapshotsnapshot
 
const ast_string_field uniqueid
 
int urgent_msgs
 

Detailed Description

The structure that contains MWI state.

Since
12

Definition at line 455 of file mwi.h.

Field Documentation

struct ast_eid eid

The EID of the server where this message originated

Definition at line 463 of file mwi.h.

Referenced by xmpp_pubsub_mwi_cb().

int new_msgs

The current number of new messages for this mailbox

Definition at line 459 of file mwi.h.

Referenced by update_registry(), and xmpp_pubsub_mwi_cb().

int old_msgs

The current number of old messages for this mailbox

Definition at line 460 of file mwi.h.

Referenced by update_registry(), and xmpp_pubsub_mwi_cb().

struct ast_channel_snapshot* snapshot

If applicable, a snapshot of the channel that caused this MWI change

Definition at line 462 of file mwi.h.

Referenced by mwi_app_event_cb().

const ast_string_field uniqueid

Unique identifier for this mailbox

Definition at line 458 of file mwi.h.

Referenced by ast_delete_mwi_state_full(), ast_mwi_publish_by_mailbox(), mwi_app_event_cb(), and xmpp_pubsub_mwi_cb().

int urgent_msgs

The current number of urgent messages for this mailbox

Definition at line 464 of file mwi.h.


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