summaryrefslogtreecommitdiffstats
path: root/firmware/export/fat.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-04-16 08:58:29 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-04-16 08:58:29 +0000
commitbc9397d1fa1e05a09f24f5999fa2e85a23916ab9 (patch)
tree5cd8d1f4abc1f40627662c61cdd833d3cc9e768b /firmware/export/fat.h
parentb8beff39e92ebe8c417ef6b9d1a7d467bf84826a (diff)
downloadrockbox-bc9397d1fa1e05a09f24f5999fa2e85a23916ab9.tar.gz
rockbox-bc9397d1fa1e05a09f24f5999fa2e85a23916ab9.zip
New function: rmdir(). Also some changes in the fat code, to track the parent directory in opendir(), to be able to delete directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4509 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/fat.h')
-rw-r--r--firmware/export/fat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h
index db8737cfd3..24c894ff35 100644
--- a/firmware/export/fat.h
+++ b/firmware/export/fat.h
@@ -92,7 +92,8 @@ extern int fat_rename(struct fat_file* file,
unsigned char* newname,
int size, int attr);
-extern int fat_opendir(struct fat_dir *ent, unsigned int currdir);
+extern int fat_opendir(struct fat_dir *ent, unsigned int currdir,
+ struct fat_dir *parent_dir);
extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry);
extern int fat_get_cluster_size(void);