Mon Jun 18 2012 03:58:27

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


Field Documentation

void* data

Arbitrary data passed for callbacks.

Definition at line 924 of file pbx.c.

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

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

Definition at line 928 of file pbx.c.

Referenced by destroy_state_cb(), and ast_extension_state_add_destroy().

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 destroy_state_cb(), ast_extension_state_add_destroy(), 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: