summaryrefslogtreecommitdiffstats
path: root/dirtree.h
diff options
context:
space:
mode:
Diffstat (limited to 'dirtree.h')
-rw-r--r--dirtree.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dirtree.h b/dirtree.h
index 23b0dc3..2ad8bf6 100644
--- a/dirtree.h
+++ b/dirtree.h
@@ -21,11 +21,11 @@
#define DIRTREE_H
#include <sys/stat.h>
+#include "fat.h"
struct direntry {
char *name; /* Filename */
char *path; /* Full path */
- char mangled_name[12]; /* Mangled */
struct stat st; /* stat info */
struct direntry *dir; /* Directory contents (directory only) */
unsigned int dirsize; /* Cardinality of directory */
@@ -35,7 +35,10 @@ struct direntry {
unsigned int attribute; /* DOS attribute byte */
unsigned int clusters; /* Number of clusters allocated */
unsigned int cluster; /* Assigned cluster (once we get there) */
+ int nfatents; /* Number of FAT entries required */
+ struct fat_dirent *fatents; /* Directory entries in FAT format */
struct direntry *nextbyclust; /* Next pointer in on-disk order */
+
};
struct direntry *