diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-12 17:17:33 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-13 10:50:56 +0200 |
commit | ca59def8890febdb600df07b48b53ad32b05d333 (patch) | |
tree | db66d138bc58ce57240043ec5183442550085ac8 /include/squashfs.h | |
parent | 1cdea92b11ae260a8223f08e1e71e7487906f2f2 (diff) |
Generate dir index for extended dir inode
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/squashfs.h')
-rw-r--r-- | include/squashfs.h | 7 |
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, |