Lines Matching refs:file

110 /* unz_file_info contain information about a file in the zipfile */
117 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */
123 uLong size_file_comment; /* file comment length 2 bytes */
126 uLong internal_fa; /* internal file attributes 2 bytes */
127 uLong external_fa; /* external file attributes 4 bytes */
138 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */
144 uLong size_file_comment; /* file comment length 2 bytes */
147 uLong internal_fa; /* internal file attributes 2 bytes */
148 uLong external_fa; /* external file attributes 4 bytes */
169 Open a Zip file. path contain the full pathname (by example,
172 If the zipfile cannot be opened (file don't exist or in not valid), the
187 Open a Zip file, like unzOpen, but provide a set of file low level API
188 for read/write the zip file (see ioapi.h)
194 Open a Zip file, like unz64Open, but provide a set of file low level API
195 for read/write the zip file (see ioapi.h)
198 extern int ZEXPORT unzClose(unzFile file);
207 Open an opened zip file.
210 extern int ZEXPORT unzCloseFile OF((unzFile file));
217 extern int ZEXPORT unzGetGlobalInfo(unzFile file,
220 extern int ZEXPORT unzGetGlobalInfo64(unzFile file,
228 extern int ZEXPORT unzGetGlobalComment(unzFile file,
241 extern int ZEXPORT unzGoToFirstFile(unzFile file);
243 Set the current file of the zipfile to the first file.
247 extern int ZEXPORT unzGoToNextFile(unzFile file);
249 Set the current file of the zipfile to the next file.
251 return UNZ_END_OF_LIST_OF_FILE if the actual file was the latest.
254 extern int ZEXPORT unzLocateFile(unzFile file,
258 Try locate the file szFileName in the zipfile.
262 UNZ_OK if the file is found. It becomes the current file.
263 UNZ_END_OF_LIST_OF_FILE if the file is not found
266 extern int ZEXPORT unzLocateFile2 OF((unzFile file,
270 Try locate the file szFileName in the zipfile, like unzLocateFile, but provide performance optimization.
274 UNZ_OK if the file is found. It becomes the current file.
275 UNZ_END_OF_LIST_OF_FILE if the file is not found
280 /* unz_file_info contain information about a file in the zipfile */
283 uLong pos_in_zip_directory; /* offset in zip file directory */
284 uLong num_of_file; /* # of file */
288 unzFile file,
292 unzFile file,
297 ZPOS64_T pos_in_zip_directory; /* offset in zip file directory */
298 ZPOS64_T num_of_file; /* # of file */
302 unzFile file,
306 unzFile file,
311 extern int ZEXPORT unzGetCurrentFileInfo64(unzFile file,
320 extern int ZEXPORT unzGetCurrentFileInfo(unzFile file,
329 Get Info about the current file
331 the current file
337 if szComment!=NULL, the comment string of the file will be copied in szComment
344 extern ZPOS64_T ZEXPORT unzGetCurrentFileZStreamPos64(unzFile file);
351 from it, and close it (you can close it before reading all the file)
354 extern int ZEXPORT unzOpenCurrentFile(unzFile file);
356 Open for reading data the current file in the zipfile.
360 extern int ZEXPORT unzOpenCurrentFilePassword(unzFile file,
363 Open for reading data the current file in the zipfile.
368 extern int ZEXPORT unzOpenCurrentFile2(unzFile file,
373 Same than unzOpenCurrentFile, but open for read raw the file (not uncompress)
381 extern int ZEXPORT unzOpenCurrentFile3(unzFile file,
387 Same than unzOpenCurrentFile, but open for read raw the file (not uncompress)
396 extern int ZEXPORT unzCloseCurrentFile(unzFile file);
398 Close the file in zip opened with unzOpenCurrentFile
399 Return UNZ_CRCERROR if all the file was read but the CRC is not good
402 extern int ZEXPORT unzReadCurrentFile(unzFile file,
406 Read bytes from the current file (opened by unzOpenCurrentFile)
411 return 0 if the end of file was reached
416 extern z_off_t ZEXPORT unztell(unzFile file);
418 extern ZPOS64_T ZEXPORT unztell64(unzFile file);
423 extern int ZEXPORT unzeof(unzFile file);
425 return 1 if the end of file was reached, 0 elsewhere
428 extern int ZEXPORT unzGetLocalExtrafield(unzFile file,
432 Read extra field from the current file (opened by unzOpenCurrentFile)
446 /* Get the current file offset */
447 extern ZPOS64_T ZEXPORT unzGetOffset64 (unzFile file);
448 extern uLong ZEXPORT unzGetOffset (unzFile file);
450 /* Set the current file offset */
451 extern int ZEXPORT unzSetOffset64 (unzFile file, ZPOS64_T pos);
452 extern int ZEXPORT unzSetOffset (unzFile file, uLong pos);