Asterisk - The Open Source Telephony Project
18.5.0
|
The structure that contains device state. More...
#include <devicestate.h>
Data Fields | |
enum ast_devstate_cache | cachable |
const char * | device |
const struct ast_eid * | eid |
The EID of the server where this message originated. More... | |
enum ast_device_state | state |
struct ast_eid | stuff [0] |
enum ast_devstate_cache cachable |
Flag designating the cachability of this device state
Definition at line 252 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().
const char* device |
The name of the device
Definition at line 242 of file devicestate.h.
Referenced by asterisk_publisher_devstate_cb(), consumer_exec(), device_state_aggregate_calc(), device_state_aggregate_publish(), device_state_alloc(), device_state_cb(), device_state_get_id(), devstate_change_cb(), devstate_to_ami(), devstate_to_event(), remove_device_states_cb(), and xmpp_pubsub_devstate_cb().
const struct ast_eid* eid |
The EID of the server where this message originated.
Definition at line 248 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().
enum ast_device_state state |
The state of the device
Definition at line 250 of file devicestate.h.
Referenced by AST_TEST_DEFINE(), asterisk_publisher_devstate_cb(), consumer_exec(), device_state_aggregate_calc(), device_state_alloc(), device_state_cb(), devstate_cached(), devstate_change_cb(), devstate_to_ami(), devstate_to_event(), generic_agent_devstate_cb(), 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 254 of file devicestate.h.
Referenced by device_state_alloc().