ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
#include <stdio.h>
#include <stdlib.h>
#include "zlib.h"
Go to the source code of this file.
Data Structures | |
struct | zlib_filefunc_def_s |
struct | zlib_filefunc64_def_s |
struct | zlib_filefunc64_32_def_s |
Macros | |
#define | __USE_FILE_OFFSET64 |
#define | __USE_LARGEFILE64 |
#define | _LARGEFILE64_SOURCE |
#define | _FILE_OFFSET_BIT 64 |
#define | OF _Z_OF |
#define | ZLIB_FILEFUNC_SEEK_CUR (1) |
#define | ZLIB_FILEFUNC_SEEK_END (2) |
#define | ZLIB_FILEFUNC_SEEK_SET (0) |
#define | ZLIB_FILEFUNC_MODE_READ (1) |
#define | ZLIB_FILEFUNC_MODE_WRITE (2) |
#define | ZLIB_FILEFUNC_MODE_READWRITEFILTER (3) |
#define | ZLIB_FILEFUNC_MODE_EXISTING (4) |
#define | ZLIB_FILEFUNC_MODE_CREATE (8) |
#define | ZCALLBACK |
#define | ZREAD64(filefunc, filestream, buf, size) ((*((filefunc).zfile_func64.zread_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) |
#define | ZWRITE64(filefunc, filestream, buf, size) ((*((filefunc).zfile_func64.zwrite_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) |
#define | ZCLOSE64(filefunc, filestream) ((*((filefunc).zfile_func64.zclose_file)) ((filefunc).zfile_func64.opaque,filestream)) |
#define | ZFAKECLOSE64(filefunc, filestream) ((*((filefunc).zfile_func64.zfakeclose_file)) ((filefunc).zfile_func64.opaque,filestream)) |
#define | ZERROR64(filefunc, filestream) ((*((filefunc).zfile_func64.zerror_file)) ((filefunc).zfile_func64.opaque,filestream)) |
#define | ZOPEN64(filefunc, filename, mode) (call_zopen64((&(filefunc)),(filename),(mode))) |
#define | ZTELL64(filefunc, filestream) (call_ztell64((&(filefunc)),(filestream))) |
#define | ZSEEK64(filefunc, filestream, pos, mode) (call_zseek64((&(filefunc)),(filestream),(pos),(mode))) |
Typedefs | |
typedef unsigned long long int | ZPOS64_T |
typedef voidpf open_file_func | _Z_OF ((voidpf opaque, voidpf file, int mode)) |
Addition for GDAL : START. More... | |
typedef struct zlib_filefunc_def_s | zlib_filefunc_def |
typedef struct zlib_filefunc64_def_s | zlib_filefunc64_def |
typedef struct zlib_filefunc64_32_def_s | zlib_filefunc64_32_def |
Functions | |
void fill_qiodevice64_filefunc | _Z_OF ((zlib_filefunc64_def *pzlib_filefunc_def)) |
void fill_qiodevice_filefunc | _Z_OF ((zlib_filefunc_def *pzlib_filefunc_def)) |
voidpf call_zopen64 | _Z_OF ((const zlib_filefunc64_32_def *pfilefunc, voidpf file, int mode)) |
int call_zseek64 | _Z_OF ((const zlib_filefunc64_32_def *pfilefunc, voidpf filestream, ZPOS64_T offset, int origin)) |
ZPOS64_T call_ztell64 | _Z_OF ((const zlib_filefunc64_32_def *pfilefunc, voidpf filestream)) |
void | fill_zlib_filefunc64_32_def_from_filefunc32 (zlib_filefunc64_32_def *p_filefunc64_32, const zlib_filefunc_def *p_filefunc32) |
struct zlib_filefunc_def_s |
struct zlib_filefunc64_def_s |
struct zlib_filefunc64_32_def_s |
Data Fields | ||
---|---|---|
zlib_filefunc64_def | zfile_func64 | |
open_file_func | zopen32_file | |
seek_file_func | zseek32_file | |
tell_file_func | ztell32_file |
#define ZCLOSE64 | ( | filefunc, | |
filestream | |||
) | ((*((filefunc).zfile_func64.zclose_file)) ((filefunc).zfile_func64.opaque,filestream)) |
Definition at line 189 of file ioapi.h.
Referenced by LoadCentralDirectoryRecord(), unzClose(), unzOpenInternal(), zipClose(), and zipOpen3().
#define ZERROR64 | ( | filefunc, | |
filestream | |||
) | ((*((filefunc).zfile_func64.zerror_file)) ((filefunc).zfile_func64.opaque,filestream)) |
Definition at line 191 of file ioapi.h.
Referenced by unz64local_getByte(), and zip64local_getByte().
#define ZFAKECLOSE64 | ( | filefunc, | |
filestream | |||
) | ((*((filefunc).zfile_func64.zfakeclose_file)) ((filefunc).zfile_func64.opaque,filestream)) |
Definition at line 190 of file ioapi.h.
Referenced by LoadCentralDirectoryRecord(), unzClose(), unzOpenInternal(), zipClose(), and zipOpen3().
#define ZLIB_FILEFUNC_MODE_CREATE (8) |
Definition at line 118 of file ioapi.h.
Referenced by qiodevice_open_file_func(), and zipOpen3().
#define ZLIB_FILEFUNC_MODE_EXISTING (4) |
Definition at line 117 of file ioapi.h.
Referenced by qiodevice_open_file_func(), unzOpenInternal(), and zipOpen3().
#define ZLIB_FILEFUNC_MODE_READ (1) |
Definition at line 113 of file ioapi.h.
Referenced by qiodevice_open_file_func(), unzOpenInternal(), and zipOpen3().
#define ZLIB_FILEFUNC_MODE_READWRITEFILTER (3) |
Definition at line 115 of file ioapi.h.
Referenced by qiodevice_open_file_func().
#define ZLIB_FILEFUNC_MODE_WRITE (2) |
Definition at line 114 of file ioapi.h.
Referenced by zipOpen3().
#define ZLIB_FILEFUNC_SEEK_CUR (1) |
Definition at line 109 of file ioapi.h.
Referenced by qiodevice64_seek_file_func(), qiodevice_seek_file_func(), and unz64local_GetCurrentFileInfoInternal().
#define ZLIB_FILEFUNC_SEEK_END (2) |
Definition at line 110 of file ioapi.h.
Referenced by qiodevice64_seek_file_func(), qiodevice_seek_file_func(), unz64local_SearchCentralDir(), unz64local_SearchCentralDir64(), zip64local_SearchCentralDir(), and zip64local_SearchCentralDir64().
#define ZLIB_FILEFUNC_SEEK_SET (0) |
Definition at line 111 of file ioapi.h.
Referenced by LoadCentralDirectoryRecord(), qiodevice64_seek_file_func(), qiodevice_seek_file_func(), unz64local_CheckCurrentFileCoherencyHeader(), unz64local_GetCurrentFileInfoInternal(), unz64local_SearchCentralDir(), unz64local_SearchCentralDir64(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzOpenInternal(), unzReadCurrentFile(), zip64local_SearchCentralDir(), zip64local_SearchCentralDir64(), and zipCloseFileInZipRaw64().
#define ZOPEN64 | ( | filefunc, | |
filename, | |||
mode | |||
) | (call_zopen64((&(filefunc)),(filename),(mode))) |
Definition at line 199 of file ioapi.h.
Referenced by unzOpenInternal(), and zipOpen3().
#define ZREAD64 | ( | filefunc, | |
filestream, | |||
buf, | |||
size | |||
) | ((*((filefunc).zfile_func64.zread_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) |
Definition at line 185 of file ioapi.h.
Referenced by LoadCentralDirectoryRecord(), unz64local_getByte(), unz64local_GetCurrentFileInfoInternal(), unz64local_SearchCentralDir(), unz64local_SearchCentralDir64(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzOpenCurrentFile3(), unzReadCurrentFile(), zip64local_getByte(), zip64local_SearchCentralDir(), and zip64local_SearchCentralDir64().
#define ZSEEK64 | ( | filefunc, | |
filestream, | |||
pos, | |||
mode | |||
) | (call_zseek64((&(filefunc)),(filestream),(pos),(mode))) |
Definition at line 201 of file ioapi.h.
Referenced by LoadCentralDirectoryRecord(), unz64local_CheckCurrentFileCoherencyHeader(), unz64local_GetCurrentFileInfoInternal(), unz64local_SearchCentralDir(), unz64local_SearchCentralDir64(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzOpenCurrentFile3(), unzOpenInternal(), unzReadCurrentFile(), zip64local_SearchCentralDir(), zip64local_SearchCentralDir64(), zipCloseFileInZipRaw64(), and zipOpen3().
#define ZTELL64 | ( | filefunc, | |
filestream | |||
) | (call_ztell64((&(filefunc)),(filestream))) |
Definition at line 200 of file ioapi.h.
Referenced by unz64local_SearchCentralDir(), unz64local_SearchCentralDir64(), Write_LocalFileHeader(), zip64local_SearchCentralDir(), zip64local_SearchCentralDir64(), zipClose(), zipCloseFileInZipRaw64(), zipOpen3(), and zipOpenNewFileInZip4_64().
#define ZWRITE64 | ( | filefunc, | |
filestream, | |||
buf, | |||
size | |||
) | ((*((filefunc).zfile_func64.zwrite_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) |
Definition at line 186 of file ioapi.h.
Referenced by Write_GlobalComment(), Write_LocalFileHeader(), zip64FlushWriteBuffer(), zip64local_putValue(), zipClose(), and zipOpenNewFileInZip4_64().
typedef struct zlib_filefunc64_32_def_s zlib_filefunc64_32_def |
typedef struct zlib_filefunc64_def_s zlib_filefunc64_def |
typedef struct zlib_filefunc_def_s zlib_filefunc_def |
void fill_qiodevice64_filefunc _Z_OF | ( | (zlib_filefunc64_def *pzlib_filefunc_def) | ) |
void fill_qiodevice_filefunc _Z_OF | ( | (zlib_filefunc_def *pzlib_filefunc_def) | ) |
voidpf call_zopen64 _Z_OF | ( | (const zlib_filefunc64_32_def *pfilefunc, voidpf file, int mode) | ) |
int call_zseek64 _Z_OF | ( | (const zlib_filefunc64_32_def *pfilefunc, voidpf filestream, ZPOS64_T offset, int origin) | ) |
ZPOS64_T call_ztell64 _Z_OF | ( | (const zlib_filefunc64_32_def *pfilefunc, voidpf filestream) | ) |
void fill_zlib_filefunc64_32_def_from_filefunc32 | ( | zlib_filefunc64_32_def * | p_filefunc64_32, |
const zlib_filefunc_def * | p_filefunc32 | ||
) |
Definition at line 346 of file qioapi.cpp.
References zlib_filefunc_def_s::opaque, zlib_filefunc64_def_s::opaque, zlib_filefunc_def_s::zclose_file, zlib_filefunc64_def_s::zclose_file, zlib_filefunc_def_s::zerror_file, zlib_filefunc64_def_s::zerror_file, zlib_filefunc64_def_s::zfakeclose_file, zlib_filefunc64_32_def_s::zfile_func64, zlib_filefunc64_32_def_s::zopen32_file, zlib_filefunc64_def_s::zopen64_file, zlib_filefunc_def_s::zopen_file, zlib_filefunc_def_s::zread_file, zlib_filefunc64_def_s::zread_file, zlib_filefunc64_32_def_s::zseek32_file, zlib_filefunc64_def_s::zseek64_file, zlib_filefunc_def_s::zseek_file, zlib_filefunc64_32_def_s::ztell32_file, zlib_filefunc64_def_s::ztell64_file, zlib_filefunc_def_s::ztell_file, zlib_filefunc_def_s::zwrite_file, and zlib_filefunc64_def_s::zwrite_file.
Referenced by unzOpen2(), and zipOpen2().