summaryrefslogtreecommitdiff
path: root/firmware/include/dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/dir.h')
-rw-r--r--firmware/include/dir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/include/dir.h b/firmware/include/dir.h
index 00c6664872..5c157e4696 100644
--- a/firmware/include/dir.h
+++ b/firmware/include/dir.h
@@ -30,6 +30,7 @@
30#define ATTR_VOLUME_ID 0x08 30#define ATTR_VOLUME_ID 0x08
31#define ATTR_DIRECTORY 0x10 31#define ATTR_DIRECTORY 0x10
32#define ATTR_ARCHIVE 0x20 32#define ATTR_ARCHIVE 0x20
33#define ATTR_VOLUME 0x40 /* this is a volume, not a real directory */
33 34
34struct dirent { 35struct dirent {
35 unsigned char d_name[MAX_PATH]; 36 unsigned char d_name[MAX_PATH];
@@ -52,6 +53,9 @@ typedef struct {
52 struct fat_dir fatdir; 53 struct fat_dir fatdir;
53 struct fat_dir parent_dir; 54 struct fat_dir parent_dir;
54 struct dirent theent; 55 struct dirent theent;
56#ifdef HAVE_MULTIVOLUME
57 int volumecounter; /* running counter for faked volume entries */
58#endif
55} DIR; 59} DIR;
56 60
57#else /* SIMULATOR */ 61#else /* SIMULATOR */