1 | /* zconf.h (configuration of the zlib compression library) */ |
---|
2 | |
---|
3 | /* Modified by Andrew Makhorin <mao@gnu.org>, April 2011 */ |
---|
4 | |
---|
5 | /* Copyright (C) 1995-2010 Jean-loup Gailly |
---|
6 | * For conditions of distribution and use, see copyright notice in |
---|
7 | * zlib.h */ |
---|
8 | |
---|
9 | /* WARNING: this file should *not* be used by applications. It is |
---|
10 | part of the implementation of the compression library and is |
---|
11 | subject to change. Applications should only use zlib.h. */ |
---|
12 | |
---|
13 | #ifndef ZCONF_H |
---|
14 | #define ZCONF_H |
---|
15 | |
---|
16 | /* (file adler32.c) */ |
---|
17 | #define adler32 _glp_zlib_adler32 |
---|
18 | #define adler32_combine _glp_zlib_adler32_combine |
---|
19 | #define adler32_combine64 _glp_zlib_adler32_combine64 |
---|
20 | |
---|
21 | /* (file compress.c) */ |
---|
22 | #define compress2 _glp_zlib_compress2 |
---|
23 | #define compress _glp_zlib_compress |
---|
24 | #define compressBound _glp_zlib_compressBound |
---|
25 | |
---|
26 | /* (file crc32.c) */ |
---|
27 | #define get_crc_table _glp_zlib_get_crc_table |
---|
28 | #define crc32 _glp_zlib_crc32 |
---|
29 | #define crc32_combine _glp_zlib_crc32_combine |
---|
30 | #define crc32_combine64 _glp_zlib_crc32_combine64 |
---|
31 | |
---|
32 | /* (file deflate.c) */ |
---|
33 | #define deflateInit_ _glp_zlib_deflateInit_ |
---|
34 | #define deflateInit2_ _glp_zlib_deflateInit2_ |
---|
35 | #define deflateSetDictionary _glp_zlib_deflateSetDictionary |
---|
36 | #define deflateReset _glp_zlib_deflateReset |
---|
37 | #define deflateSetHeader _glp_zlib_deflateSetHeader |
---|
38 | #define deflatePrime _glp_zlib_deflatePrime |
---|
39 | #define deflateParams _glp_zlib_deflateParams |
---|
40 | #define deflateTune _glp_zlib_deflateTune |
---|
41 | #define deflateBound _glp_zlib_deflateBound |
---|
42 | #define deflate _glp_zlib_deflate |
---|
43 | #define deflateEnd _glp_zlib_deflateEnd |
---|
44 | #define deflateCopy _glp_zlib_deflateCopy |
---|
45 | #define deflate_copyright _glp_zlib_deflate_copyright |
---|
46 | |
---|
47 | /* (file gzclose.c) */ |
---|
48 | #define gzclose _glp_zlib_gzclose |
---|
49 | |
---|
50 | /* (file gzlib.c) */ |
---|
51 | #define gzopen _glp_zlib_gzopen |
---|
52 | #define gzopen64 _glp_zlib_gzopen64 |
---|
53 | #define gzdopen _glp_zlib_gzdopen |
---|
54 | #define gzbuffer _glp_zlib_gzbuffer |
---|
55 | #define gzrewind _glp_zlib_gzrewind |
---|
56 | #define gzseek64 _glp_zlib_gzseek64 |
---|
57 | #define gzseek _glp_zlib_gzseek |
---|
58 | #define gztell64 _glp_zlib_gztell64 |
---|
59 | #define gztell _glp_zlib_gztell |
---|
60 | #define gzoffset64 _glp_zlib_gzoffset64 |
---|
61 | #define gzoffset _glp_zlib_gzoffset |
---|
62 | #define gzeof _glp_zlib_gzeof |
---|
63 | #define gzerror _glp_zlib_gzerror |
---|
64 | #define gzclearerr _glp_zlib_gzclearerr |
---|
65 | #define gz_error _glp_zlib_gz_error |
---|
66 | |
---|
67 | /* (file gzread.c) */ |
---|
68 | #define gzread _glp_zlib_gzread |
---|
69 | #define gzgetc _glp_zlib_gzgetc |
---|
70 | #define gzungetc _glp_zlib_gzungetc |
---|
71 | #define gzgets _glp_zlib_gzgets |
---|
72 | #define gzdirect _glp_zlib_gzdirect |
---|
73 | #define gzclose_r _glp_zlib_gzclose_r |
---|
74 | |
---|
75 | /* (file gzwrite.c) */ |
---|
76 | #define gzwrite _glp_zlib_gzwrite |
---|
77 | #define gzputc _glp_zlib_gzputc |
---|
78 | #define gzputs _glp_zlib_gzputs |
---|
79 | #define gzprintf _glp_zlib_gzprintf |
---|
80 | #define gzflush _glp_zlib_gzflush |
---|
81 | #define gzsetparams _glp_zlib_gzsetparams |
---|
82 | #define gzclose_w _glp_zlib_gzclose_w |
---|
83 | |
---|
84 | /* (file infback.c) */ |
---|
85 | #define inflateBackInit_ _glp_zlib_inflateBackInit_ |
---|
86 | #define inflateBack _glp_zlib_inflateBack |
---|
87 | #define inflateBackEnd _glp_zlib_inflateBackEnd |
---|
88 | |
---|
89 | /* (file inffast.c) */ |
---|
90 | #define inflate_fast _glp_zlib_inflate_fast |
---|
91 | |
---|
92 | /* (file inflate.c) */ |
---|
93 | #define inflateReset _glp_zlib_inflateReset |
---|
94 | #define inflateReset2 _glp_zlib_inflateReset2 |
---|
95 | #define inflateInit2_ _glp_zlib_inflateInit2_ |
---|
96 | #define inflateInit_ _glp_zlib_inflateInit_ |
---|
97 | #define inflatePrime _glp_zlib_inflatePrime |
---|
98 | #define inflate _glp_zlib_inflate |
---|
99 | #define inflateEnd _glp_zlib_inflateEnd |
---|
100 | #define inflateSetDictionary _glp_zlib_inflateSetDictionary |
---|
101 | #define inflateGetHeader _glp_zlib_inflateGetHeader |
---|
102 | #define inflateSync _glp_zlib_inflateSync |
---|
103 | #define inflateSyncPoint _glp_zlib_inflateSyncPoint |
---|
104 | #define inflateCopy _glp_zlib_inflateCopy |
---|
105 | #define inflateUndermine _glp_zlib_inflateUndermine |
---|
106 | #define inflateMark _glp_zlib_inflateMark |
---|
107 | |
---|
108 | /* (file inftrees.c) */ |
---|
109 | #define inflate_table _glp_zlib_inflate_table |
---|
110 | #define inflate_copyright _glp_zlib_inflate_copyright |
---|
111 | |
---|
112 | /* (file trees.c) */ |
---|
113 | #define _tr_init _glp_zlib_tr_init |
---|
114 | #define _tr_stored_block _glp_zlib_tr_stored_block |
---|
115 | #define _tr_align _glp_zlib_tr_align |
---|
116 | #define _tr_flush_block _glp_zlib_tr_flush_block |
---|
117 | #define _tr_tally _glp_zlib_tr_tally |
---|
118 | #define _dist_code _glp_zlib_dist_code |
---|
119 | #define _length_code _glp_zlib_length_code |
---|
120 | |
---|
121 | /* (file uncompr.c) */ |
---|
122 | #define uncompress _glp_zlib_uncompress |
---|
123 | |
---|
124 | /* (file zutil.c) */ |
---|
125 | #define zlibVersion _glp_zlib_zlibVersion |
---|
126 | #define zlibCompileFlags _glp_zlib_zlibCompileFlags |
---|
127 | #define zError _glp_zlib_zError |
---|
128 | #define zcalloc _glp_zlib_zcalloc |
---|
129 | #define zcfree _glp_zlib_zcfree |
---|
130 | #define z_errmsg _glp_zlib_z_errmsg |
---|
131 | |
---|
132 | #define STDC 1 |
---|
133 | |
---|
134 | #define MAX_MEM_LEVEL 9 |
---|
135 | |
---|
136 | #define MAX_WBITS 15 |
---|
137 | |
---|
138 | #define OF(args) args |
---|
139 | |
---|
140 | #define ZEXTERN extern |
---|
141 | #define ZEXPORT |
---|
142 | #define ZEXPORTVA |
---|
143 | |
---|
144 | #define FAR |
---|
145 | |
---|
146 | typedef unsigned char Byte; |
---|
147 | typedef unsigned int uInt; |
---|
148 | typedef unsigned long uLong; |
---|
149 | |
---|
150 | typedef Byte Bytef; |
---|
151 | typedef char charf; |
---|
152 | typedef int intf; |
---|
153 | typedef uInt uIntf; |
---|
154 | typedef uLong uLongf; |
---|
155 | |
---|
156 | typedef void const *voidpc; |
---|
157 | typedef void *voidpf; |
---|
158 | typedef void *voidp; |
---|
159 | |
---|
160 | #define z_off_t long |
---|
161 | |
---|
162 | #define z_off64_t z_off_t |
---|
163 | |
---|
164 | #define NO_vsnprintf 1 |
---|
165 | |
---|
166 | #endif |
---|
167 | |
---|
168 | /* eof */ |
---|