40 #define ZLIB_VERSION "1.2.12" 41 #define ZLIB_VERNUM 0x12c0 42 #define ZLIB_VER_MAJOR 1 43 #define ZLIB_VER_MINOR 2 44 #define ZLIB_VER_REVISION 12 45 #define ZLIB_VER_SUBREVISION 0 169 #define Z_PARTIAL_FLUSH 1 170 #define Z_SYNC_FLUSH 2 171 #define Z_FULL_FLUSH 3 178 #define Z_STREAM_END 1 179 #define Z_NEED_DICT 2 181 #define Z_STREAM_ERROR (-2) 182 #define Z_DATA_ERROR (-3) 183 #define Z_MEM_ERROR (-4) 184 #define Z_BUF_ERROR (-5) 185 #define Z_VERSION_ERROR (-6) 190 #define Z_NO_COMPRESSION 0 191 #define Z_BEST_SPEED 1 192 #define Z_BEST_COMPRESSION 9 193 #define Z_DEFAULT_COMPRESSION (-1) 197 #define Z_HUFFMAN_ONLY 2 200 #define Z_DEFAULT_STRATEGY 0 205 #define Z_ASCII Z_TEXT 214 #define zlib_version zlibVersion() 1096 typedef int (*out_func)
OF((
void FAR *,
unsigned char FAR *,
unsigned));
1099 in_func
in,
void FAR *in_desc,
1100 out_func
out,
void FAR *out_desc));
1787 int strategy,
const char *
version,
1796 # define z_deflateInit(strm, level) \ 1797 deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream)) 1798 # define z_inflateInit(strm) \ 1799 inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream)) 1800 # define z_deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ 1801 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\ 1802 (strategy), ZLIB_VERSION, (int)sizeof(z_stream)) 1803 # define z_inflateInit2(strm, windowBits) \ 1804 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \ 1805 (int)sizeof(z_stream)) 1806 # define z_inflateBackInit(strm, windowBits, window) \ 1807 inflateBackInit_((strm), (windowBits), (window), \ 1808 ZLIB_VERSION, (int)sizeof(z_stream)) 1810 # define deflateInit(strm, level) \ 1811 deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream)) 1812 # define inflateInit(strm) \ 1813 inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream)) 1814 # define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ 1815 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\ 1816 (strategy), ZLIB_VERSION, (int)sizeof(z_stream)) 1817 # define inflateInit2(strm, windowBits) \ 1818 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \ 1819 (int)sizeof(z_stream)) 1820 # define inflateBackInit(strm, windowBits, window) \ 1821 inflateBackInit_((strm), (windowBits), (window), \ 1822 ZLIB_VERSION, (int)sizeof(z_stream)) 1842 # define z_gzgetc(g) \ 1843 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : (gzgetc)(g)) 1845 # define gzgetc(g) \ 1846 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : (gzgetc)(g)) 1865 #if !defined(ZLIB_INTERNAL) && defined(Z_WANT64) 1866 # ifdef Z_PREFIX_SET 1867 # define z_gzopen z_gzopen64 1868 # define z_gzseek z_gzseek64 1869 # define z_gztell z_gztell64 1870 # define z_gzoffset z_gzoffset64 1871 # define z_adler32_combine z_adler32_combine64 1872 # define z_crc32_combine z_crc32_combine64 1873 # define z_crc32_combine_gen z_crc32_combine_gen64 1875 # define gzopen gzopen64 1876 # define gzseek gzseek64 1877 # define gztell gztell64 1878 # define gzoffset gzoffset64 1879 # define adler32_combine adler32_combine64 1880 # define crc32_combine crc32_combine64 1881 # define crc32_combine_gen crc32_combine_gen64 1919 #if defined(_WIN32) && !defined(Z_SOLO) 1923 #if defined(STDC) || defined(Z_HAVE_STDARG_H)
int ZEXPORT deflateGetDictionary(z_streamp strm, Bytef *dictionary, uInt *dictLength)
int ZEXPORT gzdirect(gzFile file)
int inflateEnd(z_streamp strm) DECLSPEC_HIDDEN
int ZEXPORT deflateParams(z_streamp strm, int level, int strategy)
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
int ZEXPORT inflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
int inflate(z_streamp strm, int flush) DECLSPEC_HIDDEN
uLong ZEXPORT crc32_combine_gen(z_off_t len2)
uLong ZEXPORT adler32_z(uLong adler, const Bytef *buf, z_size_t len)
const char *ZEXPORT zError(int err)
struct outqueuenode * head
int ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format,...))
int ZEXPORT inflateBack(z_streamp strm, in_func in, void FAR *in_desc, out_func out, void FAR *out_desc)
int ZEXPORT inflateGetDictionary(z_streamp strm, Bytef *dictionary, uInt *dictLength)
uLong ZEXPORT crc32_combine64(uLong crc1, uLong crc2, z_off64_t len2)
int ZEXPORT gzeof(gzFile file)
z_off64_t ZEXPORT gzoffset64(gzFile file)
int ZEXPORT gzsetparams(gzFile file, int level, int strategy)
uLong ZEXPORT adler32_combine64(uLong adler1, uLong adler2, z_off64_t len2)
int ZEXPORT gzclose(gzFile file)
int ZEXPORT uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong *sourceLen)
z_off_t ZEXPORT gztell(gzFile file)
int ZEXPORT inflateReset(z_streamp strm)
ZEXTERN(int) inflate OF((z_streamp strm
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
unsigned long ZEXPORT crc32_z(unsigned long crc, const unsigned char FAR *buf, z_size_t len)
int ZEXPORT deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size)
uLong ZEXPORT deflateBound(z_streamp strm, uLong sourceLen)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
int ZEXPORT deflatePrime(z_streamp strm, int bits, int value)
int ZEXPORT gzputs(gzFile file, const char *s)
int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits, unsigned char FAR *window, const char *version, int stream_size)
int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len)
GLenum GLuint GLenum GLsizei const GLchar * buf
int ZEXPORT gzgetc_(gzFile file)
int ZEXPORT gzputc(gzFile file, int c)
int ZEXPORT gzrewind(gzFile file)
z_off64_t ZEXPORT gztell64(gzFile file)
int ZEXPORT compress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level)
int ZEXPORT gzungetc(int c, gzFile file)
z_off_t ZEXPORT gzseek(gzFile file, z_off_t offset, int whence)
z_size_t ZEXPORT gzfwrite(voidpc buf, z_size_t size, z_size_t nitems, gzFile file)
int deflateEnd(z_streamp strm) DECLSPEC_HIDDEN
int ZEXPORT inflateInit_(z_streamp strm, const char *version, int stream_size)
int ZEXPORT inflateSync(z_streamp strm)
int ZEXPORT deflateCopy(z_streamp dest, z_streamp source)
int ZEXPORT deflateTune(z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain)
unsigned long ZEXPORT inflateCodesUsed(z_streamp strm)
uLong ZEXPORT crc32_combine(uLong crc1, uLong crc2, z_off_t len2)
int ZEXPORT gzbuffer(gzFile file, unsigned size)
void(* free_func)(voidpf opaque, voidpf address)
int const char int stream_size
int ZEXPORT inflateCopy(z_streamp dest, z_streamp source)
struct gz_header_s gz_header
uLong ZEXPORT compressBound(uLong sourceLen)
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
int ZEXPORT gzclose_r(gzFile file)
int ZEXPORT inflatePrime(z_streamp strm, int bits, int value)
gzFile ZEXPORT gzdopen(int fd, const char *mode)
struct z_stream_s z_stream
int deflate(z_streamp strm, int flush) DECLSPEC_HIDDEN
int ZEXPORT inflateBackEnd(z_streamp strm)
int ZEXPORT gzclose_w(gzFile file)
uLong ZEXPORT adler32_combine(uLong adler1, uLong adler2, z_off_t len2)
const char *ZEXPORT zlibVersion()
uLong crc32_combine_op(uLong crc1, uLong crc2, uLong op)
int ZEXPORT inflateResetKeep(z_streamp strm)
const z_crc_t FAR *ZEXPORT get_crc_table()
z_size_t ZEXPORT gzfread(voidp buf, z_size_t size, z_size_t nitems, gzFile file)
char *ZEXPORT gzgets(gzFile file, char *buf, int len)
int ZEXPORTVA gzprintf(gzFile file, const char *format, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9, int a10, int a11, int a12, int a13, int a14, int a15, int a16, int a17, int a18, int a19, int a20)
z_off_t ZEXPORT gzoffset(gzFile file)
static IHTMLWindow2 * window
int ZEXPORT inflateGetHeader(z_streamp strm, gz_headerp head)
int ZEXPORT inflateReset2(z_streamp strm, int windowBits)
gz_header FAR * gz_headerp
uLong ZEXPORT zlibCompileFlags()
const char *ZEXPORT gzerror(gzFile file, int *errnum)
void ZEXPORT gzclearerr(gzFile file)
int ZEXPORT gzflush(gzFile file, int flush)
gzFile ZEXPORT gzopen64(char *path, const char *mode) const
int ZEXPORT deflateResetKeep(z_streamp strm)
int ZEXPORT deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
int ZEXPORT deflateSetHeader(z_streamp strm, gz_headerp head)
voidpf alloc_func OF((voidpf opaque, uInt items, uInt size))
uLong ZEXPORT crc32_combine_gen64(z_off64_t len2)
int ZEXPORT inflateInit2_(z_streamp strm, int windowBits, const char *version, int stream_size)
gzFile ZEXPORT gzopen(char *path, const char *mode) const
#define crc32(crc, buf, len)
int ZEXPORT deflateInit_(z_streamp strm, int level, const char *version, int stream_size)
voidpf(* alloc_func)(voidpf opaque, uInt items, uInt size)
long ZEXPORT inflateMark(z_streamp strm)
int ZEXPORT deflateReset(z_streamp strm)
int ZEXPORT deflatePending(z_streamp strm, unsigned *pending, int *bits)
struct internal_state FAR * state
int ZEXPORT inflateValidate(z_streamp strm, int check)
int ZEXPORT gzread(gzFile file, voidp buf, unsigned len)
z_off64_t ZEXPORT gzseek64(gzFile file, z_off64_t offset, int whence)
uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len)
int ZEXPORT inflateSyncPoint(z_streamp strm)
int ZEXPORT inflateUndermine(z_streamp strm, int subvert)
static unsigned(__cdecl *hash_bstr)(bstr_t s)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *