r14157: - pass a struct ntvfs_request to the ntvfs layer
[samba.git] / source4 / ntvfs / ntvfs_util.c
index 861f266271b7d7f72bd92a6f1c06b86162194423..c7b99d3d24410f63702b7ad770412ccbc0fecce4 100644 (file)
 #include "ntvfs/ntvfs.h"
 
 
-_PUBLIC_ NTSTATUS ntvfs_async_state_push(struct smbsrv_request *req,
+_PUBLIC_ NTSTATUS ntvfs_async_state_push(struct ntvfs_module_context *ntvfs,
+                                        struct ntvfs_request *req,
                                         void *private_data,
-                                        void (*send_fn)(struct smbsrv_request *),
-                                        struct ntvfs_module_context *ntvfs)
+                                        void (*send_fn)(struct ntvfs_request *))
 {
        struct ntvfs_async_state *async;
 
@@ -51,7 +51,7 @@ _PUBLIC_ NTSTATUS ntvfs_async_state_push(struct smbsrv_request *req,
        return NT_STATUS_OK;
 }
 
-_PUBLIC_ void ntvfs_async_state_pop(struct smbsrv_request *req)
+_PUBLIC_ void ntvfs_async_state_pop(struct ntvfs_request *req)
 {
        struct ntvfs_async_state *async;