Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
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 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 301 of file pbx.c.

Field Documentation

◆ callback

Definition at line 201 of file conf2ael.c.

◆ change_cb

ast_state_cb_type change_cb

◆ data

void * data

◆ destroy_cb

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

Definition at line 311 of file pbx.c.

Referenced by destroy_state_cb(), and extension_state_add_destroy().

◆ entry

struct { ... } entry
Note
Only used by ast_merge_contexts_and_delete

◆ extended

int extended

Flag if this callback is an extended callback containing detailed device status

Definition at line 307 of file pbx.c.

Referenced by device_state_notify_callbacks(), and extension_state_add_destroy().

◆ id

int id

Watcher ID returned when registered.

Definition at line 303 of file pbx.c.

Referenced by destroy_state_cb(), extension_state_add_destroy(), hint_id_cmp(), Model::load(), and print_statecbs_key().

◆ next

struct ast_state_cb * next

Definition at line 313 of file pbx.c.

Referenced by ast_remove_hint().


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