summaryrefslogtreecommitdiffstats
path: root/source/smbd/notify.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-17 18:23:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:14 -0500
commitbeecef0c70521d28dd88552d661281d9c585eb22 (patch)
tree44a26a29a2c2f624f6ff19491bbd8ef15c1aaee0 /source/smbd/notify.c
parent5533cdeec1b0cdee39b1d89e2320587dc9281ee6 (diff)
downloadsamba-beecef0c70521d28dd88552d661281d9c585eb22.tar.gz
samba-beecef0c70521d28dd88552d661281d9c585eb22.tar.xz
samba-beecef0c70521d28dd88552d661281d9c585eb22.zip
r20856: Make "struct notify_mid_map" private to notify.c
Diffstat (limited to 'source/smbd/notify.c')
-rw-r--r--source/smbd/notify.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/smbd/notify.c b/source/smbd/notify.c
index 6bedb17261f..3b01c2c7867 100644
--- a/source/smbd/notify.c
+++ b/source/smbd/notify.c
@@ -40,6 +40,17 @@ struct change_notify {
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,