Asterisk - The Open Source Telephony Project
21.4.1
|
Private include file for pbx. More...
Go to the source code of this file.
Macros | |
#define | VAR_BUF_SIZE 4096 |
Functions | |
const char * | app_name (struct ast_app *app) |
AST_VECTOR (ast_ignorepats, struct ast_ignorepat *) | |
AST_VECTOR (ast_includes, struct ast_include *) | |
AST_VECTOR (ast_sws, struct ast_sw *) | |
struct ast_ignorepat * | ignorepat_alloc (const char *value, const char *registrar) |
void | ignorepat_free (struct ast_ignorepat *ip) |
struct ast_include * | include_alloc (const char *value, const char *registrar) |
void | include_free (struct ast_include *inc) |
const char * | include_rname (const struct ast_include *inc) |
int | include_valid (const struct ast_include *inc) |
int | indicate_busy (struct ast_channel *, const char *) |
int | indicate_congestion (struct ast_channel *, const char *) |
struct ast_switch * | pbx_findswitch (const char *sw) |
int | raise_exception (struct ast_channel *chan, const char *reason, int priority) |
void | set_ext_pri (struct ast_channel *c, const char *exten, int pri) |
struct ast_sw * | sw_alloc (const char *value, const char *data, int eval, const char *registrar) |
void | sw_free (struct ast_sw *sw) |
void | unreference_cached_app (struct ast_app *app) |
void | wait_for_hangup (struct ast_channel *chan, const void *data) |
Private include file for pbx.
Definition in file pbx_private.h.
const char* app_name | ( | struct ast_app * | app | ) |
pbx_app.c functions needed by pbx.c
Definition at line 463 of file pbx_app.c.
Referenced by app_exec(), handle_exec(), lua_pbx_exec(), lua_pbx_findapp(), pbx_extension_helper(), and stasis_app_set_global_debug().
struct ast_include* include_alloc | ( | const char * | value, |
const char * | registrar | ||
) |
Allocate and initialize an ast_include.
Definition at line 74 of file pbx_include.c.
References ast_build_timing(), ast_calloc, ast_include::hastime, ast_include::registrar, ast_include::rname, and ast_include::timing.
Referenced by ast_context_add_include2().
void include_free | ( | struct ast_include * | inc | ) |
Free an ast_include and associated data.
Definition at line 106 of file pbx_include.c.
References ast_destroy_timing(), and ast_include::timing.
Referenced by ast_context_add_include2(), and ast_context_remove_include2().
struct ast_switch* pbx_findswitch | ( | const char * | sw | ) |
pbx_switch.c functions needed by pbx.c
Definition at line 40 of file pbx_switch.c.
References AST_RWLIST_RDLOCK, AST_RWLIST_UNLOCK, and ast_switch::name.
int raise_exception | ( | struct ast_channel * | chan, |
const char * | reason, | ||
int | priority | ||
) |
pbx.c functions needed by pbx_builtins.c
Definition at line 2806 of file pbx.c.
References ast_calloc_with_stringfields, ast_channel_datastore_add(), ast_channel_datastore_find(), ast_datastore_free(), ast_string_field_set, ast_datastore::data, pbx_exception::priority, and set_ext_pri().
Referenced by __ast_pbx_run().
void set_ext_pri | ( | struct ast_channel * | c, |
const char * | exten, | ||
int | pri | ||
) |
helper function to set extension and priority
Definition at line 4264 of file pbx.c.
Referenced by __ast_pbx_run(), and raise_exception().
void unreference_cached_app | ( | struct ast_app * | app | ) |
pbx.c function needed by pbx_app.c
Definition at line 6130 of file pbx.c.
References ast_rdlock_contexts(), and ast_unlock_contexts().
Referenced by ast_unregister_application().