Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
mztools.h
Go to the documentation of this file.
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
11
extern
"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
*/
25
extern
int
ZEXPORT
unzRepair
(
const
char
*
file
,
26
const
char
* fileOut,
27
const
char
* fileOutTmp,
28
uLong
* nRecovered,
29
uLong
* bytesRecovered);
30
31
32
#ifdef __cplusplus
33
}
34
#endif
35
36
37
#endif
unzRepair
int ZEXPORT unzRepair(const char *file, const char *fileOut, const char *fileOutTmp, uLong *nRecovered, uLong *bytesRecovered)
unzip.h
uLong
unsigned long uLong
Definition:
zconf.h:371
zlib.h
file
Definition:
gzappend.c:170
ZEXPORT
#define ZEXPORT
Definition:
zconf.h:357
bial
zlib
contrib
minizip
mztools.h
Generated by
1.8.11