Sync usage with man page.
[netbsd-mini2440.git] / common / dist / zlib / contrib / minizip / mztools.h
blob9032cecc37438de91d7f17e67824d9f2b08af6d1
1 /* $NetBSD$ */
3 /*
4 Additional tools for Minizip
5 Code: Xavier Roche '2004
6 License: Same as ZLIB (www.gzip.org)
7 */
9 #ifndef _zip_tools_H
10 #define _zip_tools_H
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
16 #ifndef _ZLIB_H
17 #include "zlib.h"
18 #endif
20 #include "unzip.h"
22 /* Repair a ZIP file (missing central directory)
23 file: file to recover
24 fileOut: output file after recovery
25 fileOutTmp: temporary file name used for recovery
27 extern int ZEXPORT unzRepair(const char* file,
28 const char* fileOut,
29 const char* fileOutTmp,
30 uLong* nRecovered,
31 uLong* bytesRecovered);
33 #endif