s3: VFS: Change SMB_VFS_GETWD to return struct smb_filename * instead of char *.
[samba.git] / examples / VFS / skel_transparent.c
index 4c061ca..a5ba6a9 100644 (file)
@@ -521,9 +521,10 @@ static int skel_chdir(vfs_handle_struct *handle,
        return SMB_VFS_NEXT_CHDIR(handle, smb_fname);
 }
 
-static char *skel_getwd(vfs_handle_struct *handle)
+static struct smb_filename *skel_getwd(vfs_handle_struct *handle,
+                                       TALLOC_CTX *ctx)
 {
-       return SMB_VFS_NEXT_GETWD(handle);
+       return SMB_VFS_NEXT_GETWD(handle, ctx);
 }
 
 static int skel_ntimes(vfs_handle_struct *handle,