Back to index

lightning-sunbird  0.9+nobinonly
mozzconf.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is the mozilla zlib configuration.
00016  *
00017  * The Initial Developer of the Original Code is IBM Corporation.
00018  * Portions created by the Initial Developer are Copyright (C) 2004
00019  * the Initial Developer. All Rights Reserved.
00020  *
00021  * Contributor(s):
00022  *
00023  * Alternatively, the contents of this file may be used under the terms of
00024  * either of the GNU General Public License Version 2 or later (the "GPL"),
00025  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00026  * in which case the provisions of the GPL or the LGPL are applicable instead
00027  * of those above. If you wish to allow use of your version of this file only
00028  * under the terms of either the GPL or the LGPL, and not to allow others to
00029  * use your version of this file under the terms of the MPL, indicate your
00030  * decision by deleting the provisions above and replace them with the notice
00031  * and other provisions required by the GPL or the LGPL. If you do not delete
00032  * the provisions above, a recipient may use your version of this file under
00033  * the terms of any one of the MPL, the GPL or the LGPL.
00034  *
00035  * ***** END LICENSE BLOCK ***** */
00036 
00037 #ifndef MOZZCONF_H
00038 #define MOZZCONF_H
00039 
00040 #if defined(XP_WIN) && defined(ZLIB_DLL) && !defined(MOZ_ENABLE_LIBXUL)
00041 #undef ZLIB_DLL
00042 #endif
00043 
00044 #ifdef HAVE_VISIBILITY_ATTRIBUTE
00045 #define ZEXTERN __attribute__((visibility ("default"))) extern
00046 #endif
00047 
00048 /* Exported Symbols */
00049 #define zlibVersion MOZ_Z_zlibVersion
00050 #define deflate MOZ_Z_deflate
00051 #define deflateEnd MOZ_Z_deflateEnd
00052 #define inflate MOZ_Z_inflate
00053 #define inflateEnd MOZ_Z_inflateEnd
00054 #define deflateSetDictionary MOZ_Z_deflateSetDictionary
00055 #define deflateCopy MOZ_Z_deflateCopy
00056 #define deflateReset MOZ_Z_deflateReset
00057 #define deflateParams MOZ_Z_deflateParams
00058 #define deflateBound MOZ_Z_deflateBound
00059 #define deflatePrime MOZ_Z_deflatePrime
00060 #define inflateSetDictionary MOZ_Z_inflateSetDictionary
00061 #define inflateSync MOZ_Z_inflateSync
00062 #define inflateCopy MOZ_Z_inflateCopy
00063 #define inflateReset MOZ_Z_inflateReset
00064 #define inflateBack MOZ_Z_inflateBack
00065 #define inflateBackEnd MOZ_Z_inflateBackEnd
00066 #define zlibCompileFlags MOZ_Z_zlibCompileFlags
00067 #define compress MOZ_Z_compress
00068 #define compress2 MOZ_Z_compress2
00069 #define compressBound MOZ_Z_compressBound
00070 #define uncompress MOZ_Z_uncompress
00071 #define gzopen MOZ_Z_gzopen
00072 #define gzdopen MOZ_Z_gzdopen
00073 #define gzsetparams MOZ_Z_gzsetparams
00074 #define gzread MOZ_Z_gzread
00075 #define gzwrite MOZ_Z_gzwrite
00076 #define gzprintf MOZ_Z_gzprintf
00077 #define gzputs MOZ_Z_gzputs
00078 #define gzgets MOZ_Z_gzgets
00079 #define gzputc MOZ_Z_gzputc
00080 #define gzgetc MOZ_Z_gzgetc
00081 #define gzungetc MOZ_Z_gzungetc
00082 #define gzflush MOZ_Z_gzflush
00083 #define gzseek MOZ_Z_gzseek
00084 #define gzrewind MOZ_Z_gzrewind
00085 #define gztell MOZ_Z_gztell
00086 #define gzeof MOZ_Z_gzeof
00087 #define gzclose MOZ_Z_gzclose
00088 #define gzerror MOZ_Z_gzerror
00089 #define gzclearerr MOZ_Z_gzclearerr
00090 #define adler32 MOZ_Z_adler32
00091 #define crc32 MOZ_Z_crc32
00092 #define deflateInit_ MOZ_Z_deflateInit_
00093 #define deflateInit2_ MOZ_Z_deflateInit2_
00094 #define inflateInit_ MOZ_Z_inflateInit_
00095 #define inflateInit2_ MOZ_Z_inflateInit2_
00096 #define inflateBackInit_ MOZ_Z_inflateBackInit_
00097 #define inflateSyncPoint MOZ_Z_inflateSyncPoint
00098 #define get_crc_table MOZ_Z_get_crc_table
00099 #define zError MOZ_Z_zError
00100 
00101 /* Extra global symbols */
00102 #define _dist_code MOZ_Z__dist_code
00103 #define _length_code MOZ_Z__length_code
00104 #define _tr_align MOZ_Z__tr_align
00105 #define _tr_flush_block MOZ_Z__tr_flush_block
00106 #define _tr_init MOZ_Z__tr_init
00107 #define _tr_stored_block MOZ_Z__tr_stored_block
00108 #define _tr_tally MOZ_Z__tr_tally
00109 #define deflate_copyright MOZ_Z_deflate_copyright
00110 #define inflate_copyright MOZ_Z_inflate_copyright
00111 #define inflate_fast MOZ_Z_inflate_fast
00112 #define inflate_table MOZ_Z_inflate_table
00113 #define z_errmsg MOZ_Z_z_errmsg
00114 #define zcalloc MOZ_Z_zcalloc
00115 #define zcfree MOZ_Z_zcfree
00116 #define alloc_func MOZ_Z_alloc_func
00117 #define free_func MOZ_Z_free_func
00118 #define in_func MOZ_Z_in_func
00119 #define out_func MOZ_Z_out_func
00120 
00121 /* New as of libpng-1.2.3 */
00122 #define adler32_combine MOZ_Z_adler32_combine
00123 #define crc32_combine MOZ_Z_crc32_combine
00124 #define deflateSetHeader MOZ_Z_deflateSetHeader
00125 #define deflateTune MOZ_Z_deflateTune
00126 #define gzdirect MOZ_Z_gzdirect
00127 #define inflatePrime MOZ_Z_inflatePrime
00128 #define inflateGetHeader MOZ_Z_inflateGetHeader
00129 
00130 #endif