H A D | zip_util.c | 54 /* USE_MMAP means mmap the CEN & ENDHDR part of the zip file. */ 59 #define MAXREFS 0xFFFF /* max number of open zip file references */ 68 static jzfile *zfiles = 0; /* currently open zip files */ 160 * Initialize zip file support. Return 0 if successful otherwise -1 225 * Allocates a new zip file object for the specified file name. 226 * Returns the zip file object or NULL if not enough memory. 231 jzfile *zip; local 232 if (((zip = calloc(1, sizeof(jzfile))) != NULL) && 233 ((zip->name = strdup(name)) != NULL) && 234 ((zip 250 freeZip(jzfile *zip) argument 278 verifyEND(jzfile *zip, jlong endpos, char *endbuf) argument 303 findEND(jzfile *zip, void *endbuf) argument 380 findEND64(jzfile *zip, void *end64buf, jlong endpos) argument 449 growMetaNames(jzfile *zip) argument 469 addMetaName(jzfile *zip, const char *name, int length) argument 497 freeMetaNames(jzfile *zip) argument 510 freeCEN(jzfile *zip) argument 542 readCEN(jzfile *zip, jint knownTotal) argument 739 jzfile *zip = NULL; local 766 jzfile *zip; local 820 jzfile *zip; local 899 ZIP_Close(jzfile *zip) argument 931 readCENHeader(jzfile *zip, jlong cenpos, jint bufsize) argument 952 sequentialAccessReadCENHeader(jzfile *zip, jlong cenpos) argument 984 newEntry(jzfile *zip, jzcell *zc, AccessHint accessHint) argument 1119 ZIP_GetEntry(jzfile *zip, char *name, jint ulen) argument 1146 ZIP_GetEntry2(jzfile *zip, char *name, jint ulen, jboolean addSlash) argument 1242 ZIP_GetNextEntry(jzfile *zip, jint n) argument 1258 ZIP_Lock(jzfile *zip) argument 1267 ZIP_Unlock(jzfile *zip) argument 1278 ZIP_GetEntryDataOffset(jzfile *zip, jzentry *entry) argument 1314 ZIP_Read(jzfile *zip, jzentry *entry, jlong pos, void *buf, jint len) argument 1378 InflateFully(jzfile *zip, jzentry *entry, void *buf, char **msg) argument 1443 ZIP_FindEntry(jzfile *zip, char *name, jint *sizeP, jint *nameLenP) argument 1460 ZIP_ReadEntry(jzfile *zip, jzentry *entry, unsigned char *buf, char *entryname) argument [all...] |