|
|
Author: vlendec
Date: 2007-01-30 22:22:06 +0000 (Tue, 30 Jan 2007)
New Revision: 21064
WebSVN:
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21064
Log:
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
Modified:
branches/SAMBA_3_0/source/lib/debug.c
branches/SAMBA_3_0/source/lib/dmallocmsg.c
branches/SAMBA_3_0/source/lib/messages.c
branches/SAMBA_3_0/source/lib/tallocmsg.c
branches/SAMBA_3_0/source/nmbd/nmbd.c
branches/SAMBA_3_0/source/nmbd/nmbd_elections.c
branches/SAMBA_3_0/source/nmbd/nmbd_winsserver.c
branches/SAMBA_3_0/source/nsswitch/winbindd.c
branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c
branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
branches/SAMBA_3_0/source/printing/nt_printing.c
branches/SAMBA_3_0/source/printing/printing.c
branches/SAMBA_3_0/source/profile/profile.c
branches/SAMBA_3_0/source/rpc_server/srv_spoolss_nt.c
branches/SAMBA_3_0/source/smbd/blocking.c
branches/SAMBA_3_0/source/smbd/conn.c
branches/SAMBA_3_0/source/smbd/notify.c
branches/SAMBA_3_0/source/smbd/open.c
branches/SAMBA_3_0/source/smbd/oplock.c
branches/SAMBA_3_0/source/smbd/server.c
branches/SAMBA_3_0/source/torture/msgtest.c
branches/SAMBA_3_0/source/utils/net_ads.c
branches/SAMBA_3_0/source/utils/smbcontrol.c
Changeset:
Sorry, the patch is too large (970 lines) to include; please use WebSVN to see
it!
WebSVN:
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21064
|
|