36 const char* mode_fopen = NULL;
46 if ((
filename!=NULL) && (mode_fopen != NULL))
104 pzlib_filefunc_def->
opaque = NULL;
static long ZCALLBACK fseek_file_func(voidpf opaque, voidpf stream, uLong offset, int origin)
static int ZCALLBACK ferror_file_func(voidpf opaque, voidpf stream)
static uLong ZCALLBACK fwrite_file_func(voidpf opaque, voidpf stream, const void *buf, uLong size)
void fill_fopen_filefunc(zlib_filefunc_def *pzlib_filefunc_def)
static voidpf ZCALLBACK fopen_file_func(voidpf opaque, const char *filename, int mode)
static long ZCALLBACK ftell_file_func(voidpf opaque, voidpf stream)
static uLong ZCALLBACK fread_file_func(voidpf opaque, voidpf stream, void *buf, uLong size)
static int ZCALLBACK fclose_file_func(voidpf opaque, voidpf stream)
#define ZLIB_FILEFUNC_MODE_READWRITEFILTER
typedef voidpf(ZCALLBACK *open_file_func) OF((voidpf opaque
typedef uLong(ZCALLBACK *read_file_func) OF((voidpf opaque
#define ZLIB_FILEFUNC_MODE_EXISTING
#define ZLIB_FILEFUNC_SEEK_CUR
#define ZLIB_FILEFUNC_SEEK_SET
#define ZLIB_FILEFUNC_MODE_CREATE
#define ZLIB_FILEFUNC_SEEK_END
#define ZLIB_FILEFUNC_MODE_READ
seek_file_func zseek_file
open_file_func zopen_file
write_file_func zwrite_file
testerror_file_func zerror_file
read_file_func zread_file
tell_file_func ztell_file
close_file_func zclose_file
FILE * Sys_Fopen(const char *filename, const char *mode)