r21064: The core of this patch is
authorVolker Lendecke <vlendec@samba.org>
Tue, 30 Jan 2007 22:22:06 +0000 (22:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:17:32 +0000 (12:17 -0500)
commitcaf8c6a76be051559ffcfe97084edca43e0a3cee
treecbab678e47d5174ba24bca915e47992e2b8d8206
parentcb916d33f534aef5e3527c41555d32c319345fef
r21064: The core of this patch is

 void message_register(int msg_type,
                      void (*fn)(int msg_type, struct process_id pid,
-                                void *buf, size_t len))
+                                void *buf, size_t len,
+                                void *private_data),
+                     void *private_data)
 {
        struct dispatch_fns *dfn;

So this adds a (so far unused) private pointer that is passed from
message_register to the message handler. A prerequisite to implement a tiny
samba4-API compatible wrapper around our messaging system. That itself is
necessary for the Samba4 notify system.

Yes, I know, I could import the whole Samba4 messaging system, but I want to
do it step by step and I think getting notify in is more important in this
step.

Volker
(This used to be commit c8ae60ed65dcce9660ee39c75488f2838cf9a28b)
23 files changed:
source3/lib/debug.c
source3/lib/dmallocmsg.c
source3/lib/messages.c
source3/lib/tallocmsg.c
source3/nmbd/nmbd.c
source3/nmbd/nmbd_elections.c
source3/nmbd/nmbd_winsserver.c
source3/nsswitch/winbindd.c
source3/nsswitch/winbindd_cm.c
source3/nsswitch/winbindd_dual.c
source3/printing/nt_printing.c
source3/printing/printing.c
source3/profile/profile.c
source3/rpc_server/srv_spoolss_nt.c
source3/smbd/blocking.c
source3/smbd/conn.c
source3/smbd/notify.c
source3/smbd/open.c
source3/smbd/oplock.c
source3/smbd/server.c
source3/torture/msgtest.c
source3/utils/net_ads.c
source3/utils/smbcontrol.c