40 #define ZLIB_VERSION "1.2.8"
41 #define ZLIB_VERNUM 0x1280
42 #define ZLIB_VER_MAJOR 1
43 #define ZLIB_VER_MINOR 2
44 #define ZLIB_VER_REVISION 8
45 #define ZLIB_VER_SUBREVISION 0
165 #define Z_PARTIAL_FLUSH 1
166 #define Z_SYNC_FLUSH 2
167 #define Z_FULL_FLUSH 3
174 #define Z_STREAM_END 1
175 #define Z_NEED_DICT 2
177 #define Z_STREAM_ERROR (-2)
178 #define Z_DATA_ERROR (-3)
179 #define Z_MEM_ERROR (-4)
180 #define Z_BUF_ERROR (-5)
181 #define Z_VERSION_ERROR (-6)
186 #define Z_NO_COMPRESSION 0
187 #define Z_BEST_SPEED 1
188 #define Z_BEST_COMPRESSION 9
189 #define Z_DEFAULT_COMPRESSION (-1)
193 #define Z_HUFFMAN_ONLY 2
196 #define Z_DEFAULT_STRATEGY 0
201 #define Z_ASCII Z_TEXT
210 #define zlib_version zlibVersion()
588 const Bytef *dictionary,
820 const Bytef *dictionary,
1025 typedef unsigned (*in_func)
OF((
void FAR *,
1026 z_const unsigned char FAR * FAR *));
1027 typedef
int (*out_func)
OF((
void FAR *,
unsigned char FAR *,
unsigned));
1030 in_func in,
void FAR *in_desc,
1031 out_func out,
void FAR *out_desc));
1304 ZEXTERN int ZEXPORT gzsetparams
OF((gzFile file,
int level,
int strategy));
1342 voidpc buf,
unsigned len));
1634 const char *version,
int stream_size));
1636 const char *version,
int stream_size));
1637 ZEXTERN int ZEXPORT deflateInit2_
OF((z_streamp strm,
int level,
int method,
1638 int windowBits,
int memLevel,
1639 int strategy,
const char *version,
1642 const char *version,
int stream_size));
1644 unsigned char FAR *window,
1645 const char *version,
1647 #define deflateInit(strm, level) \
1648 deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream))
1649 #define inflateInit(strm) \
1650 inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream))
1651 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1652 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1653 (strategy), ZLIB_VERSION, (int)sizeof(z_stream))
1654 #define inflateInit2(strm, windowBits) \
1655 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1656 (int)sizeof(z_stream))
1657 #define inflateBackInit(strm, windowBits, window) \
1658 inflateBackInit_((strm), (windowBits), (window), \
1659 ZLIB_VERSION, (int)sizeof(z_stream))
1678 # define z_gzgetc(g) \
1679 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
1681 # define gzgetc(g) \
1682 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
1700 #if !defined(ZLIB_INTERNAL) && defined(Z_WANT64)
1701 # ifdef Z_PREFIX_SET
1702 # define z_gzopen z_gzopen64
1703 # define z_gzseek z_gzseek64
1704 # define z_gztell z_gztell64
1705 # define z_gzoffset z_gzoffset64
1706 # define z_adler32_combine z_adler32_combine64
1707 # define z_crc32_combine z_crc32_combine64
1709 # define gzopen gzopen64
1710 # define gzseek gzseek64
1711 # define gztell gztell64
1712 # define gzoffset gzoffset64
1713 # define adler32_combine adler32_combine64
1714 # define crc32_combine crc32_combine64
1741 #if !defined(ZUTIL_H) && !defined(NO_DUMMY_DECL)
1752 #if defined(_WIN32) && !defined(Z_SOLO)
1756 #if defined(STDC) || defined(Z_HAVE_STDARG_H)
void format(BasicFormatter< Char > &f, const Char *&format_str, const T &value)
Definition: format.h:2963
unsigned long z_crc_t
Definition: zconf.h:408
Byte FAR * voidpf
Definition: zconf.h:390
#define z_off_t
Definition: zconf.h:481
uInt avail_in
Definition: zlib.h:87
unsigned have
Definition: zlib.h:1671
#define z_off64_t
Definition: zconf.h:490
unsigned long uLong
Definition: zconf.h:371
struct gz_header_s gz_header
gz_header FAR * gz_headerp
Definition: zlib.h:129
#define z_const
Definition: zconf.h:224
Byte FAR Bytef
Definition: zconf.h:377
voidpf opaque
Definition: zlib.h:99
struct internal_state FAR * state
Definition: zlib.h:95
free_func zfree
Definition: zlib.h:98
uLong reserved
Definition: zlib.h:103
struct gzFile_s * gzFile
Definition: zlib.h:1224
int data_type
Definition: zlib.h:101
z_const char * msg
Definition: zlib.h:94
uLong total_in
Definition: zlib.h:88
ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format,...))
#define gzgetc(g)
Definition: zlib.h:1681
alloc_func zalloc
Definition: zlib.h:97
Bytef * next_out
Definition: zlib.h:90
z_off64_t pos
Definition: zlib.h:1673
uint16 bits() const
Returns the underlying bits in this representation. Equivalent to:
Definition: unorm16.h:89
Byte * voidp
Definition: zconf.h:391
int dummy
Definition: zlib.h:1742
uLong adler
Definition: zlib.h:102
uLong total_out
Definition: zlib.h:92
#define ZEXTERN
Definition: zconf.h:354
uLong FAR uLongf
Definition: zconf.h:382
unsigned char * next
Definition: zlib.h:1672
uInt avail_out
Definition: zlib.h:91
z_const Bytef * next_in
Definition: zlib.h:86
const FieldDescriptor value
Definition: descriptor.h:1522
struct z_stream_s z_stream
#define FAR
Definition: zconf.h:364
z_stream FAR * z_streamp
Definition: zlib.h:106
Byte const * voidpc
Definition: zconf.h:389
#define ZEXPORT
Definition: zconf.h:357
#define ZEXPORTVA
Definition: zconf.h:360
unsigned int uInt
Definition: zconf.h:370
voidpf alloc_func OF((voidpf opaque, uInt items, uInt size))
Definition: zlib.h:80