ast_state_cb Struct Reference

ast_state_cb: An extension state notify register item More...

Collaboration diagram for ast_state_cb:

Collaboration graph
[legend]

Data Fields

ast_state_cb_type callback
ast_state_cb_type change_cb
void * data
ast_state_cb_destroy_type destroy_cb
struct {
   struct ast_state_cb *   next
entry
int extended
int id

Detailed Description

ast_state_cb: An extension state notify register item

Definition at line 1006 of file pbx.c.


Field Documentation

Definition at line 212 of file conf2ael.c.

void * data

Arbitrary data passed for callbacks.

Definition at line 1010 of file pbx.c.

Referenced by ast_add_hint(), ast_merge_contexts_and_delete(), destroy_hint(), destroy_state_cb(), extension_state_add_destroy(), and presence_state_cb().

Callback when destroyed so any resources given by the registerer can be freed.

Definition at line 1016 of file pbx.c.

Referenced by destroy_state_cb(), and extension_state_add_destroy().

struct { ... } entry

Note:
Only used by ast_merge_contexts_and_delete

int extended

Flag if this callback is an extended callback containing detailed device status

Definition at line 1012 of file pbx.c.

Referenced by extension_state_add_destroy().

int id

Watcher ID returned when registered.

Definition at line 1008 of file pbx.c.

Referenced by destroy_state_cb(), extension_state_add_destroy(), and hint_id_cmp().

struct ast_state_cb * next [read]

Definition at line 1018 of file pbx.c.

Referenced by ast_remove_hint().


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

Generated on Thu Apr 16 06:35:41 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6