/modules/zlib/src/mozzconf.h

http://github.com/zpao/v8monkey · C Header · 144 lines · 98 code · 7 blank · 39 comment · 1 complexity · d59f6074d209ccc6c24fbca2f0ff86bf MD5 · raw file

  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. #ifndef MOZZCONF_H
  37. #define MOZZCONF_H
  38. #if defined(XP_WIN) && defined(ZLIB_DLL)
  39. #undef ZLIB_DLL
  40. #endif
  41. /* Exported Symbols */
  42. #define zlibVersion MOZ_Z_zlibVersion
  43. #define deflate MOZ_Z_deflate
  44. #define deflateEnd MOZ_Z_deflateEnd
  45. #define inflate MOZ_Z_inflate
  46. #define inflateEnd MOZ_Z_inflateEnd
  47. #define deflateSetDictionary MOZ_Z_deflateSetDictionary
  48. #define deflateCopy MOZ_Z_deflateCopy
  49. #define deflateReset MOZ_Z_deflateReset
  50. #define deflateParams MOZ_Z_deflateParams
  51. #define deflateBound MOZ_Z_deflateBound
  52. #define deflatePrime MOZ_Z_deflatePrime
  53. #define inflateSetDictionary MOZ_Z_inflateSetDictionary
  54. #define inflateSync MOZ_Z_inflateSync
  55. #define inflateCopy MOZ_Z_inflateCopy
  56. #define inflateReset MOZ_Z_inflateReset
  57. #define inflateBack MOZ_Z_inflateBack
  58. #define inflateBackEnd MOZ_Z_inflateBackEnd
  59. #define zlibCompileFlags MOZ_Z_zlibCompileFlags
  60. #define compress MOZ_Z_compress
  61. #define compress2 MOZ_Z_compress2
  62. #define compressBound MOZ_Z_compressBound
  63. #define uncompress MOZ_Z_uncompress
  64. #define gzopen MOZ_Z_gzopen
  65. #define gzdopen MOZ_Z_gzdopen
  66. #define gzsetparams MOZ_Z_gzsetparams
  67. #define gzread MOZ_Z_gzread
  68. #define gzwrite MOZ_Z_gzwrite
  69. #define gzprintf MOZ_Z_gzprintf
  70. #define gzputs MOZ_Z_gzputs
  71. #define gzgets MOZ_Z_gzgets
  72. #define gzputc MOZ_Z_gzputc
  73. #define gzgetc MOZ_Z_gzgetc
  74. #define gzungetc MOZ_Z_gzungetc
  75. #define gzflush MOZ_Z_gzflush
  76. #define gzseek MOZ_Z_gzseek
  77. #define gzrewind MOZ_Z_gzrewind
  78. #define gztell MOZ_Z_gztell
  79. #define gzeof MOZ_Z_gzeof
  80. #define gzclose MOZ_Z_gzclose
  81. #define gzerror MOZ_Z_gzerror
  82. #define gzclearerr MOZ_Z_gzclearerr
  83. #define adler32 MOZ_Z_adler32
  84. #define crc32 MOZ_Z_crc32
  85. #define deflateInit_ MOZ_Z_deflateInit_
  86. #define deflateInit2_ MOZ_Z_deflateInit2_
  87. #define inflateInit_ MOZ_Z_inflateInit_
  88. #define inflateInit2_ MOZ_Z_inflateInit2_
  89. #define inflateBackInit_ MOZ_Z_inflateBackInit_
  90. #define inflateSyncPoint MOZ_Z_inflateSyncPoint
  91. #define get_crc_table MOZ_Z_get_crc_table
  92. #define zError MOZ_Z_zError
  93. /* Extra global symbols */
  94. #define _dist_code MOZ_Z__dist_code
  95. #define _length_code MOZ_Z__length_code
  96. #define _tr_align MOZ_Z__tr_align
  97. #define _tr_flush_block MOZ_Z__tr_flush_block
  98. #define _tr_init MOZ_Z__tr_init
  99. #define _tr_stored_block MOZ_Z__tr_stored_block
  100. #define _tr_tally MOZ_Z__tr_tally
  101. #define deflate_copyright MOZ_Z_deflate_copyright
  102. #define inflate_copyright MOZ_Z_inflate_copyright
  103. #define inflate_fast MOZ_Z_inflate_fast
  104. #define inflate_table MOZ_Z_inflate_table
  105. #define z_errmsg MOZ_Z_z_errmsg
  106. #define zcalloc MOZ_Z_zcalloc
  107. #define zcfree MOZ_Z_zcfree
  108. #define alloc_func MOZ_Z_alloc_func
  109. #define free_func MOZ_Z_free_func
  110. #define in_func MOZ_Z_in_func
  111. #define out_func MOZ_Z_out_func
  112. /* New as of zlib-1.2.3 */
  113. #define adler32_combine MOZ_Z_adler32_combine
  114. #define crc32_combine MOZ_Z_crc32_combine
  115. #define deflateSetHeader MOZ_Z_deflateSetHeader
  116. #define deflateTune MOZ_Z_deflateTune
  117. #define gzdirect MOZ_Z_gzdirect
  118. #define inflatePrime MOZ_Z_inflatePrime
  119. #define inflateGetHeader MOZ_Z_inflateGetHeader
  120. /* New as of zlib-1.2.4 */
  121. #define adler32_combine64 MOZ_Z_adler32_combine64
  122. #define crc32_combine64 MOZ_Z_crc32_combine64
  123. #define gz_error MOZ_Z_gz_error
  124. #define gz_intmax MOZ_Z_gz_intmax
  125. #define gz_strwinerror MOZ_Z_gz_strwinerror
  126. #define gzbuffer MOZ_Z_gzbuffer
  127. #define gzclose_r MOZ_Z_gzclose_r
  128. #define gzclose_w MOZ_Z_gzclose_w
  129. #define gzoffset MOZ_Z_gzoffset
  130. #define gzoffset64 MOZ_Z_gzoffset64
  131. #define gzopen64 MOZ_Z_gzopen64
  132. #define gzseek64 MOZ_Z_gzseek64
  133. #define gztell64 MOZ_Z_gztell64
  134. #define inflateMark MOZ_Z_inflateMark
  135. #define inflateReset2 MOZ_Z_inflateReset2
  136. #define inflateUndermine MOZ_Z_inflateUndermine
  137. #endif