summaryrefslogtreecommitdiffstats
path: root/firmware/export/fat.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-01-15 14:30:59 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-01-15 14:30:59 +0000
commit60b1c4bbe1099980ced1f69a9a51674f6e05dd3e (patch)
treef09a4c07a72df14c8c217c7457acd66269aa45d3 /firmware/export/fat.h
parenta73cc6afa2c6f5c244aa1ecc1acfa0f6b6fb6422 (diff)
downloadrockbox-60b1c4bbe1099980ced1f69a9a51674f6e05dd3e.tar.gz
rockbox-60b1c4bbe1099980ced1f69a9a51674f6e05dd3e.zip
Implemented the mkdir() function in the FAT32 driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4238 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/fat.h')
-rw-r--r--firmware/export/fat.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h
index 921f04eb8d..dbc0ab20cc 100644
--- a/firmware/export/fat.h
+++ b/firmware/export/fat.h
@@ -72,8 +72,9 @@ struct fat_dir
extern int fat_mount(int startsector);
extern void fat_size(unsigned int* size, unsigned int* free);
extern void fat_recalc_free(void);
-
-extern int fat_create_dir(unsigned int currdir, char *name);
+extern int fat_create_dir(char* name,
+ struct fat_dir* newdir,
+ struct fat_dir* dir);
extern int fat_startsector(void);
extern int fat_open(unsigned int cluster,
struct fat_file* ent,