Sat Aug 6 00:40:07 2011

Asterisk developer's documentation


ast_context Struct Reference

ast_context: An extension context More...


Data Fields

struct {
   ast_sw *   first
   ast_sw *   last
alts
ast_ignorepatignorepats
ast_includeincludes
ast_mutex_t lock
ast_mutex_t macrolock
char name [0]
ast_contextnext
const char * registrar
ast_extenroot


Detailed Description

ast_context: An extension context

Definition at line 162 of file pbx.c.


Field Documentation

struct { ... } alts

Alternative switches

Referenced by ast_context_add_switch2(), ast_context_remove_switch2(), and ast_walk_context_switches().

struct ast_sw* first

Definition at line 169 of file pbx.c.

struct ast_ignorepat* ignorepats

Patterns for which to continue playing dialtone

Definition at line 167 of file pbx.c.

Referenced by ast_context_add_ignorepat2(), ast_context_remove_ignorepat2(), ast_ignore_pattern(), and ast_walk_context_ignorepats().

struct ast_include* includes

Include other contexts

Definition at line 166 of file pbx.c.

Referenced by ast_context_add_include2(), ast_context_remove_include2(), and ast_walk_context_includes().

struct ast_sw* last

Definition at line 169 of file pbx.c.

ast_mutex_t lock

A lock to prevent multiple threads from clobbering the context

Definition at line 163 of file pbx.c.

Referenced by ast_add_extension2(), ast_context_add_ignorepat2(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_remove_extension_callerid2(), ast_context_remove_ignorepat2(), ast_context_remove_include2(), ast_context_remove_switch2(), ast_lock_context(), and ast_unlock_context().

ast_mutex_t macrolock

A lock to implement "exclusive" macros - held whilst a call is executing in the macro

Definition at line 170 of file pbx.c.

Referenced by ast_context_lockmacro(), and ast_context_unlockmacro().

char name[0]

Name of the context

Definition at line 171 of file pbx.c.

Referenced by __ast_context_create(), __ast_context_destroy(), add_pri(), ast_add_extension2(), ast_context_find(), ast_get_context_name(), ast_hint_state_changed(), ast_merge_contexts_and_delete(), ast_remove_hint(), and pbx_find_extension().

struct ast_context* next

Link them together

Definition at line 165 of file pbx.c.

Referenced by __ast_context_create(), __ast_context_destroy(), ast_merge_contexts_and_delete(), and ast_walk_contexts().

const char* registrar

Registrar

Definition at line 168 of file pbx.c.

Referenced by ast_get_context_registrar(), and ast_merge_contexts_and_delete().

struct ast_exten* root

The root of the list of extensions

Definition at line 164 of file pbx.c.

Referenced by add_pri(), ast_add_extension2(), ast_context_remove_extension_callerid2(), and ast_walk_context_extensions().


The documentation for this struct was generated from the following file:
Generated on Sat Aug 6 00:40:07 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7