xref: /titanic_44/usr/src/uts/common/zmod/zconf.h (revision bdfc6d18da790deeec2e0eb09c625902defe2498)
1 /*
2  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
3  * Use is subject to license terms.
4  */
5 
6 #ifndef	_ZCONF_H
7 #define	_ZCONF_H
8 
9 #pragma ident	"%Z%%M%	%I%	%E% SMI"
10 
11 #include <sys/types.h>
12 
13 #ifdef	__cplusplus
14 extern "C" {
15 #endif
16 
17 #define	z_off_t	off_t
18 #define	OF(p)	p
19 #define	ZEXTERN	extern
20 #define	ZEXPORT
21 #define	ZEXPORTVA
22 #define	FAR
23 
24 #define	deflateInit_		z_deflateInit_
25 #define	deflate			z_deflate
26 #define	deflateEnd		z_deflateEnd
27 #define	inflateInit_		z_inflateInit_
28 #define	inflate			z_inflate
29 #define	inflateEnd		z_inflateEnd
30 #define	deflateInit2_		z_deflateInit2_
31 #define	deflateSetDictionary	z_deflateSetDictionary
32 #define	deflateCopy   		z_deflateCopy
33 #define	deflateReset  		z_deflateReset
34 #define	deflateParams 		z_deflateParams
35 #define	inflateInit2_ 		z_inflateInit2_
36 #define	inflateSetDictionary	z_inflateSetDictionary
37 #define	inflateSync		z_inflateSync
38 #define	inflateSyncPoint	z_inflateSyncPoint
39 #define	inflateReset		z_inflateReset
40 #define	inflate_blocks		z_inflate_blocks
41 #define	inflate_blocks_free	z_inflate_blocks_free
42 #define	inflate_blocks_new	z_inflate_blocks_new
43 #define	inflate_blocks_reset	z_inflate_blocks_reset
44 #define	inflate_blocks_sync_point z_inflate_blocks_sync_point
45 #define	inflate_codes		z_inflate_codes
46 #define	inflate_codes_new	z_inflate_codes_new
47 #define	inflate_codes_free	z_inflate_codes_free
48 #define	inflate_fast		z_inflate_fast
49 #define	inflate_flush		z_inflate_flush
50 #define	inflate_mask		z_inflate_mask
51 #define	inflate_trees_fixed	z_inflate_trees_fixed
52 #define	inflate_trees_bits	z_inflate_trees_bits
53 #define	inflate_trees_dynamic	z_inflate_trees_dynamic
54 #define	inflate_set_dictionary	z_inflate_set_dictionary
55 #define	adler32			z_adler32
56 #define	crc32			z_crc32
57 #define	get_crc_table		z_get_crc_table
58 
59 #define	MAX_MEM_LEVEL	9
60 #define	MAX_WBITS	15
61 
62 typedef unsigned char Byte;
63 typedef unsigned int uInt;
64 typedef unsigned long uLong;
65 typedef Byte Bytef;
66 typedef char charf;
67 typedef int intf;
68 typedef uInt uIntf;
69 typedef uLong uLongf;
70 typedef void *voidpf;
71 typedef void *voidp;
72 
73 #ifdef	__cplusplus
74 }
75 #endif
76 
77 #endif	/* _ZCONF_H */
78