From 6ae874151842eef4da11c870c418dc4b2b6c9d4b Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Thu, 21 Sep 2006 21:59:12 +0000 Subject: Lots more removal of deprecated things git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43452 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_agi.c | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) (limited to 'res/res_agi.c') diff --git a/res/res_agi.c b/res/res_agi.c index 736cea394..e38cef2c2 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -1314,15 +1314,6 @@ static int agi_do_debug(int fd, int argc, char *argv[]) return RESULT_SUCCESS; } -static int agi_no_debug_deprecated(int fd, int argc, char *argv[]) -{ - if (argc != 3) - return RESULT_SHOWUSAGE; - agidebug = 0; - ast_cli(fd, "AGI Debugging Disabled\n"); - return RESULT_SUCCESS; -} - static int agi_no_debug(int fd, int argc, char *argv[]) { if (argc != 2) @@ -2093,21 +2084,6 @@ static char dumpagihtml_help[] = "Usage: agi dumphtml \n" " Dumps the agi command list in html format to given filename\n"; -static struct ast_cli_entry cli_show_agi_deprecated = { - { "show", "agi", NULL }, - handle_showagi, NULL, - NULL }; - -static struct ast_cli_entry cli_dump_agihtml_deprecated = { - { "dump", "agihtml", NULL }, - handle_agidumphtml, NULL, - NULL }; - -static struct ast_cli_entry cli_agi_no_debug_deprecated = { - { "agi", "no", "debug", NULL }, - agi_no_debug_deprecated, NULL, - NULL }; - static struct ast_cli_entry cli_agi[] = { { { "agi", "debug", NULL }, agi_do_debug, "Enable AGI debugging", @@ -2115,15 +2091,15 @@ static struct ast_cli_entry cli_agi[] = { { { "agi", "nodebug", NULL }, agi_no_debug, "Disable AGI debugging", - no_debug_usage, NULL, &cli_agi_no_debug_deprecated }, + no_debug_usage }, { { "agi", "list", NULL }, handle_showagi, "List AGI commands or specific help", - showagi_help, NULL, &cli_show_agi_deprecated }, + showagi_help }, { { "agi", "dumphtml", NULL }, handle_agidumphtml, "Dumps a list of agi commands in html format", - dumpagihtml_help, NULL, &cli_dump_agihtml_deprecated }, + dumpagihtml_help }, }; static int unload_module(void) -- cgit v1.2.3