PageRenderTime 26ms CodeModel.GetById 22ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/IO_ZLIB/contrib/minizip/mztools.h

http://github.com/Akranar/daguerreo
C Header | 31 lines | 15 code | 6 blank | 10 comment | 0 complexity | 121993292e19a2f445c63f171c8cc810 MD5 | raw file
Possible License(s): AGPL-3.0, LGPL-2.1, LGPL-3.0, GPL-2.0
 1/*
 2  Additional tools for Minizip
 3  Code: Xavier Roche '2004
 4  License: Same as ZLIB (www.gzip.org)
 5*/
 6
 7#ifndef _zip_tools_H
 8#define _zip_tools_H
 9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#ifndef _ZLIB_H
15#include "zlib.h"
16#endif
17
18#include "unzip.h"
19
20/* Repair a ZIP file (missing central directory)
21   file: file to recover
22   fileOut: output file after recovery
23   fileOutTmp: temporary file name used for recovery
24*/
25extern int ZEXPORT unzRepair(const char* file,
26                             const char* fileOut,
27                             const char* fileOutTmp,
28                             uLong* nRecovered,
29                             uLong* bytesRecovered);
30
31#endif