Sat Nov 25 00:46:15 2006

Asterisk developer's documentation


ast_context Struct Reference

ast_context: An extension context More...


Data Fields

ast_swalts
ast_ignorepatignorepats
ast_includeincludes
ast_mutex_t lock
char name [0]
ast_contextnext
const char * registrar
ast_extenroot


Detailed Description

ast_context: An extension context

Definition at line 156 of file pbx.c.


Field Documentation

struct ast_sw* alts
 

Alternative switches

Definition at line 163 of file pbx.c.

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

struct ast_ignorepat* ignorepats
 

Patterns for which to continue playing dialtone

Definition at line 161 of file pbx.c.

Referenced by __ast_context_destroy(), 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 160 of file pbx.c.

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

ast_mutex_t lock
 

A lock to prevent multiple threads from clobbering the context

Definition at line 157 of file pbx.c.

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

char name[0]
 

Name of the context

Definition at line 164 of file pbx.c.

Referenced by __ast_context_destroy(), ast_add_extension2(), ast_context_create(), ast_context_find(), ast_get_context_name(), ast_hint_state_changed(), and ast_merge_contexts_and_delete().

struct ast_context* next
 

Link them together

Definition at line 159 of file pbx.c.

Referenced by __ast_context_destroy(), ast_context_create(), ast_context_find(), and ast_walk_contexts().

const char* registrar
 

Registrar

Definition at line 162 of file pbx.c.

Referenced by __ast_context_destroy(), ast_add_extension2(), ast_get_context_registrar(), and ast_merge_contexts_and_delete().

struct ast_exten* root
 

The root of the list of extensions

Definition at line 158 of file pbx.c.

Referenced by __ast_context_destroy(), ast_add_extension2(), ast_context_remove_extension2(), and ast_walk_context_extensions().


The documentation for this struct was generated from the following file:
Generated on Sat Nov 25 00:46:15 2006 for Asterisk - the Open Source PBX by  doxygen 1.4.6