Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/zlib/contrib/minizip/mztools.h

Issue 16605: Add zlib/contrib/minizip to third_party/zlib... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/zlib/contrib/minizip/minizip.c ('k') | third_party/zlib/contrib/minizip/mztools.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/zlib/contrib/minizip/mztools.h
===================================================================
--- third_party/zlib/contrib/minizip/mztools.h (revision 0)
+++ third_party/zlib/contrib/minizip/mztools.h (revision 0)
@@ -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
Property changes on: third_party\zlib\contrib\minizip\mztools.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « third_party/zlib/contrib/minizip/minizip.c ('k') | third_party/zlib/contrib/minizip/mztools.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698