| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
ast_state_cb: An extension state notify register item More...

| 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 | |
ast_state_cb: An extension state notify register item
| ast_state_cb_type callback | 
| ast_state_cb_type change_cb | 
Callback when state changes.
Definition at line 331 of file pbx.c.
Referenced by ast_add_hint(), ast_extension_state_del(), ast_merge_contexts_and_delete(), device_state_cb(), device_state_notify_callbacks(), extension_state_add_destroy(), presence_state_notify_callbacks(), and statecbs_cmp().
| void * data | 
Arbitrary data passed for callbacks.
Definition at line 327 of file pbx.c.
Referenced by ast_add_hint(), ast_merge_contexts_and_delete(), destroy_state_cb(), device_state_cb(), device_state_notify_callbacks(), extension_state_add_destroy(), and presence_state_notify_callbacks().
| ast_state_cb_destroy_type destroy_cb | 
Callback when destroyed so any resources given by the registerer can be freed.
Definition at line 333 of file pbx.c.
Referenced by destroy_state_cb(), and extension_state_add_destroy().
| struct { ... } entry | 
| int extended | 
Flag if this callback is an extended callback containing detailed device status
Definition at line 329 of file pbx.c.
Referenced by device_state_notify_callbacks(), and extension_state_add_destroy().
| int id | 
Watcher ID returned when registered.
Definition at line 325 of file pbx.c.
Referenced by Section::__cmp__(), Section::__eq__(), Section::__ge__(), Section::__gt__(), Section::__le__(), Section::__lt__(), destroy_state_cb(), extension_state_add_destroy(), hint_id_cmp(), and print_statecbs_key().
| struct ast_state_cb * next | 
Definition at line 335 of file pbx.c.
Referenced by ast_remove_hint().