Home | History | Annotate | Download | only in minizip

Lines Matching full:file

6    This unzip package allow extract file from .ZIP file, compatible with PKZip 2.04g
100 /* unz_file_info contain information about a file in the zipfile */
107 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */
113 uLong size_file_comment; /* file comment length 2 bytes */
116 uLong internal_fa; /* internal file attributes 2 bytes */
117 uLong external_fa; /* external file attributes 4 bytes */
137 Open a Zip file. path contain the full pathname (by example,
140 If the zipfile cannot be opened (file don't exist or in not valid), the
149 Open a Zip file, like unzOpen, but provide a set of file low level API
150 for read/write the zip file (see ioapi.h)
153 extern int ZEXPORT unzClose OF((unzFile file));
160 extern int ZEXPORT unzGetGlobalInfo OF((unzFile file,
168 extern int ZEXPORT unzGetGlobalComment OF((unzFile file,
181 extern int ZEXPORT unzGoToFirstFile OF((unzFile file));
183 Set the current file of the zipfile to the first file.
187 extern int ZEXPORT unzGoToNextFile OF((unzFile file));
189 Set the current file of the zipfile to the next file.
191 return UNZ_END_OF_LIST_OF_FILE if the actual file was the latest.
194 extern int ZEXPORT unzLocateFile OF((unzFile file,
198 Try locate the file szFileName in the zipfile.
202 UNZ_OK if the file is found. It becomes the current file.
203 UNZ_END_OF_LIST_OF_FILE if the file is not found
209 /* unz_file_info contain information about a file in the zipfile */
212 uLong pos_in_zip_directory; /* offset in zip file directory */
213 uLong num_of_file; /* # of file */
217 unzFile file,
221 unzFile file,
226 extern int ZEXPORT unzGetCurrentFileInfo OF((unzFile file,
235 Get Info about the current file
237 the current file
243 if szComment!=NULL, the comment string of the file will be copied in szComment
249 from it, and close it (you can close it before reading all the file)
252 extern int ZEXPORT unzOpenCurrentFile OF((unzFile file));
254 Open for reading data the current file in the zipfile.
258 extern int ZEXPORT unzOpenCurrentFilePassword OF((unzFile file,
261 Open for reading data the current file in the zipfile.
266 extern int ZEXPORT unzOpenCurrentFile2 OF((unzFile file,
271 Same than unzOpenCurrentFile, but open for read raw the file (not uncompress)
279 extern int ZEXPORT unzOpenCurrentFile3 OF((unzFile file,
285 Same than unzOpenCurrentFile, but open for read raw the file (not uncompress)
294 extern int ZEXPORT unzCloseCurrentFile OF((unzFile file));
296 Close the file in zip opened with unzOpenCurrentFile
297 Return UNZ_CRCERROR if all the file was read but the CRC is not good
300 extern int ZEXPORT unzReadCurrentFile OF((unzFile file,
304 Read bytes from the current file (opened by unzOpenCurrentFile)
309 return 0 if the end of file was reached
314 extern z_off_t ZEXPORT unztell OF((unzFile file));
319 extern int ZEXPORT unzeof OF((unzFile file));
321 return 1 if the end of file was reached, 0 elsewhere
324 extern int ZEXPORT unzGetLocalExtrafield OF((unzFile file,
328 Read extra field from the current file (opened by unzOpenCurrentFile)
342 /* Get the current file offset */
343 extern uLong ZEXPORT unzGetOffset (unzFile file);
345 /* Set the current file offset */
346 extern int ZEXPORT unzSetOffset (unzFile file, uLong pos);