From c5f5be565ea5488b3c6ba18b4af7696ef0cd92b8 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Tue, 19 Nov 2002 12:48:50 +0000 Subject: Added rename() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2857 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/fat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/drivers/fat.h') diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h index a5abfd5214..d81ec65363 100644 --- a/firmware/drivers/fat.h +++ b/firmware/drivers/fat.h @@ -84,6 +84,9 @@ extern int fat_closewrite(struct fat_file *ent, int size); 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); 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