DOSBox-X
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
include/mztools.h
00001 /*
00002   Additional tools for Minizip
00003   Code: Xavier Roche '2004
00004   License: Same as ZLIB (www.gzip.org)
00005 */
00006 
00007 #ifndef _zip_tools_H
00008 #define _zip_tools_H
00009 
00010 #ifdef __cplusplus
00011 extern "C" {
00012 #endif
00013 
00014 #ifndef _ZLIB_H
00015 #include "zlib.h"
00016 #endif
00017 
00018 #include "unzip.h"
00019 
00020 /* Repair a ZIP file (missing central directory)
00021    file: file to recover
00022    fileOut: output file after recovery
00023    fileOutTmp: temporary file name used for recovery
00024 */
00025 extern int ZEXPORT unzRepair(const char* file,
00026                              const char* fileOut,
00027                              const char* fileOutTmp,
00028                              uLong* nRecovered,
00029                              uLong* bytesRecovered);
00030 
00031 #endif