summaryrefslogtreecommitdiff
path: root/examples/VFS/skel_opaque.c
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2009-12-07 10:15:49 +0100
committerKarolin Seeger <kseeger@samba.org>2009-12-07 10:15:49 +0100
commitfe01e0e1a5a07ddefdc09f24d44c7e66886405b8 (patch)
tree6ad9dfd066d1b7830dd71f0f189ac02195a1d429 /examples/VFS/skel_opaque.c
parent9b0780cf00e966a8df3dce698f37b6acaa28050d (diff)
downloadsamba-fe01e0e1a5a07ddefdc09f24d44c7e66886405b8.tar.gz
samba-fe01e0e1a5a07ddefdc09f24d44c7e66886405b8.tar.bz2
samba-fe01e0e1a5a07ddefdc09f24d44c7e66886405b8.zip
examples: Fix the build of the example VFS modules.
Karolin
Diffstat (limited to 'examples/VFS/skel_opaque.c')
-rw-r--r--examples/VFS/skel_opaque.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index 243621e4c6..380b3b6f1a 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -313,7 +313,7 @@ static bool skel_lock(vfs_handle_struct *handle, files_struct *fsp, int op, SMB_
return false;
}
-static int skel_kernel_flock(struct vfs_handle_struct *handle, struct files_struct *fsp, uint32 share_mode)
+static int skel_kernel_flock(struct vfs_handle_struct *handle, struct files_struct *fsp, uint32 share_mode, uint32 access_mask)
{
errno = ENOSYS;
return -1;
@@ -454,8 +454,10 @@ static void skel_strict_unlock(struct vfs_handle_struct *handle,
}
static NTSTATUS skel_translate_name(struct vfs_handle_struct *handle,
- char **mapped_name,
- enum vfs_translate_direction direction)
+ const char *mapped_name,
+ enum vfs_translate_direction direction,
+ TALLOC_CTX *mem_ctx,
+ char **pmapped_name)
{
return NT_STATUS_NOT_IMPLEMENTED;
}