2009-09-30 23:10:58 +00:00
|
|
|
#ifndef _miniunz_H
|
|
|
|
#define _miniunz_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2010-09-18 23:16:05 +00:00
|
|
|
extern "C"
|
|
|
|
{
|
2009-09-30 23:10:58 +00:00
|
|
|
#endif
|
|
|
|
|
2010-11-06 15:30:14 +00:00
|
|
|
#include <zip/unzip.h>
|
2010-09-24 12:57:38 +00:00
|
|
|
|
2011-07-25 22:28:22 +00: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-09-30 23:10:58 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|