Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / zlib / contrib / minizip / mztools.h
blob90c834d3ab5e9a8acf89a93b93edf3fcbeeac5c7
1 /*
2 Additional tools for Minizip
3 Code: Xavier Roche '2004
4 License: Same as ZLIB (www.gzip.org)
5 */
7 #ifndef _zip_tools_H
8 #define _zip_tools_H
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
14 #ifndef _ZLIB_H
15 #include "third_party/zlib/zlib.h"
16 #endif
18 #include "unzip.h"
20 /* Repair a ZIP file (missing central directory)
21 file: file to recover
22 fileOut: output file after recovery
23 fileOutTmp: temporary file name used for recovery
25 extern int ZEXPORT unzRepair(const char* file,
26 const char* fileOut,
27 const char* fileOutTmp,
28 uLong* nRecovered,
29 uLong* bytesRecovered);
31 #endif