Sat Apr 26 2014 22:03:24

Asterisk developer's documentation


ast_state_cb Struct Reference

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

Collaboration diagram for ast_state_cb:

Data Fields

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 948 of file pbx.c.


Field Documentation

void* data

Arbitrary data passed for callbacks.

Definition at line 952 of file pbx.c.

Referenced by ast_merge_contexts_and_delete(), destroy_hint(), destroy_state_cb(), extension_state_add_destroy(), and handle_presencechange().

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

Definition at line 958 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 954 of file pbx.c.

Referenced by extension_state_add_destroy().

int id

Watcher ID returned when registered.

Definition at line 950 of file pbx.c.

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

struct ast_state_cb* next

Definition at line 960 of file pbx.c.


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