diff options
author | Jeremy Allison <jra@samba.org> | 2017-06-30 11:32:59 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-07-01 03:07:11 +0200 |
commit | c29438f8238c3cf436e126c99f6f9f6bcca4efaf (patch) | |
tree | cff5f451fe83b9189eca4ca8f2c9530a8bfc2fa9 /examples/VFS/skel_opaque.c | |
parent | bd9285b19741128bae501b721d9e63dd9a9bd833 (diff) | |
download | samba-c29438f8238c3cf436e126c99f6f9f6bcca4efaf.tar.gz |
s3: VFS: Change SMB_VFS_REALPATH to take and 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.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 8bfc520c8eb..f8f98575f62 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -512,7 +512,9 @@ static int skel_mknod(vfs_handle_struct *handle, return -1; } -static char *skel_realpath(vfs_handle_struct *handle, const char *path) +static struct smb_filename *skel_realpath(vfs_handle_struct *handle, + TALLOC_CTX *ctx, + const struct smb_filename *smb_fname) { errno = ENOSYS; return NULL; |