diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-04-29 08:03:59 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-04-29 08:03:59 +0000 |
commit | 3df8650a979ec5e8d17cceb34b128fed80b8ca9f (patch) | |
tree | e985f203a652247d04bd77252c1fc236d45ef3cf /firmware/drivers/fat.h | |
parent | 5688796bc0fb301da300be08de68ba1a16d4b628 (diff) |
Renamed get_bpb() into fat_mount() and added it to the API.
Fixed a bug in fat_seek().
Added comment about unicode->iso8859-1 for longnames.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@312 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r-- | firmware/drivers/fat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h index 907f7b326f..7f014a8aa1 100644 --- a/firmware/drivers/fat.h +++ b/firmware/drivers/fat.h @@ -100,12 +100,16 @@ struct fat_fileent int sectornum; /* sector number in this cluster */ }; +extern int fat_mount(struct bpb *bpb); + +#ifdef DISK_WRITE extern int fat_create_file(struct bpb *bpb, unsigned int currdir, char *name); extern int fat_create_dir(struct bpb *bpb, unsigned int currdir, char *name); +#endif extern int fat_open(struct bpb *bpb, unsigned int cluster, struct fat_fileent *ent); |