1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
15 #include <linux/zconf.h>
17 struct internal_state
;
19 typedef struct z_stream_s
{
29 struct internal_state
*state
;
38 typedef z_stream
*z_streamp
;
41 #define Z_PARTIAL_FLUSH 1
42 #define Z_PACKET_FLUSH 2
43 #define Z_SYNC_FLUSH 3
44 #define Z_FULL_FLUSH 4
49 #define Z_STREAM_END 1
52 #define Z_STREAM_ERROR (-2)
53 #define Z_DATA_ERROR (-3)
54 #define Z_MEM_ERROR (-4)
55 #define Z_BUF_ERROR (-5)
56 #define Z_VERSION_ERROR (-6)
58 #define Z_NO_COMPRESSION 0
59 #define Z_BEST_SPEED 1
60 #define Z_BEST_COMPRESSION 9
61 #define Z_DEFAULT_COMPRESSION (-1)
64 #define Z_HUFFMAN_ONLY 2
65 #define Z_DEFAULT_STRATEGY 0
73 #define zlib_deflateInit(strm, level) zlib_deflateInit2((strm), (level), Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY)
74 #define zlib_inflateInit(strm) zlib_inflateInit2((strm), DEF_WBITS)
76 #if !defined(_Z_UTIL_H) && !defined(NO_DUMMY_DECL)
77 struct internal_state
{int dummy
;};