Asterisk - The Open Source Telephony Project GIT-master-a63eec2
|
RealTime CLI. More...
#include "asterisk.h"
#include "asterisk/file.h"
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/config.h"
#include "asterisk/module.h"
#include "asterisk/lock.h"
#include "asterisk/cli.h"
Go to the source code of this file.
Macros | |
#define | CRL_HEADER_FORMAT "%30s %-30s\n" |
Functions | |
static void | __reg_module (void) |
static void | __unreg_module (void) |
struct ast_module * | AST_MODULE_SELF_SYM (void) |
static char * | cli_realtime_destroy (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) |
static char * | cli_realtime_load (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) |
static char * | cli_realtime_store (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) |
static char * | cli_realtime_update (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) |
static char * | cli_realtime_update2 (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) |
static int | load_module (void) |
static int | unload_module (void) |
Variables | |
static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_LOAD_ORDER , .description = "Realtime Data Lookup/Rewrite" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_DEFAULT, .support_level = AST_MODULE_SUPPORT_CORE, } |
static const struct ast_module_info * | ast_module_info = &__mod_info |
static struct ast_cli_entry | cli_realtime [] |
RealTime CLI.
Definition in file res_realtime.c.
#define CRL_HEADER_FORMAT "%30s %-30s\n" |
|
static |
Definition at line 288 of file res_realtime.c.
|
static |
Definition at line 288 of file res_realtime.c.
struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 288 of file res_realtime.c.
|
static |
Definition at line 226 of file res_realtime.c.
References a, ast_cli(), ast_destroy_realtime(), CLI_FAILURE, CLI_GENERATE, CLI_INIT, CLI_SHOWUSAGE, CLI_SUCCESS, ast_cli_entry::command, ESS, NULL, SENTINEL, and ast_cli_entry::usage.
|
static |
Definition at line 45 of file res_realtime.c.
References a, ast_cli(), ast_load_realtime_all(), ast_variables_destroy(), CLI_GENERATE, CLI_INIT, CLI_SHOWUSAGE, CLI_SUCCESS, ast_cli_entry::command, CRL_HEADER_FORMAT, test_val::name, NULL, SENTINEL, ast_cli_entry::usage, and var.
|
static |
Definition at line 181 of file res_realtime.c.
References a, ast_cli(), ast_store_realtime(), CLI_FAILURE, CLI_GENERATE, CLI_INIT, CLI_SHOWUSAGE, CLI_SUCCESS, ast_cli_entry::command, NULL, SENTINEL, and ast_cli_entry::usage.
|
static |
Definition at line 83 of file res_realtime.c.
References a, ast_cli(), ast_update_realtime(), CLI_FAILURE, CLI_GENERATE, CLI_INIT, CLI_SHOWUSAGE, CLI_SUCCESS, ast_cli_entry::command, ESS, NULL, SENTINEL, and ast_cli_entry::usage.
|
static |
Definition at line 116 of file res_realtime.c.
References a, ast_cli(), ast_update2_realtime(), CLI_FAILURE, CLI_GENERATE, CLI_INIT, CLI_SHOWUSAGE, CLI_SUCCESS, ast_cli_entry::command, ESS, NULL, SENTINEL, and ast_cli_entry::usage.
|
static |
Definition at line 282 of file res_realtime.c.
References ARRAY_LEN, ast_cli_register_multiple, AST_MODULE_LOAD_SUCCESS, and cli_realtime.
|
static |
Definition at line 276 of file res_realtime.c.
References ARRAY_LEN, ast_cli_unregister_multiple(), and cli_realtime.
|
static |
Definition at line 288 of file res_realtime.c.
|
static |
Definition at line 288 of file res_realtime.c.
|
static |
Definition at line 268 of file res_realtime.c.
Referenced by load_module(), and unload_module().