s3: Pass filters explicitly through vfs notify watch
[ab/samba.git/.git] / source3 / include / vfs.h
index c038c56f469743b78c8112fb3a3ae96936d4885d..212da7e51409acabe626504fc245a6b46aa1a89a 100644 (file)
@@ -284,8 +284,9 @@ struct vfs_fn_pointers {
        char *(*realpath_fn)(struct vfs_handle_struct *handle, const char *path);
        NTSTATUS (*notify_watch_fn)(struct vfs_handle_struct *handle,
                                    struct sys_notify_context *ctx,
-                                   struct notify_entry *e,
                                    const char *path,
+                                   uint32_t *filter,
+                                   uint32_t *subdir_filter,
                                    void (*callback)(struct sys_notify_context *ctx,
                                                     void *private_data,
                                                     struct notify_event *ev),
@@ -676,8 +677,9 @@ int smb_vfs_call_mknod(struct vfs_handle_struct *handle, const char *path,
 char *smb_vfs_call_realpath(struct vfs_handle_struct *handle, const char *path);
 NTSTATUS smb_vfs_call_notify_watch(struct vfs_handle_struct *handle,
                                   struct sys_notify_context *ctx,
-                                  struct notify_entry *e,
                                   const char *name,
+                                  uint32_t *filter,
+                                  uint32_t *subdir_filter,
                                   void (*callback)(struct sys_notify_context *ctx,
                                                    void *private_data,
                                                    struct notify_event *ev),