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

@@ -2744,11 +2744,11 @@ static char *handle_cli_h323_show_tokens(struct ast_cli_entry *e, int cmd, struc
}
static struct ast_cli_entry cli_h323[] = {
AST_CLI(handle_cli_h323_set_trace, "Enable/Disable H.323 Stack Tracing"),
AST_CLI(handle_cli_h323_set_debug, "Enable/Disable H.323 Debugging"),
AST_CLI(handle_cli_h323_cycle_gk, "Manually re-register with the Gatekeper"),
AST_CLI(handle_cli_h323_hangup, "Manually try to hang up a call"),
AST_CLI(handle_cli_h323_show_tokens, "Show all active call tokens"),
AST_CLI_DEFINE(handle_cli_h323_set_trace, "Enable/Disable H.323 Stack Tracing"),
AST_CLI_DEFINE(handle_cli_h323_set_debug, "Enable/Disable H.323 Debugging"),
AST_CLI_DEFINE(handle_cli_h323_cycle_gk, "Manually re-register with the Gatekeper"),
AST_CLI_DEFINE(handle_cli_h323_hangup, "Manually try to hang up a call"),
AST_CLI_DEFINE(handle_cli_h323_show_tokens, "Show all active call tokens"),
};
static int reload_config(int is_reload)
@@ -3078,7 +3078,7 @@ static int reload(void)
}
static struct ast_cli_entry cli_h323_reload =
AST_CLI(handle_cli_h323_reload, "Reload H.323 configuration");
AST_CLI_DEFINE(handle_cli_h323_reload, "Reload H.323 configuration");
static enum ast_rtp_get_result oh323_get_rtp_peer(struct ast_channel *chan, struct ast_rtp **rtp)
{