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:
Jason Parker
2007-10-22 20:05:18 +00:00
parent 8711a1dba7
commit ebe4050128
64 changed files with 308 additions and 308 deletions

View File

@@ -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[] = {
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"),
AST_CLI_DEFINE(handle_abort_shutdown, "Cancel a running shutdown"),
AST_CLI_DEFINE(handle_stop_now, "Shut down Asterisk immediately"),
AST_CLI_DEFINE(handle_stop_gracefully, "Gracefully shut down Asterisk"),
AST_CLI_DEFINE(handle_stop_when_convenient, "Shut down Asterisk at empty call volume"),
AST_CLI_DEFINE(handle_restart_now, "Restart Asterisk immediately"),
AST_CLI_DEFINE(handle_restart_gracefully, "Restart Asterisk gracefully"),
AST_CLI_DEFINE(handle_restart_when_convenient, "Restart Asterisk at empty call volume"),
AST_CLI_DEFINE(show_warranty, "Show the warranty (if any) for this copy of Asterisk"),
AST_CLI_DEFINE(show_license, "Show the license(s) for this copy of Asterisk"),
AST_CLI_DEFINE(handle_version, "Display version info"),
AST_CLI_DEFINE(handle_bang, "Execute a shell command"),
#if !defined(LOW_MEMORY)
AST_CLI(handle_show_version_files, "List versions of files used to build Asterisk"),
AST_CLI(handle_show_threads, "Show running threads"),
AST_CLI_DEFINE(handle_show_version_files, "List versions of files used to build Asterisk"),
AST_CLI_DEFINE(handle_show_threads, "Show running threads"),
#if defined(HAVE_SYSINFO)
AST_CLI(handle_show_sysinfo, "Show System Information"),
AST_CLI_DEFINE(handle_show_sysinfo, "Show System Information"),
#endif
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"),
AST_CLI_DEFINE(handle_show_profile, "Display profiling info"),
AST_CLI_DEFINE(handle_show_settings, "Show some core settings"),
AST_CLI_DEFINE(handle_clear_profile, "Clear profiling info"),
#endif /* ! LOW_MEMORY */
};