aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-12 17:17:33 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-13 10:50:56 +0200
commitca59def8890febdb600df07b48b53ad32b05d333 (patch)
treedb66d138bc58ce57240043ec5183442550085ac8 /include
parent1cdea92b11ae260a8223f08e1e71e7487906f2f2 (diff)
Generate dir index for extended dir inode
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/squashfs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/squashfs.h b/include/squashfs.h
index eaa5a6e..2d27cc1 100644
--- a/include/squashfs.h
+++ b/include/squashfs.h
@@ -155,6 +155,13 @@ typedef struct {
uint8_t name[];
} sqfs_dir_entry_t;
+typedef struct {
+ uint32_t index;
+ uint32_t start_block;
+ uint32_t size;
+ uint8_t name[];
+} sqfs_dir_index_t;
+
typedef enum {
SQFS_COMP_GZIP = 1,
SQFS_COMP_LZMA = 2,