s3: VFS: Change SMB_VFS_CONNECTPATH to take const struct smb_filename * instead of...
[samba.git] / examples / VFS / skel_opaque.c
index d5c468ebd994043fa542828ef084e84a4dda2210..74ffb672024a96f2e2afea721bf8e3d3130b063d 100644 (file)
@@ -412,13 +412,15 @@ static int skel_lchown(vfs_handle_struct *handle,
        return -1;
 }
 
-static int skel_chdir(vfs_handle_struct *handle, const char *path)
+static int skel_chdir(vfs_handle_struct *handle,
+                       const struct smb_filename *smb_fname)
 {
        errno = ENOSYS;
        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;
@@ -510,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;
@@ -610,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;