Fix the examples/VFS build.
authorJeremy Allison <jra@samba.org>
Mon, 7 Mar 2011 12:46:20 +0000 (04:46 -0800)
committerJeremy Allison <jra@samba.org>
Mon, 7 Mar 2011 14:11:25 +0000 (15:11 +0100)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Mar  7 15:11:25 CET 2011 on sn-devel-104

examples/VFS/skel_opaque.c
examples/VFS/skel_transparent.c

index c7350e2810e108baaf96d903d16388b6eded7ed9..ef7c3afa422507811319e5542f1895b56837850f 100644 (file)
@@ -477,19 +477,19 @@ static NTSTATUS skel_translate_name(struct vfs_handle_struct *handle,
 }
 
 static NTSTATUS skel_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
-       uint32 security_info, SEC_DESC **ppdesc)
+       uint32 security_info, struct security_descriptor **ppdesc)
 {
        return NT_STATUS_NOT_IMPLEMENTED;
 }
 
 static NTSTATUS skel_get_nt_acl(vfs_handle_struct *handle,
-       const char *name, uint32 security_info, SEC_DESC **ppdesc)
+       const char *name, uint32 security_info, struct security_descriptor **ppdesc)
 {
        return NT_STATUS_NOT_IMPLEMENTED;
 }
 
 static NTSTATUS skel_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
-       uint32 security_info_sent, const SEC_DESC *psd)
+       uint32 security_info_sent, const struct security_descriptor *psd)
 {
        return NT_STATUS_NOT_IMPLEMENTED;
 }
index ed55c20fb8e436e99e45bd11302a45d2dd90d550..403e28da5f1510850c0641c92d6836e3a0845ec0 100644 (file)
@@ -298,7 +298,7 @@ static int skel_ftruncate(vfs_handle_struct *handle, files_struct *fsp, SMB_OFF_
 }
 
 static int skel_fallocate(vfs_handle_struct *handle, files_struct *fsp,
-                       enum vfs_fallocate_mode,
+                       enum vfs_fallocate_mode mode,
                        SMB_OFF_T offset,
                        SMB_OFF_T len)
 {
@@ -468,19 +468,19 @@ static NTSTATUS skel_translate_name(struct vfs_handle_struct *handle,
 }
 
 static NTSTATUS skel_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
-       uint32 security_info, SEC_DESC **ppdesc)
+       uint32 security_info, struct security_descriptor **ppdesc)
 {
        return SMB_VFS_NEXT_FGET_NT_ACL(handle, fsp, security_info, ppdesc);
 }
 
 static NTSTATUS skel_get_nt_acl(vfs_handle_struct *handle,
-       const char *name, uint32 security_info, SEC_DESC **ppdesc)
+       const char *name, uint32 security_info, struct security_descriptor **ppdesc)
 {
        return SMB_VFS_NEXT_GET_NT_ACL(handle, name, security_info, ppdesc);
 }
 
 static NTSTATUS skel_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
-       uint32 security_info_sent, const SEC_DESC *psd)
+       uint32 security_info_sent, const struct security_descriptor *psd)
 {
        return SMB_VFS_NEXT_FSET_NT_ACL(handle, fsp, security_info_sent, psd);
 }