summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/logger.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index 2695efb99..cb7818091 100644
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -88,8 +88,9 @@ int ast_unregister_verbose(void (*verboser)(const char *string)) __attribute__((
void ast_console_puts(const char *string);
-void ast_console_puts_mutable(const char *string);
+void ast_console_puts_mutable(const char *string, int level);
void ast_console_toggle_mute(int fd, int silent);
+void ast_console_toggle_loglevel(int fd, int leve, int state);
/* Note: The AST_LOG_* macros below are the same as
* the LOG_* macros and are intended to eventually replace
@@ -178,6 +179,8 @@ void ast_console_toggle_mute(int fd, int silent);
#endif
#define AST_LOG_DTMF __LOG_DTMF, _A_
+#define NUMLOGLEVELS 6
+
/*!
* \brief Get the debug level for a file
* \arg file the filename