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

The structure that contains device state. More...

#include <devicestate.h>

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

enum ast_devstate_cache cachable

Flag designating the cacheability of this device state

Definition at line 250 of file devicestate.h.

Referenced by devstate_to_event(), and xmpp_pubsub_devstate_cb().

const char* device

The name of the device

Definition at line 240 of file devicestate.h.

Referenced by device_state_cb(), devstate_to_event(), and xmpp_pubsub_devstate_cb().

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 device_state_cb(), devstate_to_event(), and xmpp_pubsub_devstate_cb().

The state of the device

Definition at line 248 of file devicestate.h.

Referenced by ast_devstate_aggregate_add(), device_state_cb(), devstate_to_event(), and xmpp_pubsub_devstate_cb().

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.


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