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)
commitc8ae60ed65dcce9660ee39c75488f2838cf9a28b
tree370e036b8de89f67d2d90cb5978870ff22bbe8c8
parent7e17e54cb729e34c935927fe69a43690c7f446ae
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
23 files changed:
source/lib/debug.c
source/lib/dmallocmsg.c
source/lib/messages.c
source/lib/tallocmsg.c
source/nmbd/nmbd.c
source/nmbd/nmbd_elections.c
source/nmbd/nmbd_winsserver.c
source/nsswitch/winbindd.c
source/nsswitch/winbindd_cm.c
source/nsswitch/winbindd_dual.c
source/printing/nt_printing.c
source/printing/printing.c
source/profile/profile.c
source/rpc_server/srv_spoolss_nt.c
source/smbd/blocking.c
source/smbd/conn.c
source/smbd/notify.c
source/smbd/open.c
source/smbd/oplock.c
source/smbd/server.c
source/torture/msgtest.c
source/utils/net_ads.c
source/utils/smbcontrol.c