summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/notify.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index 6bedb17261..3b01c2c786 100644
--- a/source3/smbd/notify.c
+++ b/source3/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,