github.com/Schaudge/grailbase@v0.0.0-20240223061707-44c758a471c0/compress/libdeflate/zlib_constants.h (about) 1 /* 2 * zlib_constants.h - constants for the zlib wrapper format 3 */ 4 5 #ifndef LIB_ZLIB_CONSTANTS_H 6 #define LIB_ZLIB_CONSTANTS_H 7 8 #define ZLIB_MIN_HEADER_SIZE 2 9 #define ZLIB_FOOTER_SIZE 4 10 #define ZLIB_MIN_OVERHEAD (ZLIB_MIN_HEADER_SIZE + ZLIB_FOOTER_SIZE) 11 12 #define ZLIB_CM_DEFLATE 8 13 14 #define ZLIB_CINFO_32K_WINDOW 7 15 16 #define ZLIB_FASTEST_COMPRESSION 0 17 #define ZLIB_FAST_COMPRESSION 1 18 #define ZLIB_DEFAULT_COMPRESSION 2 19 #define ZLIB_SLOWEST_COMPRESSION 3 20 21 #endif /* LIB_ZLIB_CONSTANTS_H */