mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 14:56:58 +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:
@@ -102,6 +102,9 @@ int ast_cdr_copy_vars(struct ast_cdr *to_cdr, struct ast_cdr *from_cdr);
|
||||
|
||||
typedef int (*ast_cdrbe)(struct ast_cdr *cdr);
|
||||
|
||||
/*! \brief Return TRUE if CDR subsystem is enabled */
|
||||
int check_cdr_enabled(void);
|
||||
|
||||
/*! \brief Allocate a CDR record
|
||||
* Returns a malloc'd ast_cdr structure, returns NULL on error (malloc failure)
|
||||
*/
|
||||
|
@@ -155,6 +155,9 @@ int ast_update_realtime(const char *family, const char *keyfield, const char *lo
|
||||
*/
|
||||
int ast_check_realtime(const char *family);
|
||||
|
||||
/*! \brief Check if there's any realtime engines loaded */
|
||||
int ast_realtime_enabled(void);
|
||||
|
||||
/*! \brief Free variable list
|
||||
* \param var the linked list of variables to free
|
||||
* This function frees a list of variables.
|
||||
|
@@ -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