Doc how to reply to messages.
authorMartin Pool <mbp@samba.org>
Wed, 19 Dec 2001 07:49:25 +0000 (07:49 +0000)
committerMartin Pool <mbp@samba.org>
Wed, 19 Dec 2001 07:49:25 +0000 (07:49 +0000)
(This used to be commit e2b080587c4d6e147cf7274fa7e09e89ae2083c3)

source3/lib/messages.c

index b4fd82139ead3dd8096c1d1335c8e2bcaf9fdfee..f63e2c4766810f0c62c48cee7fcfa714724532b5 100644 (file)
    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.