summaryrefslogtreecommitdiff
path: root/examples/VFS/skel_opaque.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2017-06-29 14:32:47 -0700
committerJeremy Allison <jra@samba.org>2017-07-01 03:07:11 +0200
commitbd9285b19741128bae501b721d9e63dd9a9bd833 (patch)
tree7fd477f84fc8d1e072e3acb550157ab2da68b597 /examples/VFS/skel_opaque.c
parent6acb0d6ca08d72f776d3ba9dc934261a481aa737 (diff)
downloadsamba-bd9285b19741128bae501b721d9e63dd9a9bd833.tar.gz
s3: VFS: Change SMB_VFS_GETWD to return struct smb_filename * instead of 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>
Diffstat (limited to 'examples/VFS/skel_opaque.c')
-rw-r--r--examples/VFS/skel_opaque.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index fd81ca03561..8bfc520c8eb 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -419,7 +419,8 @@ static int skel_chdir(vfs_handle_struct *handle,
return -1;
}
-static char *skel_getwd(vfs_handle_struct *handle)
+static struct smb_filename *skel_getwd(vfs_handle_struct *handle,
+ TALLOC_CTX *ctx)
{
errno = ENOSYS;
return NULL;