diff options
author | Björn Stenberg <bjorn@haxx.se> | 2003-01-27 09:32:17 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2003-01-27 09:32:17 +0000 |
commit | 184fd554115beb52bb4037ddcd36d8db26d5938d (patch) | |
tree | b653181904020b1875c67d07359770de9590d53d /firmware/drivers/fat.h | |
parent | b6a4f2fb2c9cf53cd4e59fd901974a81100f6711 (diff) | |
download | rockbox-184fd554115beb52bb4037ddcd36d8db26d5938d.tar.gz rockbox-184fd554115beb52bb4037ddcd36d8db26d5938d.zip |
Directories can now be renamed too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3167 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r-- | firmware/drivers/fat.h | 4 |
1 files changed, 2 insertions, 2 deletions
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, | |||
81 | struct fat_dir* dir); | 81 | struct fat_dir* dir); |
82 | extern int fat_readwrite(struct fat_file *ent, int sectorcount, | 82 | extern int fat_readwrite(struct fat_file *ent, int sectorcount, |
83 | void* buf, bool write ); | 83 | void* buf, bool write ); |
84 | extern int fat_closewrite(struct fat_file *ent, int size); | 84 | extern int fat_closewrite(struct fat_file *ent, int size, int attr); |
85 | extern int fat_seek(struct fat_file *ent, unsigned int sector ); | 85 | extern int fat_seek(struct fat_file *ent, unsigned int sector ); |
86 | extern int fat_remove(struct fat_file *ent); | 86 | extern int fat_remove(struct fat_file *ent); |
87 | extern int fat_truncate(struct fat_file *ent); | 87 | extern int fat_truncate(struct fat_file *ent); |
88 | extern int fat_rename(struct fat_file* file, | 88 | extern int fat_rename(struct fat_file* file, |
89 | unsigned char* newname, | 89 | unsigned char* newname, |
90 | int size); | 90 | int size, int attr); |
91 | 91 | ||
92 | extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); | 92 | extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); |
93 | extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); | 93 | extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); |