diff options
author | Jason Parker <jparker@digium.com> | 2007-10-22 20:05:18 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2007-10-22 20:05:18 +0000 |
commit | ebe4050128fda79e5611e88c6dcd9621d38de599 (patch) | |
tree | c308e240451b2777ff9a40a64c62a5e289762709 /main/pbx.c | |
parent | 8711a1dba761de5e72a32abb7aff656c423b5295 (diff) |
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
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/main/pbx.c b/main/pbx.c index 1de2f09b0..5fb02016b 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[] = { - 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"), + AST_CLI_DEFINE(handle_show_applications, "Shows registered dialplan applications"), + AST_CLI_DEFINE(handle_show_functions, "Shows registered dialplan functions"), + AST_CLI_DEFINE(handle_show_switches, "Show alternative switches"), + AST_CLI_DEFINE(handle_show_hints, "Show dialplan hints"), + AST_CLI_DEFINE(handle_show_globals, "Show global dialplan variables"), + AST_CLI_DEFINE(handle_show_function, "Describe a specific dialplan function"), + AST_CLI_DEFINE(handle_show_application, "Describe a specific dialplan application"), + AST_CLI_DEFINE(handle_set_global, "Set global dialplan variable"), + AST_CLI_DEFINE(handle_show_dialplan, "Show dialplan"), }; static void unreference_cached_app(struct ast_app *app) |