| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
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 310 of file pbx.c.
Referenced by __ast_context_destroy(), __ast_internal_context_destroy(), ast_context_add_switch2(), ast_context_add_switch2(), ast_context_find_or_create(), ast_context_remove_switch2(), ast_context_switches_count(), ast_context_switches_get(), ast_walk_context_switches(), and pbx_find_extension().
| struct { ... } alts | 
Alternative switches
| int autohints | 
Whether autohints support is enabled or not
Definition at line 312 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 319 of file pbx.c.
Referenced by _extension_match_core(), ast_add_extension(), ast_add_extension_nolock(), ast_context_add_switch(), ast_context_find_or_create(), ast_context_remove_switch(), ast_extension_match(), extension_match_core(), lua_read_extensions_file(), lua_reload_extensions(), and pbx_find_extension().
| 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 309 of file pbx.c.
Referenced by __ast_context_create(), __ast_context_destroy(), __ast_internal_context_destroy(), ast_add_extension2(), ast_context_add_ignorepat2(), ast_context_add_ignorepat2(), ast_context_add_ignorepat2(), ast_context_find_or_create(), 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 308 of file pbx.c.
Referenced by __ast_context_create(), __ast_context_destroy(), __ast_internal_context_destroy(), ast_add_extension2(), ast_context_add_include2(), ast_context_add_include2(), ast_context_find_or_create(), ast_context_includes_count(), ast_context_includes_get(), ast_context_remove_include2(), ast_walk_context_includes(), ast_walk_context_includes(), main(), and pbx_find_extension().
| 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 303 of file pbx.c.
Referenced by __ast_context_create(), __ast_internal_context_destroy(), ast_context_find_or_create(), ast_rdlock_context(), ast_unlock_context(), ast_unlock_context(), ast_wrlock_context(), and ast_wrlock_context().
| char name | 
Name of the context
Definition at line 300 of file pbx.c.
Referenced by __ast_context_create(), __ast_context_destroy(), __ast_context_destroy(), action_extensionstatelist(), add_pri(), add_priority(), ast_add_extension2(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_context_create(), ast_context_find(), ast_context_find_or_create(), ast_context_find_or_create(), ast_context_remove_extension_callerid2(), ast_get_context_name(), ast_get_context_name(), ast_hashtab_compare_contexts(), ast_hashtab_hash_contexts(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), ast_merge_contexts_and_delete(), context_table_create_autohints(), create_match_char_tree(), extension_state_add_destroy(), PathSegment::get_child(), internal_extension_state_extended(), SwaggerType::load(), localized_pbx_load_module(), main(), pbx_extension_helper(), and pbx_find_extension().
| char name[0] | 
Name of the context
Definition at line 49 of file ael_main.c.
Referenced by PathSegment::get_child(), and SwaggerType::load().
| struct ast_context * next | 
Link them together
Definition at line 307 of file pbx.c.
Referenced by __ast_context_create(), __ast_context_destroy(), __ast_context_destroy(), ast_context_create(), ast_context_find_or_create(), ast_context_find_or_create(), ast_merge_contexts_and_delete(), 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 306 of file pbx.c.
Referenced by __ast_internal_context_destroy(), add_exten_to_pattern_tree(), add_pattern_node(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), and pbx_find_extension().
| int refcount | 
each module that would have created this context should inc/dec this as appropriate
Definition at line 311 of file pbx.c.
Referenced by __ast_context_destroy(), and ast_context_find_or_create().
| const char * registrar | 
Registrar
Definition at line 301 of file pbx.c.
Referenced by __ast_context_create(), __ast_context_destroy(), ast_context_create(), ast_context_find_or_create(), ast_context_find_or_create(), ast_merge_contexts_and_delete(), 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 304 of file pbx.c.
Referenced by __ast_context_create(), __ast_context_destroy(), __ast_internal_context_destroy(), add_pri(), add_priority(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_context_find_or_create(), ast_context_remove_extension_callerid2(), ast_walk_context_extensions(), 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 305 of file pbx.c.
Referenced by __ast_context_destroy(), __ast_internal_context_destroy(), add_priority(), ast_add_extension2_lockopt(), ast_context_find_or_create(), ast_context_remove_extension_callerid2(), create_match_char_tree(), and pbx_find_extension().
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.