r14037: add ntvfs_next_notify()
authorStefan Metzmacher <metze@samba.org>
Wed, 8 Mar 2006 11:13:13 +0000 (11:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:52:37 +0000 (13:52 -0500)
metze
(This used to be commit d4c0f8900e908bc70fd66059fc667432329abf89)

source4/ntvfs/ntvfs_interface.c

index be536d5eeff2feafbc36cf09bf3bd3760f645b89..a3a605c0c893a3e5156fb99061bec12579ed98bb 100644 (file)
@@ -629,3 +629,15 @@ _PUBLIC_ NTSTATUS ntvfs_next_cancel(struct ntvfs_module_context *ntvfs,
        }
        return ntvfs->next->ops->cancel(ntvfs->next, req);
 }
+
+/*
+  change notify request
+*/
+_PUBLIC_ NTSTATUS ntvfs_next_notify(struct ntvfs_module_context *ntvfs,
+                                   struct smbsrv_request *req, struct smb_notify *info)
+{
+       if (!ntvfs->next || !ntvfs->next->ops->notify) {
+               return NT_STATUS_NOT_IMPLEMENTED;
+       }
+       return ntvfs->next->ops->notify(ntvfs, req, info);
+}