Mon Mar 12 2012 21:47:52

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 id

Detailed Description

ast_state_cb: An extension state notify register item

Definition at line 920 of file pbx.c.


Field Documentation

void* data

Arbitrary data passed for callbacks.

Definition at line 924 of file pbx.c.

Referenced by ast_extension_state_add_destroy(), ast_merge_contexts_and_delete(), destroy_hint(), destroy_state_cb(), and handle_statechange().

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

Definition at line 928 of file pbx.c.

Referenced by ast_extension_state_add_destroy(), and destroy_state_cb().

struct { ... } entry
Note:
Only used by ast_merge_contexts_and_delete
int id

Watcher ID returned when registered.

Definition at line 922 of file pbx.c.

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

struct ast_state_cb* next

Definition at line 930 of file pbx.c.


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