1# This file is copied from src/zlib.map and annotated with comments for the NDK
2# stub library generation script.
3ZLIB_1.2.0 {
4  global:
5    compressBound;
6    deflateBound;
7    inflateBack;
8    inflateBackEnd;
9    inflateBackInit_;
10    inflateCopy;
11  local:
12    deflate_copyright; # var
13    inflate_copyright; # var
14    inflate_fast;
15    inflate_table;
16    zcalloc;
17    zcfree;
18    z_errmsg; # var
19    gz_error;
20    gz_intmax;
21    _*;
22};
23
24ZLIB_1.2.0.2 {
25    gzclearerr;
26    gzungetc;
27    zlibCompileFlags;
28} ZLIB_1.2.0;
29
30ZLIB_1.2.0.8 {
31    deflatePrime;
32} ZLIB_1.2.0.2;
33
34ZLIB_1.2.2 {
35    adler32_combine;
36    crc32_combine;
37    deflateSetHeader;
38    inflateGetHeader;
39} ZLIB_1.2.0.8;
40
41ZLIB_1.2.2.3 {
42    deflateTune;
43    gzdirect;
44} ZLIB_1.2.2;
45
46ZLIB_1.2.2.4 {
47    inflatePrime;
48} ZLIB_1.2.2.3;
49
50ZLIB_1.2.3.3 {
51    adler32_combine64;
52    crc32_combine64;
53    gzopen64;
54    gzseek64;
55    gztell64;
56    inflateUndermine;
57} ZLIB_1.2.2.4;
58
59ZLIB_1.2.3.4 {
60    inflateReset2;
61    inflateMark;
62} ZLIB_1.2.3.3;
63
64ZLIB_1.2.3.5 {
65    gzbuffer;
66    gzoffset;
67    gzoffset64;
68    gzclose_r;
69    gzclose_w;
70} ZLIB_1.2.3.4;
71
72ZLIB_1.2.5.1 {
73    deflatePending;
74} ZLIB_1.2.3.5;
75
76ZLIB_1.2.5.2 {
77    deflateResetKeep;
78    gzgetc_;
79    inflateResetKeep;
80} ZLIB_1.2.5.1;
81
82ZLIB_1.2.7.1 { # introduced=19
83    inflateGetDictionary;
84    gzvprintf;
85} ZLIB_1.2.5.2;
86
87ZLIB_1.2.9 { # introduced=28
88    inflateCodesUsed;
89    inflateValidate;
90    uncompress2;
91    gzfread;
92    gzfwrite;
93    deflateGetDictionary;
94    adler32_z;
95    crc32_z;
96} ZLIB_1.2.7.1;
97
98# These were all exposed by the old NDK stub library. Unclear if they still
99# should be, but at least some of them are marked as being exported in zlib.h
100# and the tree doesn't build without them.
101ZLIB_NDK {
102    _dist_code;
103    _length_code;
104    _tr_align;
105    _tr_flush_bits; # introduced=21
106    _tr_flush_block;
107    _tr_init;
108    _tr_stored_block;
109    _tr_tally;
110    adler32;
111    compress2;
112    compress;
113    crc32;
114    deflate;
115    deflateCopy;
116    deflateEnd;
117    deflateInit2_;
118    deflateInit_;
119    deflateParams;
120    deflateReset;
121    deflateSetDictionary;
122    get_crc_table;
123    gzclose;
124    gzdopen;
125    gzeof;
126    gzerror;
127    gzflush;
128    gzgetc;
129    gzgets;
130    gzopen;
131    gzprintf;
132    gzputc;
133    gzputs;
134    gzread;
135    gzrewind;
136    gzseek;
137    gzsetparams;
138    gztell;
139    gzwrite;
140    inflate;
141    inflateEnd;
142    inflateInit2_;
143    inflateInit_;
144    inflateReset;
145    inflateSetDictionary;
146    inflateSync;
147    inflateSyncPoint;
148    uncompress;
149    zError;
150    zlibVersion;
151};
152