#include <stdio.h>
#include <stdlib.h>
#include "zlib.h"
Go to the source code of this file.
|
#define | __USE_FILE_OFFSET64 |
|
#define | __USE_LARGEFILE64 |
|
#define | _LARGEFILE64_SOURCE |
|
#define | _FILE_OFFSET_BIT 64 |
|
#define | MAXU32 (0xffffffff) |
|
#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 | 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))) |
|
◆ __USE_FILE_OFFSET64
◆ __USE_LARGEFILE64
◆ _FILE_OFFSET_BIT
◆ _LARGEFILE64_SOURCE
◆ MAXU32
◆ ZCALLBACK
◆ ZCLOSE64
#define ZCLOSE64 |
( |
|
filefunc, |
|
|
|
filestream |
|
) |
| ((*((filefunc).zfile_func64.zclose_file)) ((filefunc).zfile_func64.opaque,filestream)) |
◆ ZERROR64
#define ZERROR64 |
( |
|
filefunc, |
|
|
|
filestream |
|
) |
| ((*((filefunc).zfile_func64.zerror_file)) ((filefunc).zfile_func64.opaque,filestream)) |
◆ ZLIB_FILEFUNC_MODE_CREATE
#define ZLIB_FILEFUNC_MODE_CREATE (8) |
◆ ZLIB_FILEFUNC_MODE_EXISTING
#define ZLIB_FILEFUNC_MODE_EXISTING (4) |
◆ ZLIB_FILEFUNC_MODE_READ
#define ZLIB_FILEFUNC_MODE_READ (1) |
◆ ZLIB_FILEFUNC_MODE_READWRITEFILTER
#define ZLIB_FILEFUNC_MODE_READWRITEFILTER (3) |
◆ ZLIB_FILEFUNC_MODE_WRITE
#define ZLIB_FILEFUNC_MODE_WRITE (2) |
◆ ZLIB_FILEFUNC_SEEK_CUR
#define ZLIB_FILEFUNC_SEEK_CUR (1) |
◆ ZLIB_FILEFUNC_SEEK_END
#define ZLIB_FILEFUNC_SEEK_END (2) |
◆ ZLIB_FILEFUNC_SEEK_SET
#define ZLIB_FILEFUNC_SEEK_SET (0) |
◆ ZOPEN64
◆ ZREAD64
#define ZREAD64 |
( |
|
filefunc, |
|
|
|
filestream, |
|
|
|
buf, |
|
|
|
size |
|
) |
| ((*((filefunc).zfile_func64.zread_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) |
◆ ZSEEK64
◆ ZTELL64
◆ ZWRITE64
#define ZWRITE64 |
( |
|
filefunc, |
|
|
|
filestream, |
|
|
|
buf, |
|
|
|
size |
|
) |
| ((*((filefunc).zfile_func64.zwrite_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) |
◆ buf
◆ filename
◆ mode
◆ offset
◆ origin
◆ size
◆ stream
◆ zlib_filefunc64_32_def
◆ zlib_filefunc64_def
◆ zlib_filefunc_def
◆ ZPOS64_T
◆ fill_zlib_filefunc64_32_def_from_filefunc32()
Definition at line 70 of file ioapi.c.
71{
84}
seek_file_func zseek32_file
zlib_filefunc64_def zfile_func64
open_file_func zopen32_file
tell_file_func ztell32_file
write_file_func zwrite_file
open64_file_func zopen64_file
read_file_func zread_file
tell64_file_func ztell64_file
close_file_func zclose_file
seek64_file_func zseek64_file
testerror_file_func zerror_file
seek_file_func zseek_file
open_file_func zopen_file
testerror_file_func zerror_file
write_file_func zwrite_file
read_file_func zread_file
close_file_func zclose_file
tell_file_func ztell_file
Referenced by unzOpen2(), and zipOpen2().
◆ int()
◆ long()
◆ OF() [1/5]
◆ OF() [2/5]
◆ OF() [3/5]
◆ OF() [4/5]
◆ OF() [5/5]
◆ uLong()
◆ voidpf()
◆ ZPOS64_T()