Data Structures | |
struct | pgeZipFile |
Typedefs | |
typedef void | pgeZip |
Functions | |
pgeZip * | pgeZipOpen (const char *filename) |
int | pgeZipClose (pgeZip *zip) |
pgeZipFile * | pgeZipFileRead (pgeZip *zip, const char *filename, const char *password) |
int | pgeZipExtract (pgeZip *zip, const char *password) |
void | pgeZipFileFree (pgeZipFile *file) |
typedef void pgeZip |
A zip
int pgeZipClose | ( | pgeZip * | zip | ) |
Close a Zip file
zip | - A valid (previously opened) pgeZip |
int pgeZipExtract | ( | pgeZip * | zip, | |
const char * | password | |||
) |
Extract all files from a zip
zip | - A valid (previously opened) pgeZip file | |
password | - The password of the file (pass NULL if no password) |
void pgeZipFileFree | ( | pgeZipFile * | file | ) |
Free the file data previously loaded from a zip
file | - A valid (previously read) pgeZipFile |
pgeZipFile* pgeZipFileRead | ( | pgeZip * | zip, | |
const char * | filename, | |||
const char * | password | |||
) |
Read a file from a zip
zip | - A valid (previously opened) pgeZip | |
filename | - The file to read within the zip | |
password | - The password of the file (pass NULL if no password) |
pgeZip* pgeZipOpen | ( | const char * | filename | ) |
Open a Zip file
filename | - Path of the zip to load. |