Asterisk - The Open Source Telephony Project GIT-master-2070bb5
|
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 ast_ignorepats | ignorepats |
struct namelist * | ignorepats |
struct ast_ignorepat * | ignorepats |
struct namelist * | ignorepats_last |
struct ast_includes | includes |
struct namelist * | includes |
struct ast_include * | includes |
struct namelist * | includes_last |
ast_rwlock_t | lock |
const char * | name |
char | name [100] |
struct ast_context * | next |
struct match_char * | pattern_tree |
int | refcount |
const char * | registrar |
char | registrar [100] |
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_remove_switch2(), ast_context_switches_count(), ast_context_switches_get(), and ast_walk_context_switches().
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 _extension_match_core(), ast_add_extension(), ast_add_extension_nolock(), ast_context_add_switch(), ast_context_remove_switch(), ast_extension_match(), extension_match_core(), lua_read_extensions_file(), and lua_reload_extensions().
struct namelist* eswitches |
Definition at line 54 of file ael_main.c.
Referenced by ast_add_extension2(), ast_context_add_switch2(), and main().
struct namelist* eswitches_last |
Definition at line 59 of file ael_main.c.
int extension_count |
Definition at line 48 of file ael_main.c.
Referenced by ast_add_extension2(), and main().
struct ast_ignorepats ignorepats |
Patterns for which to continue playing dialtone
Definition at line 294 of file pbx.c.
Referenced by ast_add_extension2(), ast_context_add_ignorepat2(), ast_context_ignorepats_count(), ast_context_ignorepats_get(), ast_context_remove_ignorepat2(), ast_walk_context_ignorepats(), and main().
struct namelist* ignorepats |
Definition at line 52 of file ael_main.c.
struct ast_ignorepat* ignorepats |
struct namelist* ignorepats_last |
Definition at line 57 of file ael_main.c.
struct ast_includes includes |
Include other contexts
Definition at line 293 of file pbx.c.
Referenced by ast_add_extension2(), ast_context_add_include2(), ast_context_includes_count(), ast_context_includes_get(), ast_context_remove_include2(), ast_walk_context_includes(), and main().
struct namelist* includes |
Definition at line 51 of file ael_main.c.
struct ast_include* includes |
struct namelist* includes_last |
Definition at line 56 of file ael_main.c.
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_rdlock_context(), ast_unlock_context(), and ast_wrlock_context().
char name |
Name of the context
Definition at line 285 of file pbx.c.
Referenced by __ast_context_destroy(), action_extensionstatelist(), add_pri(), add_priority(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_context_create(), ast_context_find_or_create(), ast_context_remove_extension_callerid2(), ast_get_context_name(), ast_hashtab_compare_contexts(), ast_hashtab_hash_contexts(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), context_table_create_autohints(), create_match_char_tree(), extension_state_add_destroy(), PathSegment::get_child(), internal_extension_state_extended(), Parameter::load(), Property::load(), SwaggerType::load(), localized_pbx_load_module(), main(), and pbx_extension_helper().
char name[0] |
Name of the context
Definition at line 49 of file ael_main.c.
Referenced by PathSegment::get_child(), Parameter::load(), Property::load(), and SwaggerType::load().
struct ast_context * next |
Link them together
Definition at line 292 of file pbx.c.
Referenced by __ast_context_destroy(), ast_context_create(), ast_context_find_or_create(), ast_merge_contexts_and_delete(), ast_walk_contexts(), and main().
struct match_char* pattern_tree |
A tree to speed up extension pattern matching
Definition at line 291 of file pbx.c.
Referenced by add_exten_to_pattern_tree(), add_pattern_node(), ast_add_extension2_lockopt(), and ast_context_remove_extension_callerid2().
int refcount |
const char * registrar |
Registrar
Definition at line 286 of file pbx.c.
Referenced by ast_context_create(), ast_context_find_or_create(), and context_table_create_autohints().
char registrar[100] |
Definition at line 50 of file ael_main.c.
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(), ast_context_remove_extension_callerid2(), and ast_walk_context_extensions().
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 __ast_context_destroy(), add_priority(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), and create_match_char_tree().
Definition at line 53 of file ael_main.c.
Referenced by ast_add_extension2(), ast_context_add_switch2(), and main().
struct namelist* switches_last |
Definition at line 58 of file ael_main.c.