aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-19 18:29:40 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-19 18:29:40 +0000
commitd542122e6a00ac0c2ee0f5178a2b3682f0fd48c3 (patch)
tree449c79f9794d0470ca27cb420554eb128bee9d9e /main/asterisk.c
parent4723d35127a1da861d28ce2ae2ee0e8bbd7c3e7b (diff)
Convert NEW_CLI to AST_CLI.
Closes issue #11039, as suggested by seanbright. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86536 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/asterisk.c')
-rw-r--r--main/asterisk.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index f725c522b..913859d56 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -1734,26 +1734,26 @@ static char *show_license(struct ast_cli_entry *e, int cmd, struct ast_cli_args
#define ASTERISK_PROMPT2 "%s*CLI> "
static struct ast_cli_entry cli_asterisk[] = {
- NEW_CLI(handle_abort_shutdown, "Cancel a running shutdown"),
- NEW_CLI(handle_stop_now, "Shut down Asterisk immediately"),
- NEW_CLI(handle_stop_gracefully, "Gracefully shut down Asterisk"),
- NEW_CLI(handle_stop_when_convenient, "Shut down Asterisk at empty call volume"),
- NEW_CLI(handle_restart_now, "Restart Asterisk immediately"),
- NEW_CLI(handle_restart_gracefully, "Restart Asterisk gracefully"),
- NEW_CLI(handle_restart_when_convenient, "Restart Asterisk at empty call volume"),
- NEW_CLI(show_warranty, "Show the warranty (if any) for this copy of Asterisk"),
- NEW_CLI(show_license, "Show the license(s) for this copy of Asterisk"),
- NEW_CLI(handle_version, "Display version info"),
- NEW_CLI(handle_bang, "Execute a shell command"),
+ AST_CLI(handle_abort_shutdown, "Cancel a running shutdown"),
+ AST_CLI(handle_stop_now, "Shut down Asterisk immediately"),
+ AST_CLI(handle_stop_gracefully, "Gracefully shut down Asterisk"),
+ AST_CLI(handle_stop_when_convenient, "Shut down Asterisk at empty call volume"),
+ AST_CLI(handle_restart_now, "Restart Asterisk immediately"),
+ AST_CLI(handle_restart_gracefully, "Restart Asterisk gracefully"),
+ AST_CLI(handle_restart_when_convenient, "Restart Asterisk at empty call volume"),
+ AST_CLI(show_warranty, "Show the warranty (if any) for this copy of Asterisk"),
+ AST_CLI(show_license, "Show the license(s) for this copy of Asterisk"),
+ AST_CLI(handle_version, "Display version info"),
+ AST_CLI(handle_bang, "Execute a shell command"),
#if !defined(LOW_MEMORY)
- NEW_CLI(handle_show_version_files, "List versions of files used to build Asterisk"),
- NEW_CLI(handle_show_threads, "Show running threads"),
+ AST_CLI(handle_show_version_files, "List versions of files used to build Asterisk"),
+ AST_CLI(handle_show_threads, "Show running threads"),
#if defined(HAVE_SYSINFO)
- NEW_CLI(handle_show_sysinfo, "Show System Information"),
+ AST_CLI(handle_show_sysinfo, "Show System Information"),
#endif
- NEW_CLI(handle_show_profile, "Display profiling info"),
- NEW_CLI(handle_show_settings, "Show some core settings"),
- NEW_CLI(handle_clear_profile, "Clear profiling info"),
+ AST_CLI(handle_show_profile, "Display profiling info"),
+ AST_CLI(handle_show_settings, "Show some core settings"),
+ AST_CLI(handle_clear_profile, "Clear profiling info"),
#endif /* ! LOW_MEMORY */
};