r20856: Make "struct notify_mid_map" private to notify.c
authorVolker Lendecke <vlendec@samba.org>
Wed, 17 Jan 2007 18:23:37 +0000 (18:23 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:17:14 +0000 (12:17 -0500)
source/include/smb.h
source/smbd/notify.c

index fc3acf6d6c00ea7369bb356bc6e8cf0a00df9066..cf754b5c1f91fba153c840406ce7390309556fdb 100644 (file)
@@ -442,6 +442,8 @@ struct notify_change {
        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_change_request {
        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,
index 6bedb17261f8b7b60d1a48b076406417548cd18a..3b01c2c786791885a867be33c8454996b1aa17a9 100644 (file)
@@ -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,