diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-22 20:05:18 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-22 20:05:18 +0000 |
commit | 7756b987a015d6001cb1f31e06439d4010125185 (patch) | |
tree | c308e240451b2777ff9a40a64c62a5e289762709 /main/pbx.c | |
parent | 8451f110520d2d9747dd8fc06cb6aaa8dddcc9c2 (diff) |
Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86820 f38db490-d61c-443f-a65b-d21fe96a405b
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) |