40#define ZLIB_VERSION "1.2.13"
41#define ZLIB_VERNUM 0x12d0
42#define ZLIB_VER_MAJOR 1
43#define ZLIB_VER_MINOR 2
44#define ZLIB_VER_REVISION 13
45#define ZLIB_VER_SUBREVISION 0
81typedef voidpf (*alloc_func) OF((voidpf
opaque, uInt items, uInt
size));
82typedef void (*free_func) OF((voidpf
opaque, voidpf address));
87 z_const Bytef *next_in;
169#define Z_PARTIAL_FLUSH 1
170#define Z_SYNC_FLUSH 2
171#define Z_FULL_FLUSH 3
178#define Z_STREAM_END 1
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()
220ZEXTERN
const char * ZEXPORT zlibVersion OF((
void));
250ZEXTERN
int ZEXPORT deflate OF((z_streamp strm,
int flush));
363ZEXTERN
int ZEXPORT deflateEnd OF((z_streamp strm));
400ZEXTERN
int ZEXPORT inflate OF((z_streamp strm,
int flush));
520ZEXTERN
int ZEXPORT inflateEnd OF((z_streamp strm));
610ZEXTERN
int ZEXPORT deflateSetDictionary OF((z_streamp strm,
654ZEXTERN
int ZEXPORT deflateGetDictionary OF((z_streamp strm,
676ZEXTERN
int ZEXPORT deflateCopy OF((z_streamp dest,
694ZEXTERN
int ZEXPORT deflateReset OF((z_streamp strm));
705ZEXTERN
int ZEXPORT deflateParams OF((z_streamp strm,
743ZEXTERN
int ZEXPORT deflateTune OF((z_streamp strm,
760ZEXTERN uLong ZEXPORT deflateBound OF((z_streamp strm,
775ZEXTERN
int ZEXPORT deflatePending OF((z_streamp strm,
790ZEXTERN
int ZEXPORT deflatePrime OF((z_streamp strm,
807ZEXTERN
int ZEXPORT deflateSetHeader OF((z_streamp strm,
886ZEXTERN
int ZEXPORT inflateSetDictionary OF((z_streamp strm,
909ZEXTERN
int ZEXPORT inflateGetDictionary OF((z_streamp strm,
924ZEXTERN
int ZEXPORT inflateSync OF((z_streamp strm));
943ZEXTERN
int ZEXPORT inflateCopy OF((z_streamp dest,
959ZEXTERN
int ZEXPORT inflateReset OF((z_streamp strm));
969ZEXTERN
int ZEXPORT inflateReset2 OF((z_streamp strm,
983ZEXTERN
int ZEXPORT inflatePrime OF((z_streamp strm,
1004ZEXTERN
long ZEXPORT inflateMark OF((z_streamp strm));
1032ZEXTERN
int ZEXPORT inflateGetHeader OF((z_streamp strm,
1094typedef unsigned (*in_func) OF((
void FAR *,
1095 z_const
unsigned char FAR * FAR *));
1096typedef int (*out_func) OF((
void FAR *,
unsigned char FAR *,
unsigned));
1098ZEXTERN
int ZEXPORT inflateBack OF((z_streamp strm,
1099 in_func in,
void FAR *in_desc,
1100 out_func out,
void FAR *out_desc));
1168ZEXTERN
int ZEXPORT inflateBackEnd OF((z_streamp strm));
1176ZEXTERN uLong ZEXPORT zlibCompileFlags OF((
void));
1229ZEXTERN
int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
1230 const Bytef *source, uLong sourceLen));
1244ZEXTERN
int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
1245 const Bytef *source, uLong sourceLen,
1260ZEXTERN uLong ZEXPORT compressBound OF((uLong sourceLen));
1267ZEXTERN
int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
1268 const Bytef *source, uLong sourceLen));
1285ZEXTERN
int ZEXPORT uncompress2 OF((Bytef *dest, uLongf *destLen,
1286 const Bytef *source, uLong *sourceLen));
1342ZEXTERN
gzFile ZEXPORT gzdopen OF((
int fd,
const char *mode));
1381ZEXTERN
int ZEXPORT gzsetparams OF((
gzFile file,
int level,
int strategy));
1392ZEXTERN
int ZEXPORT gzread OF((
gzFile file, voidp buf,
unsigned len));
1422ZEXTERN z_size_t ZEXPORT gzfread OF((voidp buf, z_size_t
size, z_size_t nitems,
1448ZEXTERN
int ZEXPORT gzwrite OF((
gzFile file, voidpc buf,
unsigned len));
1454ZEXTERN z_size_t ZEXPORT gzfwrite OF((voidpc buf, z_size_t
size,
1468ZEXTERN
int ZEXPORTVA gzprintf Z_ARG((
gzFile file,
const char *
format, ...));
1483ZEXTERN
int ZEXPORT gzputs OF((
gzFile file,
const char *s));
1491ZEXTERN
char * ZEXPORT gzgets OF((
gzFile file,
char *buf,
int len));
1505ZEXTERN
int ZEXPORT gzputc OF((
gzFile file,
int c));
1520ZEXTERN
int ZEXPORT gzungetc OF((
int c,
gzFile file));
1532ZEXTERN
int ZEXPORT gzflush OF((
gzFile file,
int flush));
1567ZEXTERN
int ZEXPORT gzrewind OF((
gzFile file));
1610ZEXTERN
int ZEXPORT gzdirect OF((
gzFile file));
1631ZEXTERN
int ZEXPORT gzclose OF((
gzFile file));
1644ZEXTERN
int ZEXPORT gzclose_r OF((
gzFile file));
1645ZEXTERN
int ZEXPORT gzclose_w OF((
gzFile file));
1656ZEXTERN
const char * ZEXPORT gzerror OF((
gzFile file,
int *errnum));
1672ZEXTERN
void ZEXPORT gzclearerr OF((
gzFile file));
1689ZEXTERN uLong ZEXPORT adler32 OF((uLong adler,
const Bytef *buf, uInt len));
1709ZEXTERN uLong ZEXPORT adler32_z OF((uLong adler,
const Bytef *buf,
1727ZEXTERN uLong ZEXPORT crc32 OF((uLong crc,
const Bytef *buf, uInt len));
1745ZEXTERN uLong ZEXPORT crc32_z OF((uLong crc,
const Bytef *buf,
1768ZEXTERN uLong ZEXPORT crc32_combine_op OF((uLong crc1, uLong crc2, uLong op));
1781ZEXTERN
int ZEXPORT deflateInit_ OF((z_streamp strm,
int level,
1782 const char *version,
int stream_size));
1783ZEXTERN
int ZEXPORT inflateInit_ OF((z_streamp strm,
1784 const char *version,
int stream_size));
1785ZEXTERN
int ZEXPORT deflateInit2_ OF((z_streamp strm,
int level,
int method,
1786 int windowBits,
int memLevel,
1787 int strategy,
const char *version,
1789ZEXTERN
int ZEXPORT inflateInit2_ OF((z_streamp strm,
int windowBits,
1790 const char *version,
int stream_size));
1791ZEXTERN
int ZEXPORT inflateBackInit_ OF((z_streamp strm,
int windowBits,
1792 unsigned char FAR *window,
1793 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))
1836 unsigned char *next;
1839ZEXTERN
int ZEXPORT gzgetc_ OF((
gzFile file));
1842# define z_gzgetc(g) \
1843 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : (gzgetc)(g))
1846 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : (gzgetc)(g))
1856 ZEXTERN
gzFile ZEXPORT gzopen64 OF((
const char *,
const char *));
1857 ZEXTERN z_off64_t ZEXPORT gzseek64 OF((
gzFile, z_off64_t,
int));
1858 ZEXTERN z_off64_t ZEXPORT gztell64 OF((
gzFile));
1859 ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((
gzFile));
1860 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t));
1861 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t));
1862 ZEXTERN uLong ZEXPORT crc32_combine_gen64 OF((z_off64_t));
1865#if !defined(ZLIB_INTERNAL) && defined(Z_WANT64)
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
1884 ZEXTERN
gzFile ZEXPORT gzopen64 OF((
const char *,
const char *));
1885 ZEXTERN z_off_t ZEXPORT gzseek64 OF((
gzFile, z_off_t,
int));
1886 ZEXTERN z_off_t ZEXPORT gztell64 OF((
gzFile));
1887 ZEXTERN z_off_t ZEXPORT gzoffset64 OF((
gzFile));
1888 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
1889 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
1890 ZEXTERN uLong ZEXPORT crc32_combine_gen64 OF((z_off_t));
1893 ZEXTERN
gzFile ZEXPORT gzopen OF((
const char *,
const char *));
1894 ZEXTERN z_off_t ZEXPORT gzseek OF((
gzFile, z_off_t,
int));
1895 ZEXTERN z_off_t ZEXPORT gztell OF((
gzFile));
1896 ZEXTERN z_off_t ZEXPORT gzoffset OF((
gzFile));
1897 ZEXTERN uLong ZEXPORT adler32_combine OF((uLong, uLong, z_off_t));
1898 ZEXTERN uLong ZEXPORT crc32_combine OF((uLong, uLong, z_off_t));
1899 ZEXTERN uLong ZEXPORT crc32_combine_gen OF((z_off_t));
1904 ZEXTERN uLong ZEXPORT adler32_combine OF((uLong, uLong, z_off_t));
1905 ZEXTERN uLong ZEXPORT crc32_combine OF((uLong, uLong, z_off_t));
1906 ZEXTERN uLong ZEXPORT crc32_combine_gen OF((z_off_t));
1911ZEXTERN
const char * ZEXPORT zError OF((
int));
1912ZEXTERN
int ZEXPORT inflateSyncPoint OF((z_streamp));
1913ZEXTERN
const z_crc_t FAR * ZEXPORT get_crc_table OF((
void));
1914ZEXTERN
int ZEXPORT inflateUndermine OF((z_streamp,
int));
1915ZEXTERN
int ZEXPORT inflateValidate OF((z_streamp,
int));
1916ZEXTERN
unsigned long ZEXPORT inflateCodesUsed OF((z_streamp));
1917ZEXTERN
int ZEXPORT inflateResetKeep OF((z_streamp));
1918ZEXTERN
int ZEXPORT deflateResetKeep OF((z_streamp));
1919#if defined(_WIN32) && !defined(Z_SOLO)
1920ZEXTERN
gzFile ZEXPORT gzopen_w OF((
const wchar_t *path,
1923#if defined(STDC) || defined(Z_HAVE_STDARG_H)
1925ZEXTERN
int ZEXPORTVA gzvprintf Z_ARG((
gzFile file,
Definition: xz_dec_lzma2.c:44
Definition: mongoose.c:448
Definition: b1553brm.c:94
unsigned size
Definition: tte.h:1