Thu Apr 16 06:48:56 2015

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:

Collaboration graph
[legend]

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


Field Documentation

void* data

Arbitrary data passed for callbacks.

Definition at line 951 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 955 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 949 of file pbx.c.

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

struct ast_state_cb* next [read]

Definition at line 957 of file pbx.c.


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

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