diff options
author | Martin Pool <mbp@samba.org> | 2001-12-19 07:49:25 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-12-19 07:49:25 +0000 |
commit | e2b080587c4d6e147cf7274fa7e09e89ae2083c3 (patch) | |
tree | 6423559c5b4a2a0991a1b4262f914315d624afec | |
parent | 4c6c03c8c7c18762dd9ef1a1bd88350b8960542f (diff) | |
download | samba-e2b080587c4d6e147cf7274fa7e09e89ae2083c3.tar.gz |
Doc how to reply to messages.
-rw-r--r-- | source/lib/messages.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/lib/messages.c b/source/lib/messages.c index b4fd82139ea..f63e2c47668 100644 --- a/source/lib/messages.c +++ b/source/lib/messages.c @@ -19,13 +19,20 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* this module is used for internal messaging between Samba daemons. +/** + @file messages.c + + This module is used for internal messaging between Samba daemons. The idea is that if a part of Samba wants to do communication with another Samba process then it will do a message_register() of a dispatch function, and use message_send_pid() to send messages to that process. + The dispatch function is given the pid of the sender, and it can + use that to reply by message_send_pid(). See ping_message() for a + simple example. + This system doesn't have any inherent size limitations but is not very efficient for large messages or when messages are sent in very quick succession. |