/src/IO_ZLIB/contrib/minizip/mztools.h
http://github.com/Akranar/daguerreo · C Header · 31 lines · 15 code · 6 blank · 10 comment · 0 complexity · 121993292e19a2f445c63f171c8cc810 MD5 · raw file
- /*
- Additional tools for Minizip
- Code: Xavier Roche '2004
- License: Same as ZLIB (www.gzip.org)
- */
- #ifndef _zip_tools_H
- #define _zip_tools_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- #ifndef _ZLIB_H
- #include "zlib.h"
- #endif
- #include "unzip.h"
- /* Repair a ZIP file (missing central directory)
- file: file to recover
- fileOut: output file after recovery
- fileOutTmp: temporary file name used for recovery
- */
- extern int ZEXPORT unzRepair(const char* file,
- const char* fileOut,
- const char* fileOutTmp,
- uLong* nRecovered,
- uLong* bytesRecovered);
- #endif