diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-09-11 07:02:43 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-09-11 07:02:43 +0000 |
commit | 3689e4ffc10fceb4c39814ef58fe31697e7dd976 (patch) | |
tree | 805fc5690a3b97e4e72866519760ee86a038c781 /source3/include/proto.h | |
parent | e0f9de0c49dde82610b0da406b4685e787f69725 (diff) | |
download | samba-3689e4ffc10fceb4c39814ef58fe31697e7dd976.tar.gz samba-3689e4ffc10fceb4c39814ef58fe31697e7dd976.tar.bz2 samba-3689e4ffc10fceb4c39814ef58fe31697e7dd976.zip |
the first cut of the internal messaging system.
The motivation for this system is to replace the UDP message for
oplocks, but this commit only does the "set debug level" message.
(This used to be commit 2a34ee95f3929cff131db6c5a2b4820194c05b2d)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 737053a2a3..754c51ee9d 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -59,8 +59,8 @@ uint32 crc32_calc_buffer( char *buffer, uint32 count); /*The following definitions come from lib/debug.c */ -void sig_usr2( int sig ); -void sig_usr1( int sig ); +void debug_message(pid_t src, void *buf, int len); +void debug_message_send(pid_t pid, int level); void setup_logging( char *pname, BOOL interactive ); void reopen_logs( void ); void force_check_log_size( void ); @@ -150,6 +150,12 @@ void initialize_multibyte_vectors( int client_codepage); void mdfour(unsigned char *out, unsigned char *in, int n); +/*The following definitions come from lib/messages.c */ + +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); + /*The following definitions come from lib/ms_fnmatch.c */ int ms_fnmatch(char *pattern, char *string); |