Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Reload Asterisk modules. More...
#include "asterisk.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/module.h"
#include "asterisk/app.h"
Go to the source code of this file.
Functions | |
AST_MODULE_INFO_STANDARD_EXTENDED (ASTERISK_GPL_KEY, "Reload module(s)") | |
static int | load_module (void) |
static int | reload_exec (struct ast_channel *chan, const char *data) |
static int | unload_module (void) |
Variables | |
static char * | app = "Reload" |
Reload Asterisk modules.
Definition in file app_reload.c.
AST_MODULE_INFO_STANDARD_EXTENDED | ( | ASTERISK_GPL_KEY | , |
"Reload module(s)" | |||
) |
|
static |
Definition at line 110 of file app_reload.c.
References app, ast_register_application_xml, and reload_exec().
|
static |
Definition at line 81 of file app_reload.c.
References ast_autoservice_start(), ast_autoservice_stop(), ast_module_reload(), AST_MODULE_RELOAD_SUCCESS, ast_strdupa, ast_strlen_zero(), ast_strsep(), AST_STRSEP_ALL, NULL, and pbx_builtin_setvar_helper().
Referenced by load_module().
|
static |
Definition at line 105 of file app_reload.c.
References app, and ast_unregister_application().
|
static |
Definition at line 79 of file app_reload.c.
Referenced by load_module(), and unload_module().