Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_state_cb Struct Reference

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
 

Detailed Description

ast_state_cb: An extension state notify register item

Definition at line 308 of file pbx.c.

Field Documentation

ast_state_cb_type change_cb

Callback when state changes.

Definition at line 316 of file pbx.c.

Referenced by ast_add_hint(), and ast_merge_contexts_and_delete().

void * data

Arbitrary data passed for callbacks.

Definition at line 312 of file pbx.c.

Referenced by ast_add_extension2_lockopt(), ast_add_hint(), and ast_merge_contexts_and_delete().

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

Definition at line 318 of file pbx.c.

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

int id

Watcher ID returned when registered.

Definition at line 310 of file pbx.c.


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