summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2003-01-27 09:32:17 +0000
committerBjörn Stenberg <bjorn@haxx.se>2003-01-27 09:32:17 +0000
commit184fd554115beb52bb4037ddcd36d8db26d5938d (patch)
treeb653181904020b1875c67d07359770de9590d53d /firmware/drivers/fat.h
parentb6a4f2fb2c9cf53cd4e59fd901974a81100f6711 (diff)
downloadrockbox-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.h4
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);
82extern int fat_readwrite(struct fat_file *ent, int sectorcount, 82extern int fat_readwrite(struct fat_file *ent, int sectorcount,
83 void* buf, bool write ); 83 void* buf, bool write );
84extern int fat_closewrite(struct fat_file *ent, int size); 84extern int fat_closewrite(struct fat_file *ent, int size, int attr);
85extern int fat_seek(struct fat_file *ent, unsigned int sector ); 85extern int fat_seek(struct fat_file *ent, unsigned int sector );
86extern int fat_remove(struct fat_file *ent); 86extern int fat_remove(struct fat_file *ent);
87extern int fat_truncate(struct fat_file *ent); 87extern int fat_truncate(struct fat_file *ent);
88extern int fat_rename(struct fat_file* file, 88extern 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
92extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); 92extern int fat_opendir(struct fat_dir *ent, unsigned int currdir);
93extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); 93extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry);