| typedef struct ZipHead ZipHead; |
| * "general purpose flag" bits |
| ZTrailInfo = 1 << 3, /* uncsize, csize, and crc are in trailer */ |
| ZCompPatch = 1 << 5, /* compression patched data */ |
| /* ZCrcPoly = 0xedb88320, */ |
| #define ZCrcPoly 0xedb88320 |
| * internal file attributes |
| * file attribute interpretation, from high byte of version |
| * external attribute flags for ZDos |
| ZHeadSize = 4 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 4 + 2 + 2, |
| ZHeadCrc = 4 + 2 + 2 + 2 + 2 + 2, |
| ZCHeadSize = 4 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 4 + 2 + 2 + 2 + 2 + 2 + 4 + 4, |
| ZECHeadSize = 4 + 2 + 2 + 2 + 2 + 4 + 4 + 2, |
| * interesting info from a zip header |
| int madeos; /* version made by */ |
| int extos; /* version needed to extract */ |
| int flags; /* general purpose bit flag */ |