diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-10-24 20:25:18 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-10-24 18:40:13 +0000 |
commit | cbee24b2da4e067d751c3f8d30bf34a8cc1e08d0 (patch) | |
tree | 5e018b322febb4d1e91828da6ff26495060a304d /source3/include/debug.h | |
parent | dbc934ee4b98f04b4c21d650a018e8aae9e437fa (diff) | |
download | samba-cbee24b2da4e067d751c3f8d30bf34a8cc1e08d0.tar.gz samba-cbee24b2da4e067d751c3f8d30bf34a8cc1e08d0.tar.bz2 samba-cbee24b2da4e067d751c3f8d30bf34a8cc1e08d0.zip |
s3:include: move debug.c prototypes to debug.h
metze
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 |