Classes
|
struct
|
z_stream_s |
Defines
|
#define |
ZLIB_VERSION "1.0.4" |
#define |
USE_ISTREAMS |
#define |
Z_NO_FLUSH 0 |
#define |
Z_PARTIAL_FLUSH 1 |
#define |
Z_SYNC_FLUSH 2 |
#define |
Z_FULL_FLUSH 3 |
#define |
Z_FINISH 4 |
#define |
Z_OK 0 |
#define |
Z_STREAM_END 1 |
#define |
Z_NEED_DICT 2 |
#define |
Z_ERRNO (-1) |
#define |
Z_STREAM_ERROR (-2) |
#define |
Z_DATA_ERROR (-3) |
#define |
Z_MEM_ERROR (-4) |
#define |
Z_BUF_ERROR (-5) |
#define |
Z_VERSION_ERROR (-6) |
#define |
Z_NULL 0 |
#define |
Z_NO_COMPRESSION 0 |
#define |
Z_BEST_SPEED 1 |
#define |
Z_BEST_COMPRESSION 9 |
#define |
Z_DEFAULT_COMPRESSION (-1) |
#define |
Z_FILTERED 1 |
#define |
Z_HUFFMAN_ONLY 2 |
#define |
Z_DEFAULT_STRATEGY 0 |
#define |
deflateInit(strm,
level) deflateInit_((strm),
(level),
ZLIB_VERSION, sizeof(z_stream)) |
#define |
inflateInit(strm) inflateInit_((strm),
ZLIB_VERSION, sizeof(z_stream)) |
#define |
deflateInit2(strm,
level,
method, windowBits, memLevel, strategy) |
#define |
inflateInit2(strm,
windowBits) inflateInit2_((strm), (windowBits),
ZLIB_VERSION, sizeof(z_stream)) |
Typedefs
|
typedef unsigned
char |
Byte |
typedef unsigned
int |
uInt |
typedef unsigned
long |
uLong |
typedef unsigned
long |
uLong32 |
typedef void
* |
voidpf |
typedef void
* |
voidp |
typedef
voidpf(* |
alloc_func
)(voidpf
opaque, uInt items,
uInt
size) |
typedef
void(* |
free_func
)(voidpf
opaque, voidpf
address) |
typedef
Byte |
Bytef |
typedef
char |
charf |
typedef
int |
intf |
typedef
uInt |
uIntf |
typedef
uLong |
uLongf |
typedef
uLong32 |
uLong32f |
typedef
z_stream_s |
z_stream |
typedef
z_stream
* |
z_streamp |
typedef
mwchar_t |
WCHAR |
typedef
voidp |
gzFile |
Functions
|
const char
* |
zlibVersion
(void) |
int |
deflate
(z_streamp strm,
int flush) |
int |
deflateEnd
(z_streamp
strm) |
int |
inflateInit
(z_streamp
strm) |
int |
inflate
(z_streamp strm,
int flush) |
int |
inflateEnd
(z_streamp
strm) |
int |
deflateInit2
(z_streamp strm,
int level,
int method, int windowBits, int memLevel, int strategy) |
int |
deflateReset
(z_streamp
strm) |
int |
inflateSetDictionary
(z_streamp strm,
const Bytef
*dictionary, uInt
dictLength) |
int |
inflateSync
(z_streamp
strm) |
int |
inflateReset
(z_streamp
strm) |
int |
compress
(Bytef
*dest, uLongf
*destLen, const Bytef
*source, uLong
sourceLen) |
int |
uncompress
(Bytef
*dest, uLongf
*destLen, const Bytef
*source, uLong
sourceLen) |
gzFile |
gzopen
(IStream *, const WCHAR
*ipath, const char *path, const char *mode) |
int |
gzread
(gzFile
file,
voidp buf,
unsigned len) |
int |
gzwrite
(gzFile
file,
const voidp buf,
unsigned len) |
int |
gzflush
(gzFile
file,
int flush) |
int |
gzclose
(gzFile
file) |
const char
* |
gzerror
(gzFile
file,
int *errnum) |
uLong32 |
crc32
(uLong32
crc, const Bytef *buf,
uInt
len) |
int |
deflateInit_
(z_streamp strm,
int level,
const char *version, int stream_size) |
int |
inflateInit_
(z_streamp strm,
const char *version, int stream_size) |
int |
deflateInit2_
(z_streamp strm,
int level,
int method, int windowBits, int memLevel, int strategy, const char
*version, int stream_size) |
int |
inflateInit2_
(z_streamp strm,
int windowBits, const char *version, int stream_size) |