Lines Matching refs:file
14 Oct-2009 - Mathias Svensson - Added Zip64 Support when creating new file archives
140 ZPOS64_T pos_local_header; /* offset of the local header of the file
142 char* central_header; /* central header data for the current file */
144 uLong size_centralheader; /* size of the central header for cur file */
146 uLong flag; /* flag of the file currently writing */
148 int method; /* compression method of file currenty wr.*/
170 int in_opened_file_inzip; /* 1 if a file in the zip is currently writ.*/
171 curfile64_info ci; /* info on the file curretly writing */
282 Inputs a long in LSB order to the given file
890 /* now we add file in a zipfile */
1034 // Remember position of Zip64 extended info for the local file header. (needed when we update size after done with file)
1055 extern int ZEXPORT zipOpenNewFileInZip4_64 (zipFile file, const char* filename, const zip_fileinfo* zipfi,
1075 if (file == NULL)
1086 zi = (zip64_internal*)file;
1090 err = zipCloseFileInZip (file);
1265 extern int ZEXPORT zipOpenNewFileInZip4 (zipFile file, const char* filename, const zip_fileinfo* zipfi,
1273 return zipOpenNewFileInZip4_64 (file, filename, zipfi,
1281 extern int ZEXPORT zipOpenNewFileInZip3 (zipFile file, const char* filename, const zip_fileinfo* zipfi,
1288 return zipOpenNewFileInZip4_64 (file, filename, zipfi,
1296 extern int ZEXPORT zipOpenNewFileInZip3_64(zipFile file, const char* filename, const zip_fileinfo* zipfi,
1303 return zipOpenNewFileInZip4_64 (file, filename, zipfi,
1311 extern int ZEXPORT zipOpenNewFileInZip2(zipFile file, const char* filename, const zip_fileinfo* zipfi,
1316 return zipOpenNewFileInZip4_64 (file, filename, zipfi,
1324 extern int ZEXPORT zipOpenNewFileInZip2_64(zipFile file, const char* filename, const zip_fileinfo* zipfi,
1329 return zipOpenNewFileInZip4_64 (file, filename, zipfi,
1337 extern int ZEXPORT zipOpenNewFileInZip64 (zipFile file, const char* filename, const zip_fileinfo* zipfi,
1342 return zipOpenNewFileInZip4_64 (file, filename, zipfi,
1350 extern int ZEXPORT zipOpenNewFileInZip (zipFile file, const char* filename, const zip_fileinfo* zipfi,
1355 return zipOpenNewFileInZip4_64 (file, filename, zipfi,
1402 extern int ZEXPORT zipWriteInFileInZip (zipFile file,const void* buf,unsigned int len)
1407 if (file == NULL)
1409 zi = (zip64_internal*)file;
1509 extern int ZEXPORT zipCloseFileInZipRaw (zipFile file, uLong uncompressed_size, uLong crc32)
1511 return zipCloseFileInZipRaw64 (file, uncompressed_size, crc32);
1514 extern int ZEXPORT zipCloseFileInZipRaw64 (zipFile file, ZPOS64_T uncompressed_size, uLong crc32)
1522 if (file == NULL)
1524 zi = (zip64_internal*)file;
1629 /// set internal file attributes field
1646 // Add ZIP64 extra info field for relative offset to local file header of current file
1750 extern int ZEXPORT zipCloseFileInZip (zipFile file)
1752 return zipCloseFileInZipRaw (file,0,0);
1882 extern int ZEXPORT zipClose (zipFile file, const char* global_comment)
1890 if (file == NULL)
1893 zi = (zip64_internal*)file;
1897 err = zipCloseFileInZip (file);