#ifndef _ZLIBIOAPI64_H
#define _ZLIBIOAPI64_H
#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__))
#ifndef __USE_FILE_OFFSET64
#define __USE_FILE_OFFSET64
#endif
#ifndef __USE_LARGEFILE64
#define __USE_LARGEFILE64
#endif
#ifndef _LARGEFILE64_SOURCE
#define _LARGEFILE64_SOURCE
#endif
#ifndef _FILE_OFFSET_BIT
#define _FILE_OFFSET_BIT …
#endif
#endif
#include <stdio.h>
#include <stdlib.h>
#include "zlib.h"
#if defined(USE_FILE32API)
#define fopen64 …
#define ftello64 …
#define fseeko64 …
#else
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__HAIKU__) || defined(MINIZIP_FOPEN_NO_64)
#define fopen64 …
#define ftello64 …
#define fseeko64 …
#endif
#ifdef _MSC_VER
#define fopen64 …
#if (_MSC_VER >= 1400) && (!(defined(NO_MSCVER_FILE64_FUNC)))
#define ftello64 …
#define fseeko64 …
#else
#define ftello64 …
#define fseeko64 …
#endif
#endif
#endif
#ifdef HAVE_MINIZIP64_CONF_H
#include "mz64conf.h"
#endif
#ifdef HAVE_64BIT_INT_CUSTOM
typedef 64BIT_INT_CUSTOM_TYPE ZPOS64_T;
#else
#ifdef HAS_STDINT_H
#include "stdint.h"
typedef uint64_t ZPOS64_T;
#else
#if defined(_MSC_VER) || defined(__BORLANDC__)
typedef unsigned __int64 ZPOS64_T;
#else
ZPOS64_T;
#endif
#endif
#endif
#ifndef MAXU32
#define MAXU32 …
#endif
#ifdef __cplusplus
extern "C" {
#endif
#define ZLIB_FILEFUNC_SEEK_CUR …
#define ZLIB_FILEFUNC_SEEK_END …
#define ZLIB_FILEFUNC_SEEK_SET …
#define ZLIB_FILEFUNC_MODE_READ …
#define ZLIB_FILEFUNC_MODE_WRITE …
#define ZLIB_FILEFUNC_MODE_READWRITEFILTER …
#define ZLIB_FILEFUNC_MODE_EXISTING …
#define ZLIB_FILEFUNC_MODE_CREATE …
#ifndef ZCALLBACK
#if (defined(WIN32) || defined(_WIN32) || defined (WINDOWS) || defined (_WINDOWS)) && defined(CALLBACK) && defined (USEWINDOWS_CALLBACK)
#define ZCALLBACK …
#else
#define ZCALLBACK
#endif
#endif
open_file_func;
read_file_func;
write_file_func;
close_file_func;
testerror_file_func;
tell_file_func;
seek_file_func;
zlib_filefunc_def;
tell64_file_func;
seek64_file_func;
open64_file_func;
zlib_filefunc64_def;
void fill_fopen64_filefunc(zlib_filefunc64_def* pzlib_filefunc_def);
void fill_fopen_filefunc(zlib_filefunc_def* pzlib_filefunc_def);
zlib_filefunc64_32_def;
#define ZREAD64(filefunc,filestream,buf,size) …
#define ZWRITE64(filefunc,filestream,buf,size) …
#define ZCLOSE64(filefunc,filestream) …
#define ZERROR64(filefunc,filestream) …
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);
ZPOS64_T call_ztell64(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);
#define ZOPEN64(filefunc,filename,mode) …
#define ZTELL64(filefunc,filestream) …
#define ZSEEK64(filefunc,filestream,pos,mode) …
#ifdef __cplusplus
}
#endif
#endif