xref: /titanic_50/usr/src/uts/common/zmod/zconf.h (revision c77a61a72b5ecdc507d6cf104142edd371a16c84)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 
23 /*
24  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
25  * Use is subject to license terms.
26  */
27 
28 #ifndef	_ZCONF_H
29 #define	_ZCONF_H
30 
31 #pragma ident	"%Z%%M%	%I%	%E% SMI"
32 
33 #include <sys/types.h>
34 
35 #ifdef	__cplusplus
36 extern "C" {
37 #endif
38 
39 #define	z_off_t	off_t
40 #define	OF(p)	p
41 #define	ZEXTERN	extern
42 #define	ZEXPORT
43 #define	ZEXPORTVA
44 #define	FAR
45 
46 #define	deflateInit_		z_deflateInit_
47 #define	deflate			z_deflate
48 #define	deflateEnd		z_deflateEnd
49 #define	inflateInit_		z_inflateInit_
50 #define	inflate			z_inflate
51 #define	inflateEnd		z_inflateEnd
52 #define	deflateInit2_		z_deflateInit2_
53 #define	deflateSetDictionary	z_deflateSetDictionary
54 #define	deflateCopy   		z_deflateCopy
55 #define	deflateReset  		z_deflateReset
56 #define	deflateParams 		z_deflateParams
57 #define	inflateInit2_ 		z_inflateInit2_
58 #define	inflateSetDictionary	z_inflateSetDictionary
59 #define	inflateSync		z_inflateSync
60 #define	inflateSyncPoint	z_inflateSyncPoint
61 #define	inflateReset		z_inflateReset
62 #define	inflate_blocks		z_inflate_blocks
63 #define	inflate_blocks_free	z_inflate_blocks_free
64 #define	inflate_blocks_new	z_inflate_blocks_new
65 #define	inflate_blocks_reset	z_inflate_blocks_reset
66 #define	inflate_blocks_sync_point z_inflate_blocks_sync_point
67 #define	inflate_codes		z_inflate_codes
68 #define	inflate_codes_new	z_inflate_codes_new
69 #define	inflate_codes_free	z_inflate_codes_free
70 #define	inflate_fast		z_inflate_fast
71 #define	inflate_flush		z_inflate_flush
72 #define	inflate_mask		z_inflate_mask
73 #define	inflate_trees_fixed	z_inflate_trees_fixed
74 #define	inflate_trees_bits	z_inflate_trees_bits
75 #define	inflate_trees_dynamic	z_inflate_trees_dynamic
76 #define	inflate_set_dictionary	z_inflate_set_dictionary
77 #define	adler32			z_adler32
78 #define	crc32			z_crc32
79 #define	get_crc_table		z_get_crc_table
80 
81 #define	MAX_MEM_LEVEL	9
82 #define	MAX_WBITS	15
83 
84 typedef unsigned char Byte;
85 typedef unsigned int uInt;
86 typedef unsigned long uLong;
87 typedef Byte Bytef;
88 typedef char charf;
89 typedef int intf;
90 typedef uInt uIntf;
91 typedef uLong uLongf;
92 typedef void *voidpf;
93 typedef void *voidp;
94 
95 #ifdef	__cplusplus
96 }
97 #endif
98 
99 #endif	/* _ZCONF_H */
100