Asterisk - The Open Source Telephony Project
21.4.1
|
ast_context: An extension context More...
Data Fields | |
struct ast_sws | alts |
struct { | |
struct ast_sw * first | |
struct ast_sw * last | |
} | alts |
int | autohints |
char | data [] |
struct namelist * | eswitches |
struct namelist * | eswitches_last |
int | extension_count |
struct namelist * | ignorepats |
struct ast_ignorepats | ignorepats |
struct ast_ignorepat * | ignorepats |
struct namelist * | ignorepats_last |
struct namelist * | includes |
struct ast_includes | includes |
struct ast_include * | includes |
struct namelist * | includes_last |
ast_rwlock_t | lock |
char | name [100] |
const char * | name |
struct ast_context * | next |
struct match_char * | pattern_tree |
int | refcount |
char | registrar [100] |
const char * | registrar |
struct ast_exten * | root |
struct ast_hashtab * | root_table |
struct namelist * | switches |
struct namelist * | switches_last |
ast_context: An extension context
struct ast_sws alts |
Alternative switches
Definition at line 295 of file pbx.c.
Referenced by ast_context_add_switch2(), ast_context_find_or_create(), and ast_context_remove_switch2().
struct { ... } alts |
Alternative switches
int autohints |
Whether autohints support is enabled or not
Definition at line 297 of file pbx.c.
Referenced by ast_context_set_autohints(), and context_table_create_autohints().
char data[] |
Buffer to hold the name & registrar character data.
The context name must be stored first in this buffer.
Definition at line 304 of file pbx.c.
Referenced by ast_context_find_or_create(), lua_read_extensions_file(), and lua_reload_extensions().
struct ast_ignorepats ignorepats |
Patterns for which to continue playing dialtone
Definition at line 294 of file pbx.c.
Referenced by ast_context_find_or_create().
struct ast_ignorepat* ignorepats |
struct ast_includes includes |
Include other contexts
Definition at line 293 of file pbx.c.
Referenced by ast_context_add_include2(), ast_context_find_or_create(), and ast_context_remove_include2().
struct ast_include* includes |
ast_rwlock_t lock |
A lock to prevent multiple threads from clobbering the context
Definition at line 288 of file pbx.c.
Referenced by ast_context_find_or_create(), ast_rdlock_context(), ast_unlock_context(), and ast_wrlock_context().
char name[0] |
Name of the context
Definition at line 49 of file ael_main.c.
char name |
Name of the context
Definition at line 285 of file pbx.c.
Referenced by PathSegment::__init__(), add_pri(), add_priority(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_context_find(), ast_context_find_or_create(), ast_hashtab_compare_contexts(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), context_table_create_autohints(), find_context(), find_context_locked(), PathSegment::get_child(), and pbx_extension_helper().
struct ast_context * next |
Link them together
Definition at line 292 of file pbx.c.
Referenced by ast_context_find_or_create(), and ast_merge_contexts_and_delete().
struct match_char* pattern_tree |
A tree to speed up extension pattern matching
Definition at line 291 of file pbx.c.
Referenced by ast_add_extension2_lockopt().
int refcount |
each module that would have created this context should inc/dec this as appropriate
Definition at line 296 of file pbx.c.
Referenced by ast_context_find_or_create().
const char * registrar |
Registrar
Definition at line 286 of file pbx.c.
Referenced by ast_context_find_or_create(), context_table_create_autohints(), handle_cli_dialplan_add_ignorepat(), handle_cli_dialplan_remove_extension(), lua_register_hints(), lua_register_switches(), and lua_reload_extensions().
struct ast_exten * root |
The root of the list of extensions
Definition at line 289 of file pbx.c.
Referenced by add_pri(), add_priority(), ast_add_extension2(), ast_add_extension2_lockopt(), and ast_context_find_or_create().
struct ast_hashtab* root_table |
For exact matches on the extensions in the pattern tree, and for traversals of the pattern_tree
Definition at line 290 of file pbx.c.
Referenced by add_priority(), ast_add_extension2_lockopt(), and ast_context_find_or_create().