diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-02-21 23:00:56 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-02-21 23:00:56 +0000 |
commit | 8f5a7b54eb953bbfc877ec915e26b3a95ec28d00 (patch) | |
tree | 827e40ab3528e10afd6fcb44f7ed5db0d7eed519 /updater/zbin/minizip/mztools.h | |
parent | b130e8caa16961f597ae4ac6984a6aa00de7b6c7 (diff) |
New updater with 3x reduced footprint and fully W7 and x64 compatible
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@476 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'updater/zbin/minizip/mztools.h')
-rw-r--r-- | updater/zbin/minizip/mztools.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/updater/zbin/minizip/mztools.h b/updater/zbin/minizip/mztools.h new file mode 100644 index 0000000..82d1597 --- /dev/null +++ b/updater/zbin/minizip/mztools.h @@ -0,0 +1,31 @@ +/*
+ 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
|