mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-08-04 10:16:44 -04:00

* Bring in common headers and program code from xpack project * Move program code to programs/ * Move library code to lib/ * GNU89 and MSVC2010 compatibility * Other changes
22 lines
491 B
C
22 lines
491 B
C
/*
|
|
* zlib_constants.h - constants for the zlib wrapper format
|
|
*/
|
|
|
|
#ifndef _LIB_ZLIB_CONSTANTS_H
|
|
#define _LIB_ZLIB_CONSTANTS_H
|
|
|
|
#define ZLIB_MIN_HEADER_SIZE 2
|
|
#define ZLIB_FOOTER_SIZE 4
|
|
#define ZLIB_MIN_OVERHEAD (ZLIB_MIN_HEADER_SIZE + ZLIB_FOOTER_SIZE)
|
|
|
|
#define ZLIB_CM_DEFLATE 8
|
|
|
|
#define ZLIB_CINFO_32K_WINDOW 7
|
|
|
|
#define ZLIB_FASTEST_COMPRESSION 0
|
|
#define ZLIB_FAST_COMPRESSION 1
|
|
#define ZLIB_DEFAULT_COMPRESSION 2
|
|
#define ZLIB_SLOWEST_COMPRESSION 3
|
|
|
|
#endif /* _LIB_ZLIB_CONSTANTS_H */
|