ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
Go to the source code of this file.
Data Structures | |
struct | tm_zip_s |
struct | zip_fileinfo |
Macros | |
#define | Z_BZIP2ED 12 |
#define | ZIP_OK (0) |
#define | ZIP_EOF (0) |
#define | ZIP_ERRNO (Z_ERRNO) |
#define | ZIP_PARAMERROR (-102) |
#define | ZIP_BADZIPFILE (-103) |
#define | ZIP_INTERNALERROR (-104) |
#define | ZIP_WRITE_DATA_DESCRIPTOR 0x8u |
#define | ZIP_AUTO_CLOSE 0x1u |
#define | ZIP_SEQUENTIAL 0x2u |
#define | ZIP_DEFAULT_FLAGS (ZIP_AUTO_CLOSE | ZIP_WRITE_DATA_DESCRIPTOR) |
#define | DEF_MEM_LEVEL MAX_MEM_LEVEL |
#define | APPEND_STATUS_CREATE (0) |
#define | APPEND_STATUS_CREATEAFTER (1) |
#define | APPEND_STATUS_ADDINZIP (2) |
Typedefs | |
typedef voidp | zipFile |
typedef struct tm_zip_s | tm_zip |
typedef const char * | zipcharpc |
Functions | |
zipFile ZEXPORT zipOpen | _Z_OF ((voidpf file, int append)) |
zipFile ZEXPORT zipOpen2 | _Z_OF ((voidpf file, int append, zipcharpc *globalcomment, zlib_filefunc_def *pzlib_filefunc_def)) |
zipFile ZEXPORT zipOpen2_64 | _Z_OF ((voidpf file, int append, zipcharpc *globalcomment, zlib_filefunc64_def *pzlib_filefunc_def)) |
zipFile ZEXPORT | zipOpen3 (voidpf file, int append, zipcharpc *globalcomment, zlib_filefunc64_32_def *pzlib_filefunc64_32_def, unsigned flags) |
int ZEXPORT zipOpenNewFileInZip | _Z_OF ((zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level)) |
int ZEXPORT zipOpenNewFileInZip64 | _Z_OF ((zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int zip64)) |
int ZEXPORT zipOpenNewFileInZip2 | _Z_OF ((zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw)) |
int ZEXPORT zipOpenNewFileInZip2_64 | _Z_OF ((zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int zip64)) |
int ZEXPORT zipOpenNewFileInZip3 | _Z_OF ((zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting)) |
int ZEXPORT zipOpenNewFileInZip3_64 | _Z_OF ((zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting, int zip64)) |
int ZEXPORT zipOpenNewFileInZip4 | _Z_OF ((zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting, uLong versionMadeBy, uLong flagBase)) |
int ZEXPORT zipOpenNewFileInZip4_64 | _Z_OF ((zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting, uLong versionMadeBy, uLong flagBase, int zip64)) |
int ZEXPORT zipWriteInFileInZip | _Z_OF ((zipFile file, const void *buf, unsigned len)) |
int ZEXPORT zipCloseFileInZip | _Z_OF ((zipFile file)) |
int ZEXPORT zipCloseFileInZipRaw | _Z_OF ((zipFile file, uLong uncompressed_size, uLong crc32)) |
int ZEXPORT zipCloseFileInZipRaw64 | _Z_OF ((zipFile file, ZPOS64_T uncompressed_size, uLong crc32)) |
int ZEXPORT zipClose | _Z_OF ((zipFile file, const char *global_comment)) |
int ZEXPORT zipRemoveExtraInfoBlock | _Z_OF ((char *pData, int *dataLen, short sHeader)) |
int ZEXPORT | zipSetFlags (zipFile file, unsigned flags) |
int ZEXPORT | zipClearFlags (zipFile file, unsigned flags) |
struct tm_zip_s |
struct zip_fileinfo |
#define APPEND_STATUS_ADDINZIP (2) |
Definition at line 125 of file zip.h.
Referenced by QuaZip::open(), and zipOpen3().
#define APPEND_STATUS_CREATE (0) |
Definition at line 123 of file zip.h.
Referenced by QuaZip::open(), and zipOpen3().
#define APPEND_STATUS_CREATEAFTER (1) |
Definition at line 124 of file zip.h.
Referenced by QuaZip::open(), and zipOpen3().
#define DEF_MEM_LEVEL MAX_MEM_LEVEL |
Definition at line 94 of file zip.h.
Referenced by zipOpenNewFileInZip(), zipOpenNewFileInZip2(), zipOpenNewFileInZip2_64(), and zipOpenNewFileInZip64().
#define ZIP_AUTO_CLOSE 0x1u |
Definition at line 86 of file zip.h.
Referenced by LoadCentralDirectoryRecord(), QuaZip::open(), zipClose(), and zipOpen3().
#define ZIP_BADZIPFILE (-103) |
Definition at line 82 of file zip.h.
Referenced by LoadCentralDirectoryRecord(), and zipCloseFileInZipRaw64().
#define ZIP_DEFAULT_FLAGS (ZIP_AUTO_CLOSE | ZIP_WRITE_DATA_DESCRIPTOR) |
Definition at line 88 of file zip.h.
Referenced by zipOpen(), zipOpen2(), zipOpen2_64(), and zipOpen64().
#define ZIP_EOF (0) |
Definition at line 79 of file zip.h.
Referenced by zip64local_getByte().
#define ZIP_ERRNO (Z_ERRNO) |
Definition at line 80 of file zip.h.
Referenced by LoadCentralDirectoryRecord(), Write_GlobalComment(), Write_LocalFileHeader(), zip64FlushWriteBuffer(), zip64local_getByte(), zip64local_putValue(), zipClose(), zipCloseFileInZipRaw64(), zipOpenNewFileInZip4_64(), zipRemoveExtraInfoBlock(), and zipWriteInFileInZip().
#define ZIP_INTERNALERROR (-104) |
Definition at line 83 of file zip.h.
Referenced by add_data_in_datablock(), and zipOpenNewFileInZip4_64().
#define ZIP_OK (0) |
Definition at line 78 of file zip.h.
Referenced by add_data_in_datablock(), LoadCentralDirectoryRecord(), Write_EndOfCentralDirectoryRecord(), Write_GlobalComment(), Write_LocalFileHeader(), Write_Zip64EndOfCentralDirectoryLocator(), Write_Zip64EndOfCentralDirectoryRecord(), QuaZipFile::writeData(), zip64FlushWriteBuffer(), zip64local_getByte(), zip64local_getLong(), zip64local_getLong64(), zip64local_getShort(), zip64local_putValue(), zip64local_SearchCentralDir64(), zipClearFlags(), zipClose(), zipCloseFileInZipRaw64(), zipOpen3(), zipOpenNewFileInZip4_64(), zipRemoveExtraInfoBlock(), zipSetFlags(), and zipWriteInFileInZip().
#define ZIP_PARAMERROR (-102) |
Definition at line 81 of file zip.h.
Referenced by zipClearFlags(), zipClose(), zipCloseFileInZipRaw64(), zipOpenNewFileInZip4_64(), zipRemoveExtraInfoBlock(), zipSetFlags(), and zipWriteInFileInZip().
#define ZIP_SEQUENTIAL 0x2u |
Definition at line 87 of file zip.h.
Referenced by QuaZip::open(), zipClearFlags(), zipCloseFileInZipRaw64(), zipOpenNewFileInZip4_64(), and zipSetFlags().
#define ZIP_WRITE_DATA_DESCRIPTOR 0x8u |
Definition at line 85 of file zip.h.
Referenced by QuaZip::open(), QuaZipFile::open(), zipClearFlags(), zipOpenNewFileInZip4_64(), and zipSetFlags().
zipFile ZEXPORT zipOpen2 _Z_OF | ( | (voidpf file, int append, zipcharpc *globalcomment, zlib_filefunc_def *pzlib_filefunc_def) | ) |
zipFile ZEXPORT zipOpen2_64 _Z_OF | ( | (voidpf file, int append, zipcharpc *globalcomment, zlib_filefunc64_def *pzlib_filefunc_def) | ) |
int ZEXPORT zipOpenNewFileInZip _Z_OF | ( | (zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level) | ) |
int ZEXPORT zipOpenNewFileInZip64 _Z_OF | ( | (zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int zip64) | ) |
int ZEXPORT zipOpenNewFileInZip2 _Z_OF | ( | (zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw) | ) |
int ZEXPORT zipOpenNewFileInZip2_64 _Z_OF | ( | (zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int zip64) | ) |
int ZEXPORT zipOpenNewFileInZip3 _Z_OF | ( | (zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting) | ) |
int ZEXPORT zipOpenNewFileInZip3_64 _Z_OF | ( | (zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting, int zip64) | ) |
int ZEXPORT zipOpenNewFileInZip4 _Z_OF | ( | (zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting, uLong versionMadeBy, uLong flagBase) | ) |
int ZEXPORT zipOpenNewFileInZip4_64 _Z_OF | ( | (zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting, uLong versionMadeBy, uLong flagBase, int zip64) | ) |
int ZEXPORT zipWriteInFileInZip _Z_OF | ( | (zipFile file, const void *buf, unsigned len) | ) |
int ZEXPORT zipCloseFileInZip _Z_OF | ( | (zipFile file) | ) |
int ZEXPORT zipCloseFileInZipRaw _Z_OF | ( | (zipFile file, uLong uncompressed_size, uLong crc32) | ) |
int ZEXPORT zipCloseFileInZipRaw64 _Z_OF | ( | (zipFile file, ZPOS64_T uncompressed_size, uLong crc32) | ) |
int ZEXPORT zipRemoveExtraInfoBlock _Z_OF | ( | (char *pData, int *dataLen, short sHeader) | ) |
int ZEXPORT zipClearFlags | ( | zipFile | file, |
unsigned | flags | ||
) |
Definition at line 2091 of file zip.c.
References zip64_internal::flags, ZIP_OK, ZIP_PARAMERROR, ZIP_SEQUENTIAL, and ZIP_WRITE_DATA_DESCRIPTOR.
Referenced by QuaZipFile::open().
zipFile ZEXPORT zipOpen3 | ( | voidpf | file, |
int | append, | ||
zipcharpc * | globalcomment, | ||
zlib_filefunc64_32_def * | pzlib_filefunc64_32_def, | ||
unsigned | flags | ||
) |
Definition at line 862 of file zip.c.
References zip64_internal::add_position_when_writting_offset, ALLOC, APPEND_STATUS_ADDINZIP, APPEND_STATUS_CREATE, APPEND_STATUS_CREATEAFTER, zip64_internal::begin_pos, zip64_internal::central_dir, zip64_internal::ci, zip64_internal::filestream, fill_qiodevice64_filefunc(), zip64_internal::flags, zip64_internal::globalcomment, zip64_internal::in_opened_file_inzip, init_linkedlist(), LoadCentralDirectoryRecord(), zip64_internal::number_entry, SEEK_END, curfile64_info::stream_initialised, TRYFREE, zip64_internal::z_filefunc, ZCLOSE64, ZFAKECLOSE64, zlib_filefunc64_32_def_s::zfile_func64, ZIP_AUTO_CLOSE, ZIP_OK, ZLIB_FILEFUNC_MODE_CREATE, ZLIB_FILEFUNC_MODE_EXISTING, ZLIB_FILEFUNC_MODE_READ, ZLIB_FILEFUNC_MODE_WRITE, ZOPEN64, zlib_filefunc64_32_def_s::zseek32_file, ZSEEK64, zlib_filefunc64_32_def_s::ztell32_file, and ZTELL64.
Referenced by QuaZip::open(), zipOpen(), zipOpen2(), zipOpen2_64(), and zipOpen64().
int ZEXPORT zipSetFlags | ( | zipFile | file, |
unsigned | flags | ||
) |
Definition at line 2077 of file zip.c.
References zip64_internal::flags, ZIP_OK, ZIP_PARAMERROR, ZIP_SEQUENTIAL, and ZIP_WRITE_DATA_DESCRIPTOR.
Referenced by QuaZip::open(), and QuaZipFile::open().