diff options
Diffstat (limited to 'source3/include/debug.h')
-rw-r--r-- | source3/include/debug.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source3/include/debug.h b/source3/include/debug.h index 1e7e51433d..467fb2f122 100644 --- a/source3/include/debug.h +++ b/source3/include/debug.h @@ -248,4 +248,25 @@ extern bool *DEBUGLEVEL_CLASS_ISSET; #define DEBUGSEP(level)\ DEBUG((level),("===============================================================\n")) +/* The following definitions come from lib/debug.c */ + +void gfree_debugsyms(void); +const char *debug_classname_from_index(int ndx); +int debug_add_class(const char *classname); +int debug_lookup_classname(const char *classname); +bool debug_parse_levels(const char *params_str); +void debug_message(struct messaging_context *msg_ctx, void *private_data, uint32_t msg_type, struct server_id src, DATA_BLOB *data); +void debug_init(void); +void debug_register_msgs(struct messaging_context *msg_ctx); +void setup_logging(const char *pname, bool interactive); +void setup_logging_stdout( void ); +void debug_set_logfile(const char *name); +bool reopen_logs( void ); +void force_check_log_size( void ); +bool need_to_check_log_size( void ); +void check_log_size( void ); +void dbgflush( void ); +bool dbghdrclass(int level, int cls, const char *location, const char *func); +bool dbghdr(int level, const char *location, const char *func); + #endif |