summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-11-19 12:48:50 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-11-19 12:48:50 +0000
commitc5f5be565ea5488b3c6ba18b4af7696ef0cd92b8 (patch)
tree4bb0853b28ed368f04472372331b2bce7df5418d /firmware/drivers/fat.h
parentfde9b57f7010369800d56b6b2eb98e6593236e13 (diff)
downloadrockbox-c5f5be565ea5488b3c6ba18b4af7696ef0cd92b8.tar.gz
rockbox-c5f5be565ea5488b3c6ba18b4af7696ef0cd92b8.zip
Added rename()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2857 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r--firmware/drivers/fat.h3
1 files changed, 3 insertions, 0 deletions
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);
84extern int fat_seek(struct fat_file *ent, unsigned int sector ); 84extern int fat_seek(struct fat_file *ent, unsigned int sector );
85extern int fat_remove(struct fat_file *ent); 85extern int fat_remove(struct fat_file *ent);
86extern int fat_truncate(struct fat_file *ent); 86extern int fat_truncate(struct fat_file *ent);
87extern int fat_rename(struct fat_file* file,
88 unsigned char* newname,
89 int size);
87 90
88extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); 91extern int fat_opendir(struct fat_dir *ent, unsigned int currdir);
89extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); 92extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry);