OLD | NEW |
(Empty) | |
| 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
| 2 /* ***** BEGIN LICENSE BLOCK ***** |
| 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 4 * |
| 5 * The contents of this file are subject to the Mozilla Public License Version |
| 6 * 1.1 (the "License"); you may not use this file except in compliance with |
| 7 * the License. You may obtain a copy of the License at |
| 8 * http://www.mozilla.org/MPL/ |
| 9 * |
| 10 * Software distributed under the License is distributed on an "AS IS" basis, |
| 11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 12 * for the specific language governing rights and limitations under the |
| 13 * License. |
| 14 * |
| 15 * The Original Code is the mozilla zlib configuration. |
| 16 * |
| 17 * The Initial Developer of the Original Code is IBM Corporation. |
| 18 * Portions created by the Initial Developer are Copyright (C) 2004 |
| 19 * the Initial Developer. All Rights Reserved. |
| 20 * |
| 21 * Contributor(s): |
| 22 * |
| 23 * Alternatively, the contents of this file may be used under the terms of |
| 24 * either of the GNU General Public License Version 2 or later (the "GPL"), |
| 25 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 26 * in which case the provisions of the GPL or the LGPL are applicable instead |
| 27 * of those above. If you wish to allow use of your version of this file only |
| 28 * under the terms of either the GPL or the LGPL, and not to allow others to |
| 29 * use your version of this file under the terms of the MPL, indicate your |
| 30 * decision by deleting the provisions above and replace them with the notice |
| 31 * and other provisions required by the GPL or the LGPL. If you do not delete |
| 32 * the provisions above, a recipient may use your version of this file under |
| 33 * the terms of any one of the MPL, the GPL or the LGPL. |
| 34 * |
| 35 * ***** END LICENSE BLOCK ***** */ |
| 36 |
| 37 #ifndef MOZZCONF_H |
| 38 #define MOZZCONF_H |
| 39 |
| 40 #if defined(XP_WIN) && defined(ZLIB_DLL) && !defined(MOZ_ENABLE_LIBXUL) |
| 41 #undef ZLIB_DLL |
| 42 #endif |
| 43 |
| 44 #ifdef HAVE_VISIBILITY_ATTRIBUTE |
| 45 #define ZEXTERN __attribute__((visibility ("default"))) extern |
| 46 #endif |
| 47 |
| 48 /* Exported Symbols */ |
| 49 #define zlibVersion MOZ_Z_zlibVersion |
| 50 #define deflate MOZ_Z_deflate |
| 51 #define deflateEnd MOZ_Z_deflateEnd |
| 52 #define inflate MOZ_Z_inflate |
| 53 #define inflateEnd MOZ_Z_inflateEnd |
| 54 #define deflateSetDictionary MOZ_Z_deflateSetDictionary |
| 55 #define deflateCopy MOZ_Z_deflateCopy |
| 56 #define deflateReset MOZ_Z_deflateReset |
| 57 #define deflateParams MOZ_Z_deflateParams |
| 58 #define deflateBound MOZ_Z_deflateBound |
| 59 #define deflatePrime MOZ_Z_deflatePrime |
| 60 #define inflateSetDictionary MOZ_Z_inflateSetDictionary |
| 61 #define inflateSync MOZ_Z_inflateSync |
| 62 #define inflateCopy MOZ_Z_inflateCopy |
| 63 #define inflateReset MOZ_Z_inflateReset |
| 64 #define inflateBack MOZ_Z_inflateBack |
| 65 #define inflateBackEnd MOZ_Z_inflateBackEnd |
| 66 #define zlibCompileFlags MOZ_Z_zlibCompileFlags |
| 67 #define compress MOZ_Z_compress |
| 68 #define compress2 MOZ_Z_compress2 |
| 69 #define compressBound MOZ_Z_compressBound |
| 70 #define uncompress MOZ_Z_uncompress |
| 71 #define gzopen MOZ_Z_gzopen |
| 72 #define gzdopen MOZ_Z_gzdopen |
| 73 #define gzsetparams MOZ_Z_gzsetparams |
| 74 #define gzread MOZ_Z_gzread |
| 75 #define gzwrite MOZ_Z_gzwrite |
| 76 #define gzprintf MOZ_Z_gzprintf |
| 77 #define gzputs MOZ_Z_gzputs |
| 78 #define gzgets MOZ_Z_gzgets |
| 79 #define gzputc MOZ_Z_gzputc |
| 80 #define gzgetc MOZ_Z_gzgetc |
| 81 #define gzungetc MOZ_Z_gzungetc |
| 82 #define gzflush MOZ_Z_gzflush |
| 83 #define gzseek MOZ_Z_gzseek |
| 84 #define gzrewind MOZ_Z_gzrewind |
| 85 #define gztell MOZ_Z_gztell |
| 86 #define gzeof MOZ_Z_gzeof |
| 87 #define gzclose MOZ_Z_gzclose |
| 88 #define gzerror MOZ_Z_gzerror |
| 89 #define gzclearerr MOZ_Z_gzclearerr |
| 90 #define adler32 MOZ_Z_adler32 |
| 91 #define crc32 MOZ_Z_crc32 |
| 92 #define deflateInit_ MOZ_Z_deflateInit_ |
| 93 #define deflateInit2_ MOZ_Z_deflateInit2_ |
| 94 #define inflateInit_ MOZ_Z_inflateInit_ |
| 95 #define inflateInit2_ MOZ_Z_inflateInit2_ |
| 96 #define inflateBackInit_ MOZ_Z_inflateBackInit_ |
| 97 #define inflateSyncPoint MOZ_Z_inflateSyncPoint |
| 98 #define get_crc_table MOZ_Z_get_crc_table |
| 99 #define zError MOZ_Z_zError |
| 100 |
| 101 /* Extra global symbols */ |
| 102 #define _dist_code MOZ_Z__dist_code |
| 103 #define _length_code MOZ_Z__length_code |
| 104 #define _tr_align MOZ_Z__tr_align |
| 105 #define _tr_flush_block MOZ_Z__tr_flush_block |
| 106 #define _tr_init MOZ_Z__tr_init |
| 107 #define _tr_stored_block MOZ_Z__tr_stored_block |
| 108 #define _tr_tally MOZ_Z__tr_tally |
| 109 #define deflate_copyright MOZ_Z_deflate_copyright |
| 110 #define inflate_copyright MOZ_Z_inflate_copyright |
| 111 #define inflate_fast MOZ_Z_inflate_fast |
| 112 #define inflate_table MOZ_Z_inflate_table |
| 113 #define z_errmsg MOZ_Z_z_errmsg |
| 114 #define zcalloc MOZ_Z_zcalloc |
| 115 #define zcfree MOZ_Z_zcfree |
| 116 #define alloc_func MOZ_Z_alloc_func |
| 117 #define free_func MOZ_Z_free_func |
| 118 #define in_func MOZ_Z_in_func |
| 119 #define out_func MOZ_Z_out_func |
| 120 |
| 121 /* New as of libpng-1.2.3 */ |
| 122 #define adler32_combine MOZ_Z_adler32_combine |
| 123 #define crc32_combine MOZ_Z_crc32_combine |
| 124 #define deflateSetHeader MOZ_Z_deflateSetHeader |
| 125 #define deflateTune MOZ_Z_deflateTune |
| 126 #define gzdirect MOZ_Z_gzdirect |
| 127 #define inflatePrime MOZ_Z_inflatePrime |
| 128 #define inflateGetHeader MOZ_Z_inflateGetHeader |
| 129 |
| 130 /* New as of zlib 1.2.5 */ |
| 131 #define gzoffset MOZ_Z_gzoffset |
| 132 #define gzopen64 MOZ_Z_gzopen64 |
| 133 #define gzseek64 MOZ_Z_gzseek64 |
| 134 #define gztell64 MOZ_Z_gztell64 |
| 135 #define gzoffset64 MOZ_Z_gzoffset64 |
| 136 #define adler32_combine64 MOZ_Z_adler32_combine64 |
| 137 #define crc32_combine64 MOZ_Z_crc32_combine64 |
| 138 #define gz_error MOZ_Z_gz_error |
| 139 #define gz_intmax MOZ_Z_gz_intmax |
| 140 #define gz_strwinerror MOZ_Z_gz_strwinerror |
| 141 #define gzbuffer MOZ_Z_gzbuffer |
| 142 #define gzclose_r MOZ_Z_gzclose_r |
| 143 #define gzclose_w MOZ_Z_gzclose_w |
| 144 #define inflateMark MOZ_Z_inflateMark |
| 145 #define inflateReset2 MOZ_Z_inflateReset2 |
| 146 #define inflateUndermine MOZ_Z_inflateUndermine |
| 147 #define charf MOZ_Z_charf |
| 148 #define gzFile MOZ_Z_gzFile |
| 149 #define gz_header MOZ_Z_gz_header |
| 150 #define gz_headerp MOZ_Z_gz_headerp |
| 151 #define intf MOZ_Z_intf |
| 152 #define uInt MOZ_Z_uInt |
| 153 #define uIntf MOZ_Z_uIntf |
| 154 #define uLong MOZ_Z_uLong |
| 155 #define uLongf MOZ_Z_uLongf |
| 156 #define voidp MOZ_Z_voidp |
| 157 #define voidpc MOZ_Z_voidpc |
| 158 #define voidpf MOZ_Z_voidpf |
| 159 #define gz_header_s MOZ_Z_gz_header_s |
| 160 #define internal_state MOZ_Z_internal_state |
| 161 |
| 162 /* Mangle Byte types except on Mac. */ |
| 163 #if !defined(__MACTYPES__) |
| 164 #define Byte MOZ_Z_Byte |
| 165 #define Bytef MOZ_Z_Bytef |
| 166 #endif |
| 167 |
| 168 #endif |
OLD | NEW |