diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-11-19 12:48:50 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-11-19 12:48:50 +0000 |
commit | c5f5be565ea5488b3c6ba18b4af7696ef0cd92b8 (patch) | |
tree | 4bb0853b28ed368f04472372331b2bce7df5418d /firmware/drivers/fat.h | |
parent | fde9b57f7010369800d56b6b2eb98e6593236e13 (diff) | |
download | rockbox-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.h | 3 |
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); | |||
84 | extern int fat_seek(struct fat_file *ent, unsigned int sector ); | 84 | extern int fat_seek(struct fat_file *ent, unsigned int sector ); |
85 | extern int fat_remove(struct fat_file *ent); | 85 | extern int fat_remove(struct fat_file *ent); |
86 | extern int fat_truncate(struct fat_file *ent); | 86 | extern int fat_truncate(struct fat_file *ent); |
87 | extern int fat_rename(struct fat_file* file, | ||
88 | unsigned char* newname, | ||
89 | int size); | ||
87 | 90 | ||
88 | extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); | 91 | extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); |
89 | extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); | 92 | extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); |