summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-05-03 11:59:53 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-05-03 11:59:53 +0000
commitc7f7934e8f74be4b98abe83c2f6a2593fd294cf0 (patch)
treecdebbde186e8db107472c5a7b0775f050e7f4560 /firmware/drivers/fat.h
parent86a59ecdf6e6bf3e45938c0ca305b892777b28e0 (diff)
Added disk/partition handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@405 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r--firmware/drivers/fat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h
index 7f014a8aa1..faec5384dd 100644
--- a/firmware/drivers/fat.h
+++ b/firmware/drivers/fat.h
@@ -60,6 +60,7 @@ struct bpb
int totalsectors;
int rootdirsector;
int firstdatasector;
+ int startsector;
};
struct fat_direntry
@@ -100,7 +101,7 @@ struct fat_fileent
int sectornum; /* sector number in this cluster */
};
-extern int fat_mount(struct bpb *bpb);
+extern int fat_mount(struct bpb *bpb, int startsector);
#ifdef DISK_WRITE
extern int fat_create_file(struct bpb *bpb,