annotate src/zlib-1.2.7/contrib/minizip/mztools.h @ 168:ceec0dd9ec9c

Replace these with versions built using an older toolset (so as to avoid ABI compatibilities when linking on Ubuntu 14.04 for packaging purposes)
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 07 Feb 2020 11:51:13 +0000
parents 8a15ff55d9af
children
rev   line source
cannam@89 1 /*
cannam@89 2 Additional tools for Minizip
cannam@89 3 Code: Xavier Roche '2004
cannam@89 4 License: Same as ZLIB (www.gzip.org)
cannam@89 5 */
cannam@89 6
cannam@89 7 #ifndef _zip_tools_H
cannam@89 8 #define _zip_tools_H
cannam@89 9
cannam@89 10 #ifdef __cplusplus
cannam@89 11 extern "C" {
cannam@89 12 #endif
cannam@89 13
cannam@89 14 #ifndef _ZLIB_H
cannam@89 15 #include "zlib.h"
cannam@89 16 #endif
cannam@89 17
cannam@89 18 #include "unzip.h"
cannam@89 19
cannam@89 20 /* Repair a ZIP file (missing central directory)
cannam@89 21 file: file to recover
cannam@89 22 fileOut: output file after recovery
cannam@89 23 fileOutTmp: temporary file name used for recovery
cannam@89 24 */
cannam@89 25 extern int ZEXPORT unzRepair(const char* file,
cannam@89 26 const char* fileOut,
cannam@89 27 const char* fileOutTmp,
cannam@89 28 uLong* nRecovered,
cannam@89 29 uLong* bytesRecovered);
cannam@89 30
cannam@89 31
cannam@89 32 #ifdef __cplusplus
cannam@89 33 }
cannam@89 34 #endif
cannam@89 35
cannam@89 36
cannam@89 37 #endif