mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1336,17 +1336,17 @@ static char *handle_cli_dialplan_reload(struct ast_cli_entry *e, int cmd, struct
|
||||
* CLI entries for commands provided by this module
|
||||
*/
|
||||
static struct ast_cli_entry cli_pbx_config[] = {
|
||||
AST_CLI(handle_cli_dialplan_add_extension, "Add new extension into context"),
|
||||
AST_CLI(handle_cli_dialplan_remove_extension, "Remove a specified extension"),
|
||||
AST_CLI(handle_cli_dialplan_add_ignorepat, "Add new ignore pattern"),
|
||||
AST_CLI(handle_cli_dialplan_remove_ignorepat, "Remove ignore pattern from context"),
|
||||
AST_CLI(handle_cli_dialplan_add_include, "Include context in other context"),
|
||||
AST_CLI(handle_cli_dialplan_remove_include, "Remove a specified include from context"),
|
||||
AST_CLI(handle_cli_dialplan_reload, "Reload extensions and *only* extensions")
|
||||
AST_CLI_DEFINE(handle_cli_dialplan_add_extension, "Add new extension into context"),
|
||||
AST_CLI_DEFINE(handle_cli_dialplan_remove_extension, "Remove a specified extension"),
|
||||
AST_CLI_DEFINE(handle_cli_dialplan_add_ignorepat, "Add new ignore pattern"),
|
||||
AST_CLI_DEFINE(handle_cli_dialplan_remove_ignorepat, "Remove ignore pattern from context"),
|
||||
AST_CLI_DEFINE(handle_cli_dialplan_add_include, "Include context in other context"),
|
||||
AST_CLI_DEFINE(handle_cli_dialplan_remove_include, "Remove a specified include from context"),
|
||||
AST_CLI_DEFINE(handle_cli_dialplan_reload, "Reload extensions and *only* extensions")
|
||||
};
|
||||
|
||||
static struct ast_cli_entry cli_dialplan_save =
|
||||
AST_CLI(handle_cli_dialplan_save, "Save dialplan");
|
||||
AST_CLI_DEFINE(handle_cli_dialplan_save, "Save dialplan");
|
||||
|
||||
/*!
|
||||
* Standard module functions ...
|
||||
|
Reference in New Issue
Block a user