Extend NTIMES to allow setting create_time
[jra/samba/.git] / examples / VFS / skel_transparent.c
index e6dee97775b92070b19dedd2a144e6d154450e10..f5562a5f444d9dabb01a9b8f0a615c8ff45f4c44 100644 (file)
@@ -224,9 +224,9 @@ static char *skel_getwd(vfs_handle_struct *handle,  char *buf)
        return SMB_VFS_NEXT_GETWD(handle, buf);
 }
 
-static int skel_ntimes(vfs_handle_struct *handle,  const char *path, const struct timespec ts[2])
+static int skel_ntimes(vfs_handle_struct *handle,  const char *path, struct smb_file_time *ft)
 {
-       return SMB_VFS_NEXT_NTIMES(handle, path, ts);
+       return SMB_VFS_NEXT_NTIMES(handle, path, ft);
 }
 
 static int skel_ftruncate(vfs_handle_struct *handle, files_struct *fsp, SMB_OFF_T offset)