From 184fd554115beb52bb4037ddcd36d8db26d5938d Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 27 Jan 2003 09:32:17 +0000 Subject: Directories can now be renamed too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3167 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/fat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/drivers/fat.h') diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h index 8d2382f57c..6a3e5cf967 100644 --- a/firmware/drivers/fat.h +++ b/firmware/drivers/fat.h @@ -81,13 +81,13 @@ extern int fat_create_file(char* name, struct fat_dir* dir); extern int fat_readwrite(struct fat_file *ent, int sectorcount, void* buf, bool write ); -extern int fat_closewrite(struct fat_file *ent, int size); +extern int fat_closewrite(struct fat_file *ent, int size, int attr); extern int fat_seek(struct fat_file *ent, unsigned int sector ); extern int fat_remove(struct fat_file *ent); extern int fat_truncate(struct fat_file *ent); extern int fat_rename(struct fat_file* file, unsigned char* newname, - int size); + int size, int attr); extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); -- cgit v1.2.3