summaryrefslogtreecommitdiff
path: root/include/asterisk/cli.h
diff options
context:
space:
mode:
authorMichiel van Baak <michiel@vanbaak.info>2008-11-12 06:46:04 +0000
committerMichiel van Baak <michiel@vanbaak.info>2008-11-12 06:46:04 +0000
commit86f900b20105bf5e918d8347cab8557f33d5fdae (patch)
tree95cbe393b660ef9b967378388db5bd09c7a890f4 /include/asterisk/cli.h
parent5b25c263181989a1f86be2c2c94c4425ec30721a (diff)
This commit does two things:
- Add CLI aliases module to asterisk. - Remove all deprecated CLI commands from the code Initial work done by file. Junk-Y and lmadsen did a lot of work and testing to get the list of deprecated commands into the configuration file. Deprecated CLI commands are now handled by this new module, see cli_aliases.conf for more info about that. ok russellb@ via reviewboard (closes issue #13735) Reported by: mvanbaak git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@156120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/cli.h')
-rw-r--r--include/asterisk/cli.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asterisk/cli.h b/include/asterisk/cli.h
index 854c189ff..8b337aea1 100644
--- a/include/asterisk/cli.h
+++ b/include/asterisk/cli.h
@@ -154,21 +154,15 @@ struct ast_cli_entry {
const char *summary; /*!< Summary of the command (< 60 characters) */
const char *usage; /*!< Detailed usage information */
- struct ast_cli_entry *deprecate_cmd;
-
int inuse; /*!< For keeping track of usage */
struct module *module; /*!< module this belongs to */
char *_full_cmd; /*!< built at load time from cmda[] */
int cmdlen; /*!< len up to the first invalid char [<{% */
/*! \brief This gets set in ast_cli_register()
- It then gets set to something different when the deprecated command
- is run for the first time (ie; after we warn the user that it's deprecated)
*/
int args; /*!< number of non-null entries in cmda */
char *command; /*!< command, non-null for new-style entries */
- int deprecated;
cli_fn handler;
- char *_deprecated_by; /*!< copied from the "parent" _full_cmd, on deprecated commands */
/*! For linking */
AST_LIST_ENTRY(ast_cli_entry) list;
};