Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
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 = "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 = 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, 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().