Add decompression support using the implode library
[installshield_z.git] / installshield_z.h
index 8411347..d55277c 100644 (file)
@@ -40,7 +40,7 @@ struct __attribute__((packed)) dirent_prefix {
        uint16_t                        __flags;                        // 0x00
        uint16_t                        entry_bytes;            // 0x02
        uint16_t                        name_bytes;                     // 0x04
-       unsigned char           name[];                         // 0x06
+       char                            name[];                         // 0x06
 };
 
 struct __attribute__((packed)) dirent_suffix {
@@ -59,7 +59,7 @@ struct __attribute__((packed)) fileent_prefix {
        uint16_t                        entry_bytes;
        uint32_t                        __unknown01;
        uint8_t                         name_bytes;
-       unsigned char           name[];
+       char                            name[];
 };
 
 struct __attribute__((packed)) fileent_suffix {
@@ -68,9 +68,8 @@ struct __attribute__((packed)) fileent_suffix {
        uint32_t                        __unkown08;
 };
 
-struct ll_dirents {
+struct dirent {
        struct dirent_prefix *entry;
-       struct ll_dirents       *next;
        bool                            created;
 };