svn commit: samba r20856 - in branches/SAMBA_3_0/source: include
smbd
vlendec at samba.org
vlendec at samba.org
Wed Jan 17 18:23:38 GMT 2007
Author: vlendec
Date: 2007-01-17 18:23:37 +0000 (Wed, 17 Jan 2007)
New Revision: 20856
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20856
Log:
Make "struct notify_mid_map" private to notify.c
Modified:
branches/SAMBA_3_0/source/include/smb.h
branches/SAMBA_3_0/source/smbd/notify.c
Changeset:
Modified: branches/SAMBA_3_0/source/include/smb.h
===================================================================
--- branches/SAMBA_3_0/source/include/smb.h 2007-01-17 16:55:37 UTC (rev 20855)
+++ branches/SAMBA_3_0/source/include/smb.h 2007-01-17 18:23:37 UTC (rev 20856)
@@ -442,6 +442,8 @@
char *name;
};
+struct notify_mid_map;
+
struct notify_change_request {
struct notify_change_request *prev, *next;
struct files_struct *fsp; /* backpointer for cancel by mid */
@@ -451,17 +453,6 @@
struct notify_mid_map *mid_map;
};
-/*
- * For NTCancel, we need to find the notify_change_request indexed by
- * mid. Separate list here.
- */
-
-struct notify_mid_map {
- struct notify_mid_map *prev, *next;
- struct notify_change_request *req;
- uint16 mid;
-};
-
struct notify_change_buf {
/*
* If no requests are pending, changes are queued here. Simple array,
Modified: branches/SAMBA_3_0/source/smbd/notify.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/notify.c 2007-01-17 16:55:37 UTC (rev 20855)
+++ branches/SAMBA_3_0/source/smbd/notify.c 2007-01-17 18:23:37 UTC (rev 20856)
@@ -40,6 +40,17 @@
void *change_data;
};
+/*
+ * For NTCancel, we need to find the notify_change_request indexed by
+ * mid. Separate list here.
+ */
+
+struct notify_mid_map {
+ struct notify_mid_map *prev, *next;
+ struct notify_change_request *req;
+ uint16 mid;
+};
+
static struct change_notify *change_notify_list;
static BOOL notify_marshall_changes(unsigned num_changes,
More information about the samba-cvs
mailing list