|
static void | __reg_module (void) |
|
static void | __unreg_module (void) |
|
struct ast_module * | AST_MODULE_SELF_SYM (void) |
|
static void | balance_stack (struct ast_channel *chan) |
|
static const char * | expand_gosub_args (struct ast_channel *chan, const char *args) |
|
static int | frame_set_var (struct ast_channel *chan, struct gosub_stack_frame *frame, const char *var, const char *value) |
|
static struct gosub_stack_frame * | gosub_allocate_frame (const char *context, const char *extension, int priority, int in_subroutine, unsigned char arguments) |
|
static int | gosub_exec (struct ast_channel *chan, const char *data) |
|
static void | gosub_free (void *data) |
|
static void | gosub_release_frame (struct ast_channel *chan, struct gosub_stack_frame *frame) |
|
static int | gosub_run (struct ast_channel *chan, const char *sub_args, int ignore_hangup) |
|
static int | gosubif_exec (struct ast_channel *chan, const char *data) |
|
static int | handle_gosub (struct ast_channel *chan, AGI *agi, int argc, const char *const *argv) |
|
static int | load_module (void) |
|
static int | local_read (struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len) |
|
static int | local_write (struct ast_channel *chan, const char *cmd, char *var, const char *value) |
|
static int | peek_read (struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len) |
|
static int | pop_exec (struct ast_channel *chan, const char *data) |
|
static int | return_exec (struct ast_channel *chan, const char *data) |
|
static int | stackpeek_read (struct ast_channel *chan, const char *cmd, char *data, struct ast_str **str, ssize_t len) |
|
static int | unload_module (void) |
|
|
static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_DEFAULT | AST_MODFLAG_LOAD_ORDER , .description = "Dialplan subroutines (Gosub, Return, etc)" , .key = "This paragraph is copyright (c) 2006 by Digium, Inc. \In order for your module to load, it must return this \key via a function called \"key\". Any code which \includes this paragraph must be licensed under the GNU \General Public License version 2 or later (at your \option). In addition to Digium's general reservations \of rights, Digium expressly reserves the right to \allow other parties to license this paragraph under \different terms. Any use of Digium, Inc. trademarks or \logos (including \"Asterisk\" or \"Digium\") without \express written permission of Digium, Inc. is prohibited.\n" , .buildopt_sum = "da6642af068ee5e6490c5b1d2cc1d238" , .support_level = AST_MODULE_SUPPORT_CORE, .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_APP_DEPEND, .optional_modules = "res_agi", } |
|
static const char | app_gosub [] = "Gosub" |
|
static const char | app_gosubif [] = "GosubIf" |
|
static const char | app_pop [] = "StackPop" |
|
static const char | app_return [] = "Return" |
|
static const struct ast_module_info * | ast_module_info = &__mod_info |
|
static struct agi_command | gosub_agi_command |
|
static struct ast_custom_function | local_function |
|
static struct ast_custom_function | peek_function |
|
static const struct ast_datastore_info | stack_info |
|
static struct ast_custom_function | stackpeek_function |
|