2009-10-01 01:10:58 +02:00
|
|
|
#ifndef _miniunz_H
|
|
|
|
#define _miniunz_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2010-09-19 01:16:05 +02:00
|
|
|
extern "C"
|
|
|
|
{
|
2009-10-01 01:10:58 +02:00
|
|
|
#endif
|
|
|
|
|
2010-11-06 16:30:14 +01:00
|
|
|
#include <zip/unzip.h>
|
2010-09-24 14:57:38 +02:00
|
|
|
|
2011-07-26 00:28:22 +02:00
|
|
|
int extractZip(unzFile uf, int opt_extract_without_path, int opt_overwrite, const char* password,
|
|
|
|
const char *basedir);
|
|
|
|
int extractZipOnefile(unzFile uf, const char* filename, int opt_extract_without_path, int opt_overwrite,
|
|
|
|
const char* password);
|
|
|
|
int makedir(char *newdir);
|
2009-10-01 01:10:58 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|