diff options
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 754c51ee9d..f12f7e1570 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -59,9 +59,9 @@ uint32 crc32_calc_buffer( char *buffer, uint32 count); /*The following definitions come from lib/debug.c */ -void debug_message(pid_t src, void *buf, int len); +void debug_message(enum message_type msg_type, pid_t src, void *buf, size_t len); void debug_message_send(pid_t pid, int level); -void setup_logging( char *pname, BOOL interactive ); +void setup_logging(char *pname, BOOL interactive); void reopen_logs( void ); void force_check_log_size( void ); BOOL need_to_check_log_size( void ); @@ -155,6 +155,8 @@ void mdfour(unsigned char *out, unsigned char *in, int n); BOOL message_init(void); BOOL message_send_pid(pid_t pid, enum message_type msg_type, void *buf, size_t len); void message_dispatch(void); +void message_register(enum message_type msg_type, + void (*fn)(enum message_type msg_type, pid_t pid, void *buf, size_t len)); /*The following definitions come from lib/ms_fnmatch.c */ |