#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))) |
|
Definition at line 146 of file ioapi.h.
Class Members |
voidpf |
opaque |
|
close_file_func |
zclose_file |
|
testerror_file_func |
zerror_file |
|
open_file_func |
zopen_file |
|
read_file_func |
zread_file |
|
seek_file_func |
zseek_file |
|
tell_file_func |
ztell_file |
|
write_file_func |
zwrite_file |
|
struct zlib_filefunc64_def |
Definition at line 162 of file ioapi.h.
Class Members |
voidpf |
opaque |
|
close_file_func |
zclose_file |
|
testerror_file_func |
zerror_file |
|
open64_file_func |
zopen64_file |
|
read_file_func |
zread_file |
|
seek64_file_func |
zseek64_file |
|
tell64_file_func |
ztell64_file |
|
write_file_func |
zwrite_file |
|
struct zlib_filefunc64_32_def |
Definition at line 178 of file ioapi.h.
Class Members |
zlib_filefunc64_def |
zfile_func64 |
|
open_file_func |
zopen32_file |
|
seek_file_func |
zseek32_file |
|
tell_file_func |
ztell32_file |
|
#define __USE_FILE_OFFSET64 |
#define __USE_LARGEFILE64 |
#define _FILE_OFFSET_BIT 64 |
#define _LARGEFILE64_SOURCE |
#define MAXU32 0xffffffff |
#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 ZLIB_FILEFUNC_MODE_CREATE (8) |
#define ZLIB_FILEFUNC_MODE_EXISTING (4) |
#define ZLIB_FILEFUNC_MODE_READ (1) |
#define ZLIB_FILEFUNC_MODE_READWRITEFILTER (3) |
#define ZLIB_FILEFUNC_MODE_WRITE (2) |
#define ZLIB_FILEFUNC_SEEK_CUR (1) |
#define ZLIB_FILEFUNC_SEEK_END (2) |
#define ZLIB_FILEFUNC_SEEK_SET (0) |
#define ZOPEN64 |
( |
|
filefunc, |
|
|
|
filename, |
|
|
|
mode |
|
) |
| (call_zopen64((&(filefunc)),(filename),(mode))) |
#define ZREAD64 |
( |
|
filefunc, |
|
|
|
filestream, |
|
|
|
buf, |
|
|
|
size |
|
) |
| ((*((filefunc).zfile_func64.zread_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) |
#define ZSEEK64 |
( |
|
filefunc, |
|
|
|
filestream, |
|
|
|
pos, |
|
|
|
mode |
|
) |
| (call_zseek64((&(filefunc)),(filestream),(pos),(mode))) |
#define ZTELL64 |
( |
|
filefunc, |
|
|
|
filestream |
|
) |
| (call_ztell64((&(filefunc)),(filestream))) |
#define ZWRITE64 |
( |
|
filefunc, |
|
|
|
filestream, |
|
|
|
buf, |
|
|
|
size |
|
) |
| ((*((filefunc).zfile_func64.zwrite_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) |
Addition for GDAL : START
Addition for GDAL : END
Definition at line 135 of file ioapi.h.