getifaddrs: add un-namespaced alias
[minix.git] / common / dist / zlib / contrib / minizip / mztools.h
blob18f021197a1f4e2c98f8891a30280666e6a0f31e
1 /* $NetBSD: mztools.h,v 1.1.1.1 2006/01/14 20:10:58 christos Exp $ */
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