Home | History | Annotate | Download | only in minizip

Lines Matching defs:zip64

7          Modifications for Zip64 support
14 Oct-2009 - Mathias Svensson - Added Zip64 Support when creating new file archives
16 Oct-2009 - Mathias Svensson - Added zipRemoveExtraInfoBlock to strip extra field data from its ZIP64 data
18 ZIP64 data is automatically added to items that needs it, and existing ZIP64 data need to be removed.
150 int zip64; /* Add ZIP64 extended information in the extra field */
286 { /* data overflow - hack for ZIP64 (X Roche) */
308 { /* data overflow - hack for ZIP64 */
508 Locate the End of Zip64 Central directory locator and from there find the CD of a zipfile (at the end, just before
554 // Signature "0x07064b50" Zip64 end of central directory locater
570 /* Zip64 end of central directory locator */
578 /* number of the disk with the start of the zip64 end of central directory */
584 /* relative offset of the zip64 end of central directory record */
594 /* Goto Zip64 end of central directory record */
602 if (uL != 0x06064b50) // signature of 'Zip64 end of central directory'
631 // check first if we find a ZIP64 record
657 /* size of zip64 end of central directory record */
930 if(zi->ci.zip64)
950 if(zi->ci.zip64)
957 if(zi->ci.zip64)
966 if(zi->ci.zip64)
987 if ((err==ZIP_OK) && (zi->ci.zip64))
989 // write the Zip64 extended info
995 // Remember position of Zip64 extended info for the local file header. (needed when we update size after done with file)
1010 When writing RAW the ZIP64 extended information in extrafield_local and extrafield_global needs to be stripped
1022 uLong versionMadeBy, uLong flagBase, int zip64) {
1052 // a Zip64 extra block, that will also need to fit within that 16-bit
1105 zi->ci.size_centralExtraFree = 32; // Extra space we have reserved in case we need to add ZIP64 extra info data
1153 zi->ci.zip64 = zip64;
1270 const char* password, uLong crcForCrypting, int zip64) {
1276 password, crcForCrypting, VERSIONMADEBY, 0, zip64);
1294 const char* comment, int method, int level, int raw, int zip64) {
1300 NULL, 0, VERSIONMADEBY, 0, zip64);
1306 const char* comment, int method, int level, int zip64) {
1312 NULL, 0, VERSIONMADEBY, 0, zip64);
1593 // Add ZIP64 extra info field for uncompressed size
1597 // Add ZIP64 extra info field for compressed size
1601 // Add ZIP64 extra info field for relative offset to local file header of current file
1617 // Add Extra Information Header for 'ZIP64 information'
1642 // and increase the centralheader size so the new ZIP64 fields are included
1673 // Update the size in the ZIP64 extended field.
1684 err = ZIP_BADZIPFILE; // Caller passed zip64 = 0, so no room for zip64 info -> fatal
1737 if (err==ZIP_OK) /* size of this 'zip64 end of central directory' */
1785 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0xffff,2); // use value in ZIP64 record
1794 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0xffff,2); // use value in ZIP64 record