summaryrefslogtreecommitdiff
path: root/res/res_agi.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-09-21 21:59:12 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-09-21 21:59:12 +0000
commit6ae874151842eef4da11c870c418dc4b2b6c9d4b (patch)
treef166bba69d92b06b74ab2323297f68cfcd7789fb /res/res_agi.c
parentf1d824aabacb3dfbda8c406e0d4e22c279cf2638 (diff)
Lots more removal of deprecated things
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_agi.c')
-rw-r--r--res/res_agi.c30
1 files changed, 3 insertions, 27 deletions
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 <filename>\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)