summaryrefslogtreecommitdiff
path: root/examples/VFS
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2017-06-30 13:37:03 -0700
committerJeremy Allison <jra@samba.org>2017-07-01 07:20:28 +0200
commit51c1a2a45861c725f756f60ca05e6d1fa4ca34c6 (patch)
tree638186f129456040eb0bd33fc133acf6dc435177 /examples/VFS
parenta665ed4eea92adba91195f8096c93a2dfd31dbe4 (diff)
downloadsamba-51c1a2a45861c725f756f60ca05e6d1fa4ca34c6.tar.gz
s3: VFS: Change SMB_VFS_CONNECTPATH to take const struct smb_filename * instead of const char *.
We need to migrate all pathname based VFS calls to use a struct to finish modernising the VFS with extra timestamp and flags parameters. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jul 1 07:20:28 CEST 2017 on sn-devel-144
Diffstat (limited to 'examples/VFS')
-rw-r--r--examples/VFS/skel_opaque.c2
-rw-r--r--examples/VFS/skel_transparent.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index f8f98575f62..74ffb672024 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -614,7 +614,7 @@ static int skel_get_real_filename(struct vfs_handle_struct *handle,
}
static const char *skel_connectpath(struct vfs_handle_struct *handle,
- const char *filename)
+ const struct smb_filename *smb_fname)
{
errno = ENOSYS;
return NULL;
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index 29a97852974..e584d514655 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -739,9 +739,9 @@ static int skel_get_real_filename(struct vfs_handle_struct *handle,
}
static const char *skel_connectpath(struct vfs_handle_struct *handle,
- const char *filename)
+ const struct smb_filename *smb_fname)
{
- return SMB_VFS_NEXT_CONNECTPATH(handle, filename);
+ return SMB_VFS_NEXT_CONNECTPATH(handle, smb_fname);
}
static NTSTATUS skel_brl_lock_windows(struct vfs_handle_struct *handle,