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

Side by Side Diff: third_party/zlib/contrib/minizip/mztools.h

Issue 11632002: Use generated shim headers for zlib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 Additional tools for Minizip 2 Additional tools for Minizip
3 Code: Xavier Roche '2004 3 Code: Xavier Roche '2004
4 License: Same as ZLIB (www.gzip.org) 4 License: Same as ZLIB (www.gzip.org)
5 */ 5 */
6 6
7 #ifndef _zip_tools_H 7 #ifndef _zip_tools_H
8 #define _zip_tools_H 8 #define _zip_tools_H
9 9
10 #ifdef __cplusplus 10 #ifdef __cplusplus
11 extern "C" { 11 extern "C" {
12 #endif 12 #endif
13 13
14 #ifndef _ZLIB_H 14 #ifndef _ZLIB_H
15 #if defined(USE_SYSTEM_ZLIB)
16 #include <zlib.h>
17 #else
18 #include "third_party/zlib/zlib.h" 15 #include "third_party/zlib/zlib.h"
19 #endif 16 #endif
20 #endif
21 17
22 #include "unzip.h" 18 #include "unzip.h"
23 19
24 /* Repair a ZIP file (missing central directory) 20 /* Repair a ZIP file (missing central directory)
25 file: file to recover 21 file: file to recover
26 fileOut: output file after recovery 22 fileOut: output file after recovery
27 fileOutTmp: temporary file name used for recovery 23 fileOutTmp: temporary file name used for recovery
28 */ 24 */
29 extern int ZEXPORT unzRepair(const char* file, 25 extern int ZEXPORT unzRepair(const char* file,
30 const char* fileOut, 26 const char* fileOut,
31 const char* fileOutTmp, 27 const char* fileOutTmp,
32 uLong* nRecovered, 28 uLong* nRecovered,
33 uLong* bytesRecovered); 29 uLong* bytesRecovered);
34 30
35 #endif 31 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698