mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
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:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user