New CLI command "Core show settings" to list some core settings

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2007-02-14 20:22:20 +00:00
parent daa5f504ec
commit 8ac0fb2bc3
7 changed files with 106 additions and 8 deletions

View File

@@ -62,6 +62,7 @@
/* Manager Helper Function */
typedef int (*manager_hook_t)(int, const char *, char *);
struct manager_custom_hook {
/*! Identifier */
char *file;
@@ -71,6 +72,12 @@ struct manager_custom_hook {
AST_RWLIST_ENTRY(manager_custom_hook) list;
};
/*! \brief Check if AMI is enabled */
int check_manager_enabled(void);
/*! \brief Check if AMI/HTTP is enabled */
int check_webmanager_enabled(void);
/*! Add a custom hook to be called when an event is fired */
/*! \param hook struct manager_custom_hook object to add
*/