Asterisk - The Open Source Telephony Project GIT-master-d856a3e
Data Fields
ast_device_state_message Struct Reference

The structure that contains device state. More...

#include <devicestate.h>

Collaboration diagram for ast_device_state_message:
Collaboration graph
[legend]

Data Fields

enum ast_devstate_cache cachable
 
const char * device
 
const struct ast_eideid
 The EID of the server where this message originated. More...
 
enum ast_device_state state
 
struct ast_eid stuff [0]
 

Detailed Description

The structure that contains device state.

Since
12

Definition at line 238 of file devicestate.h.

Field Documentation

◆ cachable

enum ast_devstate_cache cachable

Flag designating the cacheability of this device state

Definition at line 250 of file devicestate.h.

Referenced by asterisk_publisher_devstate_cb(), device_state_alloc(), device_state_get_id(), devstate_change_cb(), devstate_to_event(), and xmpp_pubsub_devstate_cb().

◆ device

const char* device

◆ eid

const struct ast_eid* eid

The EID of the server where this message originated.

Note
A NULL EID means aggregate state.

Definition at line 246 of file devicestate.h.

Referenced by asterisk_publisher_devstate_cb(), consumer_exec(), device_state_alloc(), device_state_cb(), devstate_change_cb(), devstate_to_ami(), devstate_to_event(), generic_agent_devstate_cb(), generic_monitor_devstate_cb(), and xmpp_pubsub_devstate_cb().

◆ state

◆ stuff

struct ast_eid stuff[0]

The device and eid data is stuffed here when the struct is allocated.

Definition at line 252 of file devicestate.h.

Referenced by device_state_alloc().


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