Prusa MINI Firmware overview
|
Go to the documentation of this file.
40 #define ZLIB_VERSION "1.2.11"
41 #define ZLIB_VERNUM 0x12b0
42 #define ZLIB_VER_MAJOR 1
43 #define ZLIB_VER_MINOR 2
44 #define ZLIB_VER_REVISION 11
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()
612 const Bytef *dictionary,
885 const Bytef *dictionary,
1092 typedef unsigned (*in_func)
OF((
void FAR *,
1094 typedef int (*out_func)
OF((
void FAR *,
unsigned char FAR *,
unsigned));
1097 in_func in,
void FAR *in_desc,
1098 out_func out,
void FAR *out_desc));
1447 voidpc buf,
unsigned len));
1765 const char *version,
int stream_size));
1767 const char *version,
int stream_size));
1769 int windowBits,
int memLevel,
1770 int strategy,
const char *version,
1773 const char *version,
int stream_size));
1775 unsigned char FAR *window,
1776 const char *version,
1779 # define z_deflateInit(strm, level) \
1780 deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream))
1781 # define z_inflateInit(strm) \
1782 inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream))
1783 # define z_deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1784 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1785 (strategy), ZLIB_VERSION, (int)sizeof(z_stream))
1786 # define z_inflateInit2(strm, windowBits) \
1787 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1788 (int)sizeof(z_stream))
1789 # define z_inflateBackInit(strm, windowBits, window) \
1790 inflateBackInit_((strm), (windowBits), (window), \
1791 ZLIB_VERSION, (int)sizeof(z_stream))
1793 # define deflateInit(strm, level) \
1794 deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream))
1795 # define inflateInit(strm) \
1796 inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream))
1797 # define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1798 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1799 (strategy), ZLIB_VERSION, (int)sizeof(z_stream))
1800 # define inflateInit2(strm, windowBits) \
1801 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1802 (int)sizeof(z_stream))
1803 # define inflateBackInit(strm, windowBits, window) \
1804 inflateBackInit_((strm), (windowBits), (window), \
1805 ZLIB_VERSION, (int)sizeof(z_stream))
1825 # define z_gzgetc(g) \
1826 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : (gzgetc)(g))
1828 # define gzgetc(g) \
1829 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : (gzgetc)(g))
1847 #if !defined(ZLIB_INTERNAL) && defined(Z_WANT64)
1848 # ifdef Z_PREFIX_SET
1849 # define z_gzopen z_gzopen64
1850 # define z_gzseek z_gzseek64
1851 # define z_gztell z_gztell64
1852 # define z_gzoffset z_gzoffset64
1853 # define z_adler32_combine z_adler32_combine64
1854 # define z_crc32_combine z_crc32_combine64
1856 # define gzopen gzopen64
1857 # define gzseek gzseek64
1858 # define gztell gztell64
1859 # define gzoffset gzoffset64
1860 # define adler32_combine adler32_combine64
1861 # define crc32_combine crc32_combine64
1896 #if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(Z_SOLO)
1900 #if defined(STDC) || defined(Z_HAVE_STDARG_H)
Byte FAR Bytef
Definition: zconf.h:400
int ZEXPORT gzgetc_(gzFile file)
Definition: gzread.c:476
int ZEXPORT inflateValidate(z_streamp strm, int check)
Definition: inflate.c:1526
int ZEXPORT gzsetparams(gzFile file, int level, int strategy)
Definition: gzwrite.c:585
#define ZEXTERN
Definition: zconf.h:377
png_uint_32 adler
Definition: png.c:2247
const char items[11][6]
Definition: window_list.c:5
png_uint_32 crc
Definition: png.c:2247
gzFile ZEXPORT gzopen64(char *path, const char *mode) const
Definition: gzlib.c:278
int data_type
Definition: zlib.h:102
uLong ZEXPORT adler32_z(uLong adler, const Bytef *buf, z_size_t len)
Definition: adler32.c:63
int ZEXPORT gzdirect(gzFile file)
Definition: gzread.c:607
int ZEXPORT deflateGetDictionary(z_streamp strm, Bytef *dictionary, uInt *dictLength)
Definition: deflate.c:445
int ZEXPORT inflateResetKeep(z_streamp strm)
Definition: inflate.c:119
int ZEXPORT compress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level)
Definition: compress.c:22
int ZEXPORT deflateEnd(z_streamp strm)
Definition: deflate.c:1076
uLong ZEXPORT crc32_combine(uLong crc1, uLong crc2, z_off_t len2)
Definition: crc32.c:428
z_off64_t ZEXPORT gzoffset64(gzFile file)
Definition: gzlib.c:482
unsigned long z_size_t
Definition: zconf.h:250
unsigned long uLong
Definition: zconf.h:394
int ZEXPORT uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong *sourceLen)
Definition: uncompr.c:27
int ZEXPORT inflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
Definition: inflate.c:1314
free_func zfree
Definition: zlib.h:99
const z_crc_t FAR *ZEXPORT get_crc_table()
Definition: crc32.c:188
int ZEXPORT inflateSyncPoint(z_streamp strm)
Definition: inflate.c:1451
const char *ZEXPORT zlibVersion()
Definition: zutil.c:27
gzFile ZEXPORT gzdopen(int fd, const char *mode)
Definition: gzlib.c:286
uInt avail_in
Definition: zlib.h:88
Definition: deflate.h:100
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition: compress.c:68
int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits, unsigned char FAR *window, const char *version, int stream_size)
Definition: infback.c:28
int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len)
Definition: gzwrite.c:246
unsigned long ZEXPORT crc32(unsigned long crc, const unsigned char FAR *buf, uInt len)
Definition: crc32.c:237
#define ZEXPORTVA
Definition: zconf.h:383
z_off64_t pos
Definition: zlib.h:1820
int ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition: uncompr.c:86
z_const char * msg
Definition: zlib.h:95
#define z_off_t
Definition: zconf.h:504
gz_header FAR * gz_headerp
Definition: zlib.h:131
struct internal_state FAR * state
Definition: zlib.h:96
int ZEXPORT inflateInit_(z_streamp strm, const char *version, int stream_size)
Definition: inflate.c:239
unsigned long ZEXPORT inflateCodesUsed(z_streamp strm)
Definition: inflate.c:1554
int ZEXPORT gzputc(gzFile file, int c)
Definition: gzwrite.c:304
int ZEXPORT inflateBack(z_streamp strm, in_func in, void FAR *in_desc, out_func out, void FAR *out_desc)
Definition: infback.c:250
int ZEXPORT deflateTune(z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain)
Definition: deflate.c:617
int ZEXPORT deflatePrime(z_streamp strm, int bits, int value)
Definition: deflate.c:542
unsigned have
Definition: zlib.h:1818
uLong total_in
Definition: zlib.h:89
int ZEXPORT gzclose(gzFile file)
Definition: gzclose.c:11
int ZEXPORT inflateReset2(z_streamp strm, int windowBits)
Definition: inflate.c:157
Byte FAR * voidpf
Definition: zconf.h:413
int ZEXPORT gzungetc(int c, gzFile file)
Definition: gzread.c:483
const char *ZEXPORT gzerror(gzFile file, int *errnum)
Definition: gzlib.c:532
char *ZEXPORT gzgets(gzFile file, char *buf, int len)
Definition: gzread.c:543
uInt avail_out
Definition: zlib.h:92
int ZEXPORT deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size)
Definition: deflate.c:240
uLong ZEXPORT deflateBound(z_streamp strm, uLong sourceLen)
Definition: deflate.c:652
#define z_const
Definition: zconf.h:237
int ZEXPORT gzclose_w(gzFile file)
Definition: gzwrite.c:627
gzFile ZEXPORT gzopen(char *path, const char *mode) const
Definition: gzlib.c:270
int ZEXPORT inflateUndermine(z_streamp strm, int subvert)
Definition: inflate.c:1508
voidpf alloc_func OF((voidpf opaque, uInt items, uInt size))
Definition: zlib.h:81
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)
Definition: gzwrite.c:465
Byte * voidp
Definition: zconf.h:414
z_stream FAR * z_streamp
Definition: zlib.h:108
#define z_off64_t
Definition: zconf.h:513
void
Definition: png.h:1083
int ZEXPORT gzputs(gzFile file, const char *str)
Definition: gzwrite.c:352
#define FAR
Definition: zconf.h:387
uLong ZEXPORT adler32_combine64(uLong adler1, uLong adler2, z_off64_t len2)
Definition: adler32.c:180
uLong ZEXPORT crc32_combine64(uLong crc1, uLong crc2, z_off64_t len2)
Definition: crc32.c:436
uLong ZEXPORT compressBound(uLong sourceLen)
Definition: compress.c:81
z_size_t ZEXPORT gzfwrite(voidpc buf, z_size_t size, z_size_t nitems, gzFile file)
Definition: gzwrite.c:274
int ZEXPORT inflateGetDictionary(z_streamp strm, Bytef *dictionary, uInt *dictLength)
Definition: inflate.c:1291
uLong ZEXPORT zlibCompileFlags()
Definition: zutil.c:32
alloc_func zalloc
Definition: zlib.h:98
int ZEXPORT gzbuffer(gzFile file, unsigned size)
Definition: gzlib.c:316
uLong FAR uLongf
Definition: zconf.h:405
unsigned long ZEXPORT crc32_z(unsigned long crc, const unsigned char FAR *buf, z_size_t len)
Definition: crc32.c:202
int ZEXPORT inflateGetHeader(z_streamp strm, gz_headerp head)
Definition: inflate.c:1349
struct gz_header_s gz_header
long ZEXPORT inflateMark(z_streamp strm)
Definition: inflate.c:1541
int ZEXPORT deflateResetKeep(z_streamp strm)
Definition: deflate.c:467
int ZEXPORT deflateCopy(z_streamp dest, z_streamp source)
Definition: deflate.c:1102
int ZEXPORT inflateSync(z_streamp strm)
Definition: inflate.c:1400
UsbDeviceAddress address
Definition: address.h:202
z_const Bytef * next_in
Definition: zlib.h:87
struct gzFile_s * gzFile
Definition: zlib.h:1300
uLong adler
Definition: zlib.h:104
int ZEXPORT gzread(gzFile file, voidp buf, unsigned len)
Definition: gzread.c:375
int ZEXPORT gzeof(gzFile file)
Definition: gzlib.c:515
z_off_t ZEXPORT gzoffset(gzFile file)
Definition: gzlib.c:505
z_off64_t ZEXPORT gzseek64(gzFile file, z_off64_t offset, int whence)
Definition: gzlib.c:366
unsigned char * next
Definition: zlib.h:1819
int ZEXPORT inflateBackEnd(z_streamp strm)
Definition: infback.c:631
int ZEXPORT inflatePrime(z_streamp strm, int bits, int value)
Definition: inflate.c:247
int ZEXPORT inflateInit2_(z_streamp strm, int windowBits, const char *version, int stream_size)
Definition: inflate.c:195
ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format,...))
const char *ZEXPORT zError(int err)
Definition: zutil.c:133
Bytef * next_out
Definition: zlib.h:91
int ZEXPORT deflate(z_streamp strm, int flush)
Definition: deflate.c:763
int
Definition: createSpeedLookupTable.py:15
void ZEXPORT gzclearerr(gzFile file)
Definition: gzlib.c:553
#define ZEXPORT
Definition: zconf.h:380
int ZEXPORT deflateReset(z_streamp strm)
Definition: deflate.c:505
int ZEXPORT deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
Definition: deflate.c:376
const Byte * voidpc
Definition: zconf.h:412
int ZEXPORT gzrewind(gzFile file)
Definition: gzlib.c:343
unsigned int uInt
Definition: zconf.h:393
uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len)
Definition: adler32.c:134
int ZEXPORT gzclose_r(gzFile file)
Definition: gzread.c:627
uLong ZEXPORT adler32_combine(uLong adler1, uLong adler2, z_off_t len2)
Definition: adler32.c:172
unsigned long z_crc_t
Definition: zconf.h:431
int ZEXPORT inflateEnd(z_streamp strm)
Definition: inflate.c:1277
png_structrp int mode
Definition: png.h:1139
int ZEXPORT gzflush(gzFile file, int flush)
Definition: gzwrite.c:553
voidpf opaque
Definition: zlib.h:100
int ZEXPORT inflate(z_streamp strm, int flush)
Definition: inflate.c:622
struct z_stream_s z_stream
z_size_t ZEXPORT gzfread(voidp buf, z_size_t size, z_size_t nitems, gzFile file)
Definition: gzread.c:411
int ZEXPORT deflatePending(z_streamp strm, unsigned *pending, int *bits)
Definition: deflate.c:528
int ZEXPORT inflateReset(z_streamp strm)
Definition: inflate.c:144
uLong total_out
Definition: zlib.h:93
int ZEXPORT deflateSetHeader(z_streamp strm, gz_headerp head)
Definition: deflate.c:517
z_off64_t ZEXPORT gztell64(gzFile file)
Definition: gzlib.c:455
z_off_t ZEXPORT gzseek(gzFile file, z_off_t offset, int whence)
Definition: gzlib.c:443
#define gzgetc(g)
Definition: zlib.h:1828
uLong reserved
Definition: zlib.h:105
z_off_t ZEXPORT gztell(gzFile file)
Definition: gzlib.c:472
int ZEXPORT deflateInit_(z_streamp strm, int level, const char *version, int stream_size)
Definition: deflate.c:228
int ZEXPORT inflateCopy(z_streamp dest, z_streamp source)
Definition: inflate.c:1461
static png_bytep size_t size
Definition: pngwrite.c:2170
int ZEXPORT deflateParams(z_streamp strm, int level, int strategy)
Definition: deflate.c:568