Dan Albert | 9da51f7 | 2018-07-13 12:53:20 -0700 | [diff] [blame] | 1 | # This file is copied from src/zlib.map and annotated with comments for the NDK |
| 2 | # stub library generation script. |
| 3 | ZLIB_1.2.0 { |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 4 | global: |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 5 | compressBound; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 6 | deflateBound; |
Dan Albert | 9da51f7 | 2018-07-13 12:53:20 -0700 | [diff] [blame] | 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 | |
| 24 | ZLIB_1.2.0.2 { |
| 25 | gzclearerr; |
| 26 | gzungetc; |
| 27 | zlibCompileFlags; |
| 28 | } ZLIB_1.2.0; |
| 29 | |
| 30 | ZLIB_1.2.0.8 { |
| 31 | deflatePrime; |
| 32 | } ZLIB_1.2.0.2; |
| 33 | |
| 34 | ZLIB_1.2.2 { |
| 35 | adler32_combine; |
| 36 | crc32_combine; |
| 37 | deflateSetHeader; |
| 38 | inflateGetHeader; |
| 39 | } ZLIB_1.2.0.8; |
| 40 | |
| 41 | ZLIB_1.2.2.3 { |
| 42 | deflateTune; |
| 43 | gzdirect; |
| 44 | } ZLIB_1.2.2; |
| 45 | |
| 46 | ZLIB_1.2.2.4 { |
| 47 | inflatePrime; |
| 48 | } ZLIB_1.2.2.3; |
| 49 | |
| 50 | ZLIB_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 | |
| 59 | ZLIB_1.2.3.4 { |
| 60 | inflateReset2; |
| 61 | inflateMark; |
| 62 | } ZLIB_1.2.3.3; |
| 63 | |
| 64 | ZLIB_1.2.3.5 { |
| 65 | gzbuffer; |
| 66 | gzoffset; |
| 67 | gzoffset64; |
| 68 | gzclose_r; |
| 69 | gzclose_w; |
| 70 | } ZLIB_1.2.3.4; |
| 71 | |
| 72 | ZLIB_1.2.5.1 { |
| 73 | deflatePending; |
| 74 | } ZLIB_1.2.3.5; |
| 75 | |
| 76 | ZLIB_1.2.5.2 { |
| 77 | deflateResetKeep; |
| 78 | gzgetc_; |
| 79 | inflateResetKeep; |
| 80 | } ZLIB_1.2.5.1; |
| 81 | |
| 82 | ZLIB_1.2.7.1 { # introduced=18 |
| 83 | inflateGetDictionary; |
| 84 | gzvprintf; |
| 85 | } ZLIB_1.2.5.2; |
| 86 | |
| 87 | ZLIB_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. |
| 101 | ZLIB_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 Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 115 | deflateCopy; |
| 116 | deflateEnd; |
| 117 | deflateInit2_; |
| 118 | deflateInit_; |
| 119 | deflateParams; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 120 | deflateReset; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 121 | deflateSetDictionary; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 122 | get_crc_table; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 123 | gzclose; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 124 | gzdopen; |
| 125 | gzeof; |
| 126 | gzerror; |
| 127 | gzflush; |
| 128 | gzgetc; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 129 | gzgets; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 130 | gzopen; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 131 | gzprintf; |
| 132 | gzputc; |
| 133 | gzputs; |
| 134 | gzread; |
| 135 | gzrewind; |
| 136 | gzseek; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 137 | gzsetparams; |
| 138 | gztell; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 139 | gzwrite; |
| 140 | inflate; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 141 | inflateEnd; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 142 | inflateInit2_; |
| 143 | inflateInit_; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 144 | inflateReset; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 145 | inflateSetDictionary; |
| 146 | inflateSync; |
| 147 | inflateSyncPoint; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 148 | uncompress; |
| 149 | zError; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 150 | zlibVersion; |
Dan Albert | e405a26 | 2016-09-15 16:24:19 -0700 | [diff] [blame] | 151 | }; |