summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2007-10-19 18:29:40 +0000
committerJason Parker <jparker@digium.com>2007-10-19 18:29:40 +0000
commitb0f3e6097e7e40affba1f893c42be66a8d26bd23 (patch)
tree449c79f9794d0470ca27cb420554eb128bee9d9e /main/pbx.c
parent65761cbd7a322352fdb834fedee8d4bbb62be61c (diff)
Convert NEW_CLI to AST_CLI.
Closes issue #11039, as suggested by seanbright. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 2782b57c6..1de2f09b0 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -3967,15 +3967,15 @@ static char *handle_set_global(struct ast_cli_entry *e, int cmd, struct ast_cli_
* CLI entries for upper commands ...
*/
static struct ast_cli_entry pbx_cli[] = {
- NEW_CLI(handle_show_applications, "Shows registered dialplan applications"),
- NEW_CLI(handle_show_functions, "Shows registered dialplan functions"),
- NEW_CLI(handle_show_switches, "Show alternative switches"),
- NEW_CLI(handle_show_hints, "Show dialplan hints"),
- NEW_CLI(handle_show_globals, "Show global dialplan variables"),
- NEW_CLI(handle_show_function, "Describe a specific dialplan function"),
- NEW_CLI(handle_show_application, "Describe a specific dialplan application"),
- NEW_CLI(handle_set_global, "Set global dialplan variable"),
- NEW_CLI(handle_show_dialplan, "Show dialplan"),
+ AST_CLI(handle_show_applications, "Shows registered dialplan applications"),
+ AST_CLI(handle_show_functions, "Shows registered dialplan functions"),
+ AST_CLI(handle_show_switches, "Show alternative switches"),
+ AST_CLI(handle_show_hints, "Show dialplan hints"),
+ AST_CLI(handle_show_globals, "Show global dialplan variables"),
+ AST_CLI(handle_show_function, "Describe a specific dialplan function"),
+ AST_CLI(handle_show_application, "Describe a specific dialplan application"),
+ AST_CLI(handle_set_global, "Set global dialplan variable"),
+ AST_CLI(handle_show_dialplan, "Show dialplan"),
};
static void unreference_cached_app(struct ast_app *app)