blob: 850bbf8e2a8d0a187c9fdd17a5bf86c0a2e7b478 [file] [log] [blame]
Dan Albert9da51f72018-07-13 12:53:20 -07001# This file is copied from src/zlib.map and annotated with comments for the NDK
2# stub library generation script.
3ZLIB_1.2.0 {
Dan Alberte405a262016-09-15 16:24:19 -07004 global:
Dan Alberte405a262016-09-15 16:24:19 -07005 compressBound;
Dan Alberte405a262016-09-15 16:24:19 -07006 deflateBound;
Dan Albert9da51f72018-07-13 12:53:20 -07007 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
Elliott Hughes38307942020-04-30 10:06:13 -070082ZLIB_1.2.7.1 { # introduced=19
Dan Albert9da51f72018-07-13 12:53:20 -070083 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;
Dan Alberte405a262016-09-15 16:24:19 -0700115 deflateCopy;
116 deflateEnd;
117 deflateInit2_;
118 deflateInit_;
119 deflateParams;
Dan Alberte405a262016-09-15 16:24:19 -0700120 deflateReset;
Dan Alberte405a262016-09-15 16:24:19 -0700121 deflateSetDictionary;
Dan Alberte405a262016-09-15 16:24:19 -0700122 get_crc_table;
Dan Alberte405a262016-09-15 16:24:19 -0700123 gzclose;
Dan Alberte405a262016-09-15 16:24:19 -0700124 gzdopen;
125 gzeof;
126 gzerror;
127 gzflush;
128 gzgetc;
Dan Alberte405a262016-09-15 16:24:19 -0700129 gzgets;
Dan Alberte405a262016-09-15 16:24:19 -0700130 gzopen;
Dan Alberte405a262016-09-15 16:24:19 -0700131 gzprintf;
132 gzputc;
133 gzputs;
134 gzread;
135 gzrewind;
136 gzseek;
Dan Alberte405a262016-09-15 16:24:19 -0700137 gzsetparams;
138 gztell;
Dan Alberte405a262016-09-15 16:24:19 -0700139 gzwrite;
140 inflate;
Dan Alberte405a262016-09-15 16:24:19 -0700141 inflateEnd;
Dan Alberte405a262016-09-15 16:24:19 -0700142 inflateInit2_;
143 inflateInit_;
Dan Alberte405a262016-09-15 16:24:19 -0700144 inflateReset;
Dan Alberte405a262016-09-15 16:24:19 -0700145 inflateSetDictionary;
146 inflateSync;
147 inflateSyncPoint;
Dan Alberte405a262016-09-15 16:24:19 -0700148 uncompress;
149 zError;
Dan Alberte405a262016-09-15 16:24:19 -0700150 zlibVersion;
Dan Alberte405a262016-09-15 16:24:19 -0700151};