summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2020-04-30 19:30:50 +0200
committerJeremy Allison <jra@samba.org>2020-05-05 19:18:41 +0000
commit26ca22fa146b481262cb5baccf3910199450d72b (patch)
tree89980f2887d708f6a3d7c8261c6519893467332a /examples
parent7fca428cfb99d9da2b6a8dedb4ddc27c1347e334 (diff)
downloadsamba-26ca22fa146b481262cb5baccf3910199450d72b.tar.gz
smbd: vfs: convert link_contents arg of SMB_VFS_SYMLINKAT() to struct smb_filename
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/VFS/skel_opaque.c2
-rw-r--r--examples/VFS/skel_transparent.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index bab1d34469c..cc3aa7eae6b 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -462,7 +462,7 @@ static bool skel_getlock(vfs_handle_struct *handle, files_struct *fsp,
}
static int skel_symlinkat(vfs_handle_struct *handle,
- const char *link_contents,
+ const struct smb_filename *link_contents,
struct files_struct *dirfsp,
const struct smb_filename *new_smb_fname)
{
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index 92f9e8a8123..235d4533df3 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -587,7 +587,7 @@ static bool skel_getlock(vfs_handle_struct *handle, files_struct *fsp,
}
static int skel_symlinkat(vfs_handle_struct *handle,
- const char *link_contents,
+ const struct smb_filename *link_contents,
struct files_struct *dirfsp,
const struct smb_filename *new_smb_fname)
{