21 #ifndef _ZLIBIOAPI64_H 22 #define _ZLIBIOAPI64_H 24 #if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__)) 29 #ifndef __USE_FILE_OFFSET64 30 #define __USE_FILE_OFFSET64 32 #ifndef __USE_LARGEFILE64 33 #define __USE_LARGEFILE64 35 #ifndef _LARGEFILE64_SOURCE 36 #define _LARGEFILE64_SOURCE 38 #ifndef _FILE_OFFSET_BIT 39 #define _FILE_OFFSET_BIT 64 48 #if defined(USE_FILE32API) 50 #define ftello64 ftell 51 #define fseeko64 fseek 55 #define ftello64 ftello 56 #define fseeko64 fseeko 60 #if (_MSC_VER >= 1400) && (!(defined(NO_MSCVER_FILE64_FUNC))) 61 #define ftello64 _ftelli64 62 #define fseeko64 _fseeki64 64 #define ftello64 ftell 65 #define fseeko64 fseek 81 #ifdef HAVE_MINIZIP64_CONF_H 86 #ifdef HAVE_64BIT_INT_CUSTOM 87 typedef 64BIT_INT_CUSTOM_TYPE
ZPOS64_T;
95 #define MAXU32 0xffffffff 97 #if defined(_MSC_VER) || defined(__BORLANDC__) 112 #define ZLIB_FILEFUNC_SEEK_CUR (1) 113 #define ZLIB_FILEFUNC_SEEK_END (2) 114 #define ZLIB_FILEFUNC_SEEK_SET (0) 116 #define ZLIB_FILEFUNC_MODE_READ (1) 117 #define ZLIB_FILEFUNC_MODE_WRITE (2) 118 #define ZLIB_FILEFUNC_MODE_READWRITEFILTER (3) 120 #define ZLIB_FILEFUNC_MODE_EXISTING (4) 121 #define ZLIB_FILEFUNC_MODE_CREATE (8) 125 #if (defined(WIN32) || defined(_WIN32) || defined (WINDOWS) || defined (_WINDOWS)) && defined(CALLBACK) && defined (USEWINDOWS_CALLBACK) 126 #define ZCALLBACK CALLBACK 187 #define ZREAD64(filefunc,filestream,buf,size) ((*((filefunc).zfile_func64.zread_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) 188 #define ZWRITE64(filefunc,filestream,buf,size) ((*((filefunc).zfile_func64.zwrite_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) 191 #define ZCLOSE64(filefunc,filestream) ((*((filefunc).zfile_func64.zclose_file)) ((filefunc).zfile_func64.opaque,filestream)) 192 #define ZERROR64(filefunc,filestream) ((*((filefunc).zfile_func64.zerror_file)) ((filefunc).zfile_func64.opaque,filestream)) 200 #define ZOPEN64(filefunc,filename,mode) (call_zopen64((&(filefunc)),(filename),(mode))) 201 #define ZTELL64(filefunc,filestream) (call_ztell64((&(filefunc)),(filestream))) 202 #define ZSEEK64(filefunc,filestream,pos,mode) (call_zseek64((&(filefunc)),(filestream),(pos),(mode))) open_file_func zopen32_file
testerror_file_func zerror_file
testerror_file_func zerror_file
ZPOS64_T call_ztell64(const zlib_filefunc64_32_def *pfilefunc, voidpf filestream)
write_file_func zwrite_file
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
GLenum GLuint GLenum GLsizei const GLchar * buf
void fill_zlib_filefunc64_32_def_from_filefunc32(zlib_filefunc64_32_def *p_filefunc64_32, const zlib_filefunc_def *p_filefunc32)
write_file_func zwrite_file
seek_file_func zseek32_file
struct zlib_filefunc_def_s zlib_filefunc_def
typedef voidpf(ZCALLBACK *open_file_func) OF((voidpf opaque
close_file_func zclose_file
read_file_func zread_file
seek_file_func zseek_file
typedef long(ZCALLBACK *tell_file_func) OF((voidpf opaque
zlib_filefunc64_def zfile_func64
unsigned long long int ZPOS64_T
struct zlib_filefunc64_def_s zlib_filefunc64_def
tell_file_func ztell_file
void fill_fopen64_filefunc(zlib_filefunc64_def *pzlib_filefunc_def)
close_file_func zclose_file
tell_file_func ztell32_file
struct zlib_filefunc64_32_def_s zlib_filefunc64_32_def
open_file_func zopen_file
read_file_func zread_file
open64_file_func zopen64_file
seek64_file_func zseek64_file
void fill_fopen_filefunc(zlib_filefunc_def *pzlib_filefunc_def)
voidpf call_zopen64(const zlib_filefunc64_32_def *pfilefunc, const void *filename, int mode)
long call_zseek64(const zlib_filefunc64_32_def *pfilefunc, voidpf filestream, ZPOS64_T offset, int origin)
typedef uLong(ZCALLBACK *read_file_func) OF((voidpf opaque
void fill_fopen64_filefunc OF((zlib_filefunc64_def *pzlib_filefunc_def))
tell64_file_func ztell64_file