diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2005-01-05 00:09:04 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2005-01-05 00:09:04 +0000 |
commit | 7414687c58ed7a1dab4a04687acceaeb5af8314d (patch) | |
tree | 409900d3826e6262a562bc41f767b760ea9923ae /firmware/export/fat.h | |
parent | 93660701e633547dedcd1099501f2ac6d7f44fee (diff) | |
download | rockbox-7414687c58ed7a1dab4a04687acceaeb5af8314d.tar.gz rockbox-7414687c58ed7a1dab4a04687acceaeb5af8314d.zip |
unmount function in preparation for MMC hotswap, more mutexing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5536 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/fat.h')
-rw-r--r-- | firmware/export/fat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h index 2f1c7be0a8..d7a5d0ded3 100644 --- a/firmware/export/fat.h +++ b/firmware/export/fat.h @@ -76,6 +76,7 @@ struct fat_dir extern void fat_init(void); extern int fat_mount(IF_MV2(int volume,) IF_MV2(int drive,) int startsector); +extern int fat_unmount(int volume, bool flush); extern void fat_size(IF_MV2(int volume,) unsigned int* size, unsigned int* free); // public for info extern void fat_recalc_free(IF_MV_NONVOID(int volume)); // public for debug info screen extern int fat_create_dir(const char* name, |