diff options
| author | Andrew Tridgell <tridge@samba.org> | 2000-09-13 07:07:17 +0000 |
|---|---|---|
| committer | Andrew Tridgell <tridge@samba.org> | 2000-09-13 07:07:17 +0000 |
| commit | 7be9a4fd4c044fa98c434bbdbf0f8229f1101bbb (patch) | |
| tree | 4fb2514564d1ba64a5e4f358e066e8dbdc2a24cd /source3/include/proto.h | |
| parent | a5ac83d2b2fe84d5e940d94269ae6fb61167a809 (diff) | |
| download | samba-7be9a4fd4c044fa98c434bbdbf0f8229f1101bbb.tar.gz samba-7be9a4fd4c044fa98c434bbdbf0f8229f1101bbb.tar.xz samba-7be9a4fd4c044fa98c434bbdbf0f8229f1101bbb.zip | |
first cut at smbcontrol program. It currently allows syntax like:
smbcontrol nmbd debug 7
smbcontrol smbd debug 9
smbcontrol 3278 debug 1
smbcontrol nmbd force-election
(This used to be commit 5f91c24636f5d82486f22c10bc55e060f9c518bf)
Diffstat (limited to 'source3/include/proto.h')
| -rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 4fc539ef6e..2d04cb2a93 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -152,11 +152,14 @@ void mdfour(unsigned char *out, unsigned char *in, int n); /*The following definitions come from lib/messages.c */ +void ping_message(int msg_type, pid_t src, void *buf, size_t len); BOOL message_init(void); BOOL message_send_pid(pid_t pid, int msg_type, void *buf, size_t len); void message_dispatch(void); void message_register(int msg_type, void (*fn)(int msg_type, pid_t pid, void *buf, size_t len)); +void message_deregister(int msg_type); +BOOL message_send_all(int msg_type, void *buf, size_t len); /*The following definitions come from lib/ms_fnmatch.c */ |
