hane 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/binding.gyp +87 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +1 -0
- package/package.json +33 -0
- package/src/native/addon.cc +231 -0
- package/src/native/zsign_driver.cc +87 -0
- package/src/native/zsign_driver.h +38 -0
- package/vendor/zlib/.cmake-format.yaml +245 -0
- package/vendor/zlib/.github/workflows/c-std.yml +230 -0
- package/vendor/zlib/.github/workflows/cmake.yml +112 -0
- package/vendor/zlib/.github/workflows/configure.yml +136 -0
- package/vendor/zlib/.github/workflows/fuzz.yml +25 -0
- package/vendor/zlib/.github/workflows/msys-cygwin.yml +77 -0
- package/vendor/zlib/BUILD.bazel +134 -0
- package/vendor/zlib/CMakeLists.txt +330 -0
- package/vendor/zlib/ChangeLog +1621 -0
- package/vendor/zlib/FAQ +367 -0
- package/vendor/zlib/INDEX +68 -0
- package/vendor/zlib/LICENSE +22 -0
- package/vendor/zlib/MODULE.bazel +9 -0
- package/vendor/zlib/Makefile.in +419 -0
- package/vendor/zlib/README +115 -0
- package/vendor/zlib/README-cmake.md +83 -0
- package/vendor/zlib/adler32.c +164 -0
- package/vendor/zlib/amiga/Makefile.pup +69 -0
- package/vendor/zlib/amiga/Makefile.sas +68 -0
- package/vendor/zlib/compress.c +75 -0
- package/vendor/zlib/configure +966 -0
- package/vendor/zlib/contrib/README.contrib +57 -0
- package/vendor/zlib/contrib/ada/buffer_demo.adb +106 -0
- package/vendor/zlib/contrib/ada/mtest.adb +156 -0
- package/vendor/zlib/contrib/ada/read.adb +156 -0
- package/vendor/zlib/contrib/ada/readme.txt +65 -0
- package/vendor/zlib/contrib/ada/test.adb +463 -0
- package/vendor/zlib/contrib/ada/zlib-streams.adb +225 -0
- package/vendor/zlib/contrib/ada/zlib-streams.ads +114 -0
- package/vendor/zlib/contrib/ada/zlib-thin.adb +142 -0
- package/vendor/zlib/contrib/ada/zlib-thin.ads +450 -0
- package/vendor/zlib/contrib/ada/zlib.adb +701 -0
- package/vendor/zlib/contrib/ada/zlib.ads +328 -0
- package/vendor/zlib/contrib/ada/zlib.gpr +20 -0
- package/vendor/zlib/contrib/blast/Makefile +8 -0
- package/vendor/zlib/contrib/blast/README +4 -0
- package/vendor/zlib/contrib/blast/blast.c +466 -0
- package/vendor/zlib/contrib/blast/blast.h +83 -0
- package/vendor/zlib/contrib/blast/test.pk +0 -0
- package/vendor/zlib/contrib/blast/test.txt +1 -0
- package/vendor/zlib/contrib/delphi/ZLib.pas +557 -0
- package/vendor/zlib/contrib/delphi/ZLibConst.pas +11 -0
- package/vendor/zlib/contrib/delphi/readme.txt +76 -0
- package/vendor/zlib/contrib/delphi/zlibd32.mak +99 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs +58 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs +202 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs +83 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/CodecBase.cs +198 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/Deflater.cs +106 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/DotZLib.cs +288 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/DotZLib.csproj +141 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/GZipStream.cs +301 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/Inflater.cs +105 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/UnitTests.cs +274 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib.build +33 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib.chm +0 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib.sln +21 -0
- package/vendor/zlib/contrib/dotzlib/LICENSE_1_0.txt +23 -0
- package/vendor/zlib/contrib/dotzlib/readme.txt +58 -0
- package/vendor/zlib/contrib/gcc_gvmat64/gvmat64.S +574 -0
- package/vendor/zlib/contrib/infback9/README +1 -0
- package/vendor/zlib/contrib/infback9/infback9.c +603 -0
- package/vendor/zlib/contrib/infback9/infback9.h +37 -0
- package/vendor/zlib/contrib/infback9/inffix9.h +107 -0
- package/vendor/zlib/contrib/infback9/inflate9.h +47 -0
- package/vendor/zlib/contrib/infback9/inftree9.c +319 -0
- package/vendor/zlib/contrib/infback9/inftree9.h +61 -0
- package/vendor/zlib/contrib/iostream/test.cpp +24 -0
- package/vendor/zlib/contrib/iostream/zfstream.cpp +329 -0
- package/vendor/zlib/contrib/iostream/zfstream.h +128 -0
- package/vendor/zlib/contrib/iostream2/zstream.h +307 -0
- package/vendor/zlib/contrib/iostream2/zstream_test.cpp +25 -0
- package/vendor/zlib/contrib/iostream3/README +35 -0
- package/vendor/zlib/contrib/iostream3/TODO +17 -0
- package/vendor/zlib/contrib/iostream3/test.cc +50 -0
- package/vendor/zlib/contrib/iostream3/zfstream.cc +479 -0
- package/vendor/zlib/contrib/iostream3/zfstream.h +466 -0
- package/vendor/zlib/contrib/minizip/CMakeLists.txt +380 -0
- package/vendor/zlib/contrib/minizip/Makefile +37 -0
- package/vendor/zlib/contrib/minizip/Makefile.am +45 -0
- package/vendor/zlib/contrib/minizip/MiniZip64_Changes.txt +6 -0
- package/vendor/zlib/contrib/minizip/MiniZip64_info.txt +74 -0
- package/vendor/zlib/contrib/minizip/configure.ac +32 -0
- package/vendor/zlib/contrib/minizip/crypt.h +128 -0
- package/vendor/zlib/contrib/minizip/ints.h +57 -0
- package/vendor/zlib/contrib/minizip/ioapi.c +231 -0
- package/vendor/zlib/contrib/minizip/ioapi.h +183 -0
- package/vendor/zlib/contrib/minizip/iowin32.c +448 -0
- package/vendor/zlib/contrib/minizip/iowin32.h +28 -0
- package/vendor/zlib/contrib/minizip/make_vms.com +25 -0
- package/vendor/zlib/contrib/minizip/miniunz.c +647 -0
- package/vendor/zlib/contrib/minizip/miniunzip.1 +63 -0
- package/vendor/zlib/contrib/minizip/minizip.1 +46 -0
- package/vendor/zlib/contrib/minizip/minizip.c +512 -0
- package/vendor/zlib/contrib/minizip/minizip.pc.in +12 -0
- package/vendor/zlib/contrib/minizip/minizip.pc.txt +13 -0
- package/vendor/zlib/contrib/minizip/minizipConfig.cmake.in +35 -0
- package/vendor/zlib/contrib/minizip/mztools.c +288 -0
- package/vendor/zlib/contrib/minizip/mztools.h +37 -0
- package/vendor/zlib/contrib/minizip/skipset.h +361 -0
- package/vendor/zlib/contrib/minizip/test/CMakeLists.txt +121 -0
- package/vendor/zlib/contrib/minizip/test/add_subdirectory_exclude_test.cmake.in +29 -0
- package/vendor/zlib/contrib/minizip/test/add_subdirectory_test.cmake.in +28 -0
- package/vendor/zlib/contrib/minizip/test/find_package_test.cmake.in +25 -0
- package/vendor/zlib/contrib/minizip/test/test_helper.cm +32 -0
- package/vendor/zlib/contrib/minizip/unzip.c +1981 -0
- package/vendor/zlib/contrib/minizip/unzip.h +441 -0
- package/vendor/zlib/contrib/minizip/zip.c +2199 -0
- package/vendor/zlib/contrib/minizip/zip.h +370 -0
- package/vendor/zlib/contrib/nuget/nuget.csproj +43 -0
- package/vendor/zlib/contrib/nuget/nuget.sln +22 -0
- package/vendor/zlib/contrib/pascal/example.pas +599 -0
- package/vendor/zlib/contrib/pascal/readme.txt +76 -0
- package/vendor/zlib/contrib/pascal/zlibd32.mak +99 -0
- package/vendor/zlib/contrib/pascal/zlibpas.pas +276 -0
- package/vendor/zlib/contrib/puff/Makefile +42 -0
- package/vendor/zlib/contrib/puff/README +63 -0
- package/vendor/zlib/contrib/puff/puff.c +840 -0
- package/vendor/zlib/contrib/puff/puff.h +35 -0
- package/vendor/zlib/contrib/puff/pufftest.c +169 -0
- package/vendor/zlib/contrib/puff/zeros.raw +0 -0
- package/vendor/zlib/contrib/testzlib/testzlib.c +275 -0
- package/vendor/zlib/contrib/testzlib/testzlib.txt +10 -0
- package/vendor/zlib/contrib/untgz/Makefile +14 -0
- package/vendor/zlib/contrib/untgz/Makefile.msc +17 -0
- package/vendor/zlib/contrib/untgz/untgz.c +667 -0
- package/vendor/zlib/contrib/vstudio/readme.txt +81 -0
- package/vendor/zlib/contrib/vstudio/vc10/miniunz.vcxproj +310 -0
- package/vendor/zlib/contrib/vstudio/vc10/miniunz.vcxproj.filters +22 -0
- package/vendor/zlib/contrib/vstudio/vc10/minizip.vcxproj +307 -0
- package/vendor/zlib/contrib/vstudio/vc10/minizip.vcxproj.filters +22 -0
- package/vendor/zlib/contrib/vstudio/vc10/testzlib.vcxproj +412 -0
- package/vendor/zlib/contrib/vstudio/vc10/testzlib.vcxproj.filters +55 -0
- package/vendor/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj +310 -0
- package/vendor/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj.filters +22 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlib.rc +32 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlibstat.vcxproj +449 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlibstat.vcxproj.filters +74 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlibvc.def +161 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlibvc.sln +135 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlibvc.vcxproj +633 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlibvc.vcxproj.filters +115 -0
- package/vendor/zlib/contrib/vstudio/vc11/miniunz.vcxproj +314 -0
- package/vendor/zlib/contrib/vstudio/vc11/minizip.vcxproj +311 -0
- package/vendor/zlib/contrib/vstudio/vc11/testzlib.vcxproj +418 -0
- package/vendor/zlib/contrib/vstudio/vc11/testzlibdll.vcxproj +314 -0
- package/vendor/zlib/contrib/vstudio/vc11/zlib.rc +32 -0
- package/vendor/zlib/contrib/vstudio/vc11/zlibstat.vcxproj +456 -0
- package/vendor/zlib/contrib/vstudio/vc11/zlibvc.def +161 -0
- package/vendor/zlib/contrib/vstudio/vc11/zlibvc.sln +117 -0
- package/vendor/zlib/contrib/vstudio/vc11/zlibvc.vcxproj +664 -0
- package/vendor/zlib/contrib/vstudio/vc12/miniunz.vcxproj +316 -0
- package/vendor/zlib/contrib/vstudio/vc12/minizip.vcxproj +313 -0
- package/vendor/zlib/contrib/vstudio/vc12/testzlib.vcxproj +422 -0
- package/vendor/zlib/contrib/vstudio/vc12/testzlibdll.vcxproj +316 -0
- package/vendor/zlib/contrib/vstudio/vc12/zlib.rc +32 -0
- package/vendor/zlib/contrib/vstudio/vc12/zlibstat.vcxproj +459 -0
- package/vendor/zlib/contrib/vstudio/vc12/zlibvc.def +161 -0
- package/vendor/zlib/contrib/vstudio/vc12/zlibvc.sln +119 -0
- package/vendor/zlib/contrib/vstudio/vc12/zlibvc.vcxproj +668 -0
- package/vendor/zlib/contrib/vstudio/vc14/miniunz.vcxproj +316 -0
- package/vendor/zlib/contrib/vstudio/vc14/minizip.vcxproj +313 -0
- package/vendor/zlib/contrib/vstudio/vc14/testzlib.vcxproj +422 -0
- package/vendor/zlib/contrib/vstudio/vc14/testzlibdll.vcxproj +316 -0
- package/vendor/zlib/contrib/vstudio/vc14/zlib.rc +32 -0
- package/vendor/zlib/contrib/vstudio/vc14/zlibstat.vcxproj +459 -0
- package/vendor/zlib/contrib/vstudio/vc14/zlibvc.def +161 -0
- package/vendor/zlib/contrib/vstudio/vc14/zlibvc.sln +119 -0
- package/vendor/zlib/contrib/vstudio/vc14/zlibvc.vcxproj +668 -0
- package/vendor/zlib/contrib/vstudio/vc17/miniunz.vcxproj +409 -0
- package/vendor/zlib/contrib/vstudio/vc17/minizip.vcxproj +405 -0
- package/vendor/zlib/contrib/vstudio/vc17/testzlib.vcxproj +473 -0
- package/vendor/zlib/contrib/vstudio/vc17/testzlibdll.vcxproj +409 -0
- package/vendor/zlib/contrib/vstudio/vc17/zlib.rc +32 -0
- package/vendor/zlib/contrib/vstudio/vc17/zlibstat.vcxproj +602 -0
- package/vendor/zlib/contrib/vstudio/vc17/zlibvc.def +161 -0
- package/vendor/zlib/contrib/vstudio/vc17/zlibvc.sln +179 -0
- package/vendor/zlib/contrib/vstudio/vc17/zlibvc.vcxproj +875 -0
- package/vendor/zlib/contrib/vstudio/vc9/miniunz.vcproj +565 -0
- package/vendor/zlib/contrib/vstudio/vc9/minizip.vcproj +562 -0
- package/vendor/zlib/contrib/vstudio/vc9/testzlib.vcproj +796 -0
- package/vendor/zlib/contrib/vstudio/vc9/testzlibdll.vcproj +565 -0
- package/vendor/zlib/contrib/vstudio/vc9/zlib.rc +32 -0
- package/vendor/zlib/contrib/vstudio/vc9/zlibstat.vcproj +781 -0
- package/vendor/zlib/contrib/vstudio/vc9/zlibvc.def +161 -0
- package/vendor/zlib/contrib/vstudio/vc9/zlibvc.sln +144 -0
- package/vendor/zlib/contrib/vstudio/vc9/zlibvc.vcproj +1100 -0
- package/vendor/zlib/crc32.c +1049 -0
- package/vendor/zlib/crc32.h +9446 -0
- package/vendor/zlib/deflate.c +2152 -0
- package/vendor/zlib/deflate.h +380 -0
- package/vendor/zlib/doc/algorithm.txt +209 -0
- package/vendor/zlib/doc/crc-doc.1.0.pdf +0 -0
- package/vendor/zlib/doc/rfc1950.txt +619 -0
- package/vendor/zlib/doc/rfc1951.txt +955 -0
- package/vendor/zlib/doc/rfc1952.txt +675 -0
- package/vendor/zlib/doc/txtvsbin.txt +107 -0
- package/vendor/zlib/examples/README.examples +54 -0
- package/vendor/zlib/examples/enough.c +597 -0
- package/vendor/zlib/examples/fitblk.c +233 -0
- package/vendor/zlib/examples/gun.c +702 -0
- package/vendor/zlib/examples/gzappend.c +504 -0
- package/vendor/zlib/examples/gzjoin.c +449 -0
- package/vendor/zlib/examples/gzlog.c +1061 -0
- package/vendor/zlib/examples/gzlog.h +91 -0
- package/vendor/zlib/examples/gznorm.c +474 -0
- package/vendor/zlib/examples/zlib_how.html +549 -0
- package/vendor/zlib/examples/zpipe.c +209 -0
- package/vendor/zlib/examples/zran.c +550 -0
- package/vendor/zlib/examples/zran.h +53 -0
- package/vendor/zlib/gzclose.c +23 -0
- package/vendor/zlib/gzguts.h +215 -0
- package/vendor/zlib/gzlib.c +585 -0
- package/vendor/zlib/gzread.c +603 -0
- package/vendor/zlib/gzwrite.c +631 -0
- package/vendor/zlib/infback.c +628 -0
- package/vendor/zlib/inffast.c +320 -0
- package/vendor/zlib/inffast.h +11 -0
- package/vendor/zlib/inffixed.h +94 -0
- package/vendor/zlib/inflate.c +1526 -0
- package/vendor/zlib/inflate.h +126 -0
- package/vendor/zlib/inftrees.c +299 -0
- package/vendor/zlib/inftrees.h +62 -0
- package/vendor/zlib/make_vms.com +867 -0
- package/vendor/zlib/msdos/Makefile.bor +115 -0
- package/vendor/zlib/msdos/Makefile.dj2 +104 -0
- package/vendor/zlib/msdos/Makefile.emx +69 -0
- package/vendor/zlib/msdos/Makefile.msc +112 -0
- package/vendor/zlib/msdos/Makefile.tc +100 -0
- package/vendor/zlib/nintendods/Makefile +126 -0
- package/vendor/zlib/nintendods/README +5 -0
- package/vendor/zlib/old/Makefile.emx +69 -0
- package/vendor/zlib/old/Makefile.riscos +151 -0
- package/vendor/zlib/old/README +3 -0
- package/vendor/zlib/old/descrip.mms +48 -0
- package/vendor/zlib/old/os2/Makefile.os2 +136 -0
- package/vendor/zlib/old/os2/zlib.def +51 -0
- package/vendor/zlib/old/visual-basic.txt +160 -0
- package/vendor/zlib/os400/README400 +48 -0
- package/vendor/zlib/os400/bndsrc +133 -0
- package/vendor/zlib/os400/make.sh +366 -0
- package/vendor/zlib/os400/zlib.inc +531 -0
- package/vendor/zlib/qnx/package.qpg +141 -0
- package/vendor/zlib/test/CMakeLists.txt +265 -0
- package/vendor/zlib/test/add_subdirectory_exclude_test.cmake.in +29 -0
- package/vendor/zlib/test/add_subdirectory_test.cmake.in +28 -0
- package/vendor/zlib/test/example.c +552 -0
- package/vendor/zlib/test/find_package_test.cmake.in +26 -0
- package/vendor/zlib/test/infcover.c +672 -0
- package/vendor/zlib/test/minigzip.c +590 -0
- package/vendor/zlib/treebuild.xml +116 -0
- package/vendor/zlib/trees.c +1119 -0
- package/vendor/zlib/trees.h +128 -0
- package/vendor/zlib/uncompr.c +85 -0
- package/vendor/zlib/watcom/watcom_f.mak +43 -0
- package/vendor/zlib/watcom/watcom_l.mak +43 -0
- package/vendor/zlib/win32/DLL_FAQ.txt +381 -0
- package/vendor/zlib/win32/Makefile.bor +109 -0
- package/vendor/zlib/win32/Makefile.gcc +177 -0
- package/vendor/zlib/win32/Makefile.msc +159 -0
- package/vendor/zlib/win32/README-WIN32.txt +103 -0
- package/vendor/zlib/win32/VisualC.txt +3 -0
- package/vendor/zlib/win32/zlib.def +98 -0
- package/vendor/zlib/win32/zlib1.rc +37 -0
- package/vendor/zlib/zconf.h.in +544 -0
- package/vendor/zlib/zlib.3 +149 -0
- package/vendor/zlib/zlib.3.pdf +0 -0
- package/vendor/zlib/zlib.h +1957 -0
- package/vendor/zlib/zlib.map +104 -0
- package/vendor/zlib/zlib.pc.cmakein +13 -0
- package/vendor/zlib/zlib.pc.in +13 -0
- package/vendor/zlib/zlibConfig.cmake.in +26 -0
- package/vendor/zlib/zutil.c +299 -0
- package/vendor/zlib/zutil.h +257 -0
- package/vendor/zsign/.gitattributes +4 -0
- package/vendor/zsign/LICENSE +21 -0
- package/vendor/zsign/README.md +142 -0
- package/vendor/zsign/build/linux/Makefile +43 -0
- package/vendor/zsign/build/macos/Makefile +43 -0
- package/vendor/zsign/build/windows/vs2022/include/minizip/crypt.h +128 -0
- package/vendor/zsign/build/windows/vs2022/include/minizip/ioapi.h +216 -0
- package/vendor/zsign/build/windows/vs2022/include/minizip/iowin32.h +28 -0
- package/vendor/zsign/build/windows/vs2022/include/minizip/mztools.h +37 -0
- package/vendor/zsign/build/windows/vs2022/include/minizip/unzip.h +437 -0
- package/vendor/zsign/build/windows/vs2022/include/minizip/zip.h +364 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/__DECC_INCLUDE_EPILOGUE.H +22 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/__DECC_INCLUDE_PROLOGUE.H +26 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/aes.h +111 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/applink.c +153 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/asn1.h +1133 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/asn1_mac.h +10 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/asn1err.h +142 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/asn1t.h +946 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/async.h +104 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/asyncerr.h +29 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/bio.h +1015 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/bioerr.h +72 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/blowfish.h +78 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/bn.h +590 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/bnerr.h +47 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/buffer.h +62 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/buffererr.h +25 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/camellia.h +117 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cast.h +71 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cmac.h +52 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cmp.h +727 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cmp_util.h +56 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cmperr.h +131 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cms.h +508 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cmserr.h +125 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/comp.h +98 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/comperr.h +38 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/conf.h +214 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/conf_api.h +46 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/conferr.h +52 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/configuration.h +188 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/conftypes.h +44 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/core.h +236 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/core_dispatch.h +1022 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/core_names.h +545 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/core_object.h +41 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/crmf.h +260 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/crmferr.h +50 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/crypto.h +580 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cryptoerr.h +56 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cryptoerr_legacy.h +1466 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ct.h +573 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cterr.h +45 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/decoder.h +133 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/decodererr.h +28 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/des.h +211 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/dh.h +339 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/dherr.h +59 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/dsa.h +280 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/dsaerr.h +44 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/dtls1.h +57 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/e_os2.h +310 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/e_ostime.h +38 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ebcdic.h +39 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ec.h +1588 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ecdh.h +10 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ecdsa.h +10 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ecerr.h +104 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/encoder.h +124 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/encodererr.h +28 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/engine.h +833 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/engineerr.h +63 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/err.h +512 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ess.h +128 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/esserr.h +32 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/evp.h +2231 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/evperr.h +140 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/fips_names.h +50 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/fipskey.h +41 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/hmac.h +62 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/hpke.h +169 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/http.h +118 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/httperr.h +56 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/idea.h +82 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/indicator.h +31 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/kdf.h +138 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/kdferr.h +16 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/lhash.h +398 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/macros.h +338 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/md2.h +56 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/md4.h +63 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/md5.h +62 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/mdc2.h +55 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/modes.h +219 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/obj_mac.h +5820 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/objects.h +184 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/objectserr.h +28 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ocsp.h +483 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ocsperr.h +53 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/opensslconf.h +17 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/opensslv.h +114 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ossl_typ.h +16 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/param_build.h +63 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/params.h +160 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pem.h +543 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pem2.h +19 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pemerr.h +58 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pkcs12.h +366 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pkcs12err.h +46 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pkcs7.h +430 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pkcs7err.h +63 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/prov_ssl.h +38 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/proverr.h +162 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/provider.h +66 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/quic.h +70 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/rand.h +125 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/randerr.h +69 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/rc2.h +68 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/rc4.h +47 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/rc5.h +79 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ripemd.h +59 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/rsa.h +615 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/rsaerr.h +107 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/safestack.h +297 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/seed.h +113 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/self_test.h +98 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/sha.h +139 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/srp.h +285 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/srtp.h +68 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ssl.h +2878 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ssl2.h +30 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ssl3.h +357 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/sslerr.h +379 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/sslerr_legacy.h +467 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/stack.h +90 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/store.h +377 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/storeerr.h +49 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/symhacks.h +39 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/thread.h +31 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/tls1.h +1220 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/trace.h +320 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ts.h +522 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/tserr.h +67 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/txt_db.h +63 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/types.h +245 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ui.h +407 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/uierr.h +38 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/whrlpool.h +62 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/x509.h +1304 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/x509_acert.h +263 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/x509_vfy.h +902 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/x509err.h +70 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/x509v3.h +1500 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/x509v3err.h +96 -0
- package/vendor/zsign/build/windows/vs2022/include/zlib/zconf.h +553 -0
- package/vendor/zsign/build/windows/vs2022/include/zlib/zlib.h +1938 -0
- package/vendor/zsign/build/windows/vs2022/lib/minizip/x64/mt/minizip.lib +0 -0
- package/vendor/zsign/build/windows/vs2022/lib/openssl/x64/mt/libcrypto.lib +0 -0
- package/vendor/zsign/build/windows/vs2022/lib/openssl/x64/mt/libssl.lib +0 -0
- package/vendor/zsign/build/windows/vs2022/lib/zlib/x64/mt/zlib.lib +0 -0
- package/vendor/zsign/build/windows/vs2022/zsign/src/common_win32.h +44 -0
- package/vendor/zsign/build/windows/vs2022/zsign/src/getopt.cpp +69 -0
- package/vendor/zsign/build/windows/vs2022/zsign/src/getopt.h +20 -0
- package/vendor/zsign/build/windows/vs2022/zsign/src/iconv.cpp +138 -0
- package/vendor/zsign/build/windows/vs2022/zsign/src/iconv.h +38 -0
- package/vendor/zsign/build/windows/vs2022/zsign/zsign.vcxproj +177 -0
- package/vendor/zsign/build/windows/vs2022/zsign/zsign.vcxproj.filters +120 -0
- package/vendor/zsign/build/windows/vs2022/zsign.sln +28 -0
- package/vendor/zsign/src/archo.cpp +742 -0
- package/vendor/zsign/src/archo.h +61 -0
- package/vendor/zsign/src/bundle.cpp +589 -0
- package/vendor/zsign/src/bundle.h +46 -0
- package/vendor/zsign/src/common/archive.cpp +246 -0
- package/vendor/zsign/src/common/archive.h +22 -0
- package/vendor/zsign/src/common/base64.cpp +166 -0
- package/vendor/zsign/src/common/base64.h +30 -0
- package/vendor/zsign/src/common/common.h +56 -0
- package/vendor/zsign/src/common/fs.cpp +573 -0
- package/vendor/zsign/src/common/fs.h +50 -0
- package/vendor/zsign/src/common/json.cpp +3380 -0
- package/vendor/zsign/src/common/json.h +530 -0
- package/vendor/zsign/src/common/log.cpp +145 -0
- package/vendor/zsign/src/common/log.h +37 -0
- package/vendor/zsign/src/common/mach-o.h +585 -0
- package/vendor/zsign/src/common/sha.cpp +133 -0
- package/vendor/zsign/src/common/sha.h +24 -0
- package/vendor/zsign/src/common/timer.cpp +28 -0
- package/vendor/zsign/src/common/timer.h +17 -0
- package/vendor/zsign/src/common/util.cpp +185 -0
- package/vendor/zsign/src/common/util.h +25 -0
- package/vendor/zsign/src/macho.cpp +273 -0
- package/vendor/zsign/src/macho.h +38 -0
- package/vendor/zsign/src/openssl.cpp +698 -0
- package/vendor/zsign/src/openssl.h +71 -0
- package/vendor/zsign/src/signing.cpp +745 -0
- package/vendor/zsign/src/signing.h +59 -0
- package/vendor/zsign/src/zsign.cpp +317 -0
- package/vendor/zsign/test/dylib/bin/demo1.dylib +0 -0
- package/vendor/zsign/test/dylib/bin/demo2.dylib +0 -0
- package/vendor/zsign/test/dylib/demo/Makefile +12 -0
- package/vendor/zsign/test/dylib/demo/control +9 -0
- package/vendor/zsign/test/dylib/demo/demo.m +21 -0
- package/vendor/zsign/test/linux/test.sh +19 -0
- package/vendor/zsign/test/macos/test.sh +19 -0
- package/vendor/zsign/test/windows/test.ps1 +17 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Generated by util/mkerr.pl DO NOT EDIT
|
|
3
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
6
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
7
|
+
* in the file LICENSE in the source distribution or at
|
|
8
|
+
* https://www.openssl.org/source/license.html
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
#ifndef OPENSSL_X509V3ERR_H
|
|
12
|
+
# define OPENSSL_X509V3ERR_H
|
|
13
|
+
# pragma once
|
|
14
|
+
|
|
15
|
+
# include <openssl/opensslconf.h>
|
|
16
|
+
# include <openssl/symhacks.h>
|
|
17
|
+
# include <openssl/cryptoerr_legacy.h>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/*
|
|
22
|
+
* X509V3 reason codes.
|
|
23
|
+
*/
|
|
24
|
+
# define X509V3_R_BAD_IP_ADDRESS 118
|
|
25
|
+
# define X509V3_R_BAD_OBJECT 119
|
|
26
|
+
# define X509V3_R_BAD_OPTION 170
|
|
27
|
+
# define X509V3_R_BAD_VALUE 171
|
|
28
|
+
# define X509V3_R_BN_DEC2BN_ERROR 100
|
|
29
|
+
# define X509V3_R_BN_TO_ASN1_INTEGER_ERROR 101
|
|
30
|
+
# define X509V3_R_DIRNAME_ERROR 149
|
|
31
|
+
# define X509V3_R_DISTPOINT_ALREADY_SET 160
|
|
32
|
+
# define X509V3_R_DUPLICATE_ZONE_ID 133
|
|
33
|
+
# define X509V3_R_EMPTY_KEY_USAGE 169
|
|
34
|
+
# define X509V3_R_ERROR_CONVERTING_ZONE 131
|
|
35
|
+
# define X509V3_R_ERROR_CREATING_EXTENSION 144
|
|
36
|
+
# define X509V3_R_ERROR_IN_EXTENSION 128
|
|
37
|
+
# define X509V3_R_EXPECTED_A_SECTION_NAME 137
|
|
38
|
+
# define X509V3_R_EXTENSION_EXISTS 145
|
|
39
|
+
# define X509V3_R_EXTENSION_NAME_ERROR 115
|
|
40
|
+
# define X509V3_R_EXTENSION_NOT_FOUND 102
|
|
41
|
+
# define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED 103
|
|
42
|
+
# define X509V3_R_EXTENSION_VALUE_ERROR 116
|
|
43
|
+
# define X509V3_R_ILLEGAL_EMPTY_EXTENSION 151
|
|
44
|
+
# define X509V3_R_INCORRECT_POLICY_SYNTAX_TAG 152
|
|
45
|
+
# define X509V3_R_INVALID_ASNUMBER 162
|
|
46
|
+
# define X509V3_R_INVALID_ASRANGE 163
|
|
47
|
+
# define X509V3_R_INVALID_BOOLEAN_STRING 104
|
|
48
|
+
# define X509V3_R_INVALID_CERTIFICATE 158
|
|
49
|
+
# define X509V3_R_INVALID_EMPTY_NAME 108
|
|
50
|
+
# define X509V3_R_INVALID_EXTENSION_STRING 105
|
|
51
|
+
# define X509V3_R_INVALID_INHERITANCE 165
|
|
52
|
+
# define X509V3_R_INVALID_IPADDRESS 166
|
|
53
|
+
# define X509V3_R_INVALID_MULTIPLE_RDNS 161
|
|
54
|
+
# define X509V3_R_INVALID_NAME 106
|
|
55
|
+
# define X509V3_R_INVALID_NULL_ARGUMENT 107
|
|
56
|
+
# define X509V3_R_INVALID_NULL_VALUE 109
|
|
57
|
+
# define X509V3_R_INVALID_NUMBER 140
|
|
58
|
+
# define X509V3_R_INVALID_NUMBERS 141
|
|
59
|
+
# define X509V3_R_INVALID_OBJECT_IDENTIFIER 110
|
|
60
|
+
# define X509V3_R_INVALID_OPTION 138
|
|
61
|
+
# define X509V3_R_INVALID_POLICY_IDENTIFIER 134
|
|
62
|
+
# define X509V3_R_INVALID_PROXY_POLICY_SETTING 153
|
|
63
|
+
# define X509V3_R_INVALID_PURPOSE 146
|
|
64
|
+
# define X509V3_R_INVALID_SAFI 164
|
|
65
|
+
# define X509V3_R_INVALID_SECTION 135
|
|
66
|
+
# define X509V3_R_INVALID_SYNTAX 143
|
|
67
|
+
# define X509V3_R_ISSUER_DECODE_ERROR 126
|
|
68
|
+
# define X509V3_R_MISSING_VALUE 124
|
|
69
|
+
# define X509V3_R_NEED_ORGANIZATION_AND_NUMBERS 142
|
|
70
|
+
# define X509V3_R_NEGATIVE_PATHLEN 168
|
|
71
|
+
# define X509V3_R_NO_CONFIG_DATABASE 136
|
|
72
|
+
# define X509V3_R_NO_ISSUER_CERTIFICATE 121
|
|
73
|
+
# define X509V3_R_NO_ISSUER_DETAILS 127
|
|
74
|
+
# define X509V3_R_NO_POLICY_IDENTIFIER 139
|
|
75
|
+
# define X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED 154
|
|
76
|
+
# define X509V3_R_NO_PUBLIC_KEY 114
|
|
77
|
+
# define X509V3_R_NO_SUBJECT_DETAILS 125
|
|
78
|
+
# define X509V3_R_OPERATION_NOT_DEFINED 148
|
|
79
|
+
# define X509V3_R_OTHERNAME_ERROR 147
|
|
80
|
+
# define X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED 155
|
|
81
|
+
# define X509V3_R_POLICY_PATH_LENGTH 156
|
|
82
|
+
# define X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED 157
|
|
83
|
+
# define X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY 159
|
|
84
|
+
# define X509V3_R_SECTION_NOT_FOUND 150
|
|
85
|
+
# define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS 122
|
|
86
|
+
# define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID 123
|
|
87
|
+
# define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT 111
|
|
88
|
+
# define X509V3_R_UNKNOWN_EXTENSION 129
|
|
89
|
+
# define X509V3_R_UNKNOWN_EXTENSION_NAME 130
|
|
90
|
+
# define X509V3_R_UNKNOWN_OPTION 120
|
|
91
|
+
# define X509V3_R_UNKNOWN_VALUE 172
|
|
92
|
+
# define X509V3_R_UNSUPPORTED_OPTION 117
|
|
93
|
+
# define X509V3_R_UNSUPPORTED_TYPE 167
|
|
94
|
+
# define X509V3_R_USER_TOO_LONG 132
|
|
95
|
+
|
|
96
|
+
#endif
|
|
@@ -0,0 +1,553 @@
|
|
|
1
|
+
/* zconf.h -- configuration of the zlib compression library
|
|
2
|
+
* Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
|
|
3
|
+
* For conditions of distribution and use, see copyright notice in zlib.h
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* @(#) $Id$ */
|
|
7
|
+
|
|
8
|
+
#ifndef ZCONF_H
|
|
9
|
+
#define ZCONF_H
|
|
10
|
+
/* #undef Z_PREFIX */
|
|
11
|
+
/* #undef Z_HAVE_UNISTD_H */
|
|
12
|
+
|
|
13
|
+
/*
|
|
14
|
+
* If you *really* need a unique prefix for all types and library functions,
|
|
15
|
+
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
|
|
16
|
+
* Even better than compiling with -DZ_PREFIX would be to use configure to set
|
|
17
|
+
* this permanently in zconf.h using "./configure --zprefix".
|
|
18
|
+
*/
|
|
19
|
+
#ifdef Z_PREFIX /* may be set to #if 1 by ./configure */
|
|
20
|
+
# define Z_PREFIX_SET
|
|
21
|
+
|
|
22
|
+
/* all linked symbols and init macros */
|
|
23
|
+
# define _dist_code z__dist_code
|
|
24
|
+
# define _length_code z__length_code
|
|
25
|
+
# define _tr_align z__tr_align
|
|
26
|
+
# define _tr_flush_bits z__tr_flush_bits
|
|
27
|
+
# define _tr_flush_block z__tr_flush_block
|
|
28
|
+
# define _tr_init z__tr_init
|
|
29
|
+
# define _tr_stored_block z__tr_stored_block
|
|
30
|
+
# define _tr_tally z__tr_tally
|
|
31
|
+
# define adler32 z_adler32
|
|
32
|
+
# define adler32_combine z_adler32_combine
|
|
33
|
+
# define adler32_combine64 z_adler32_combine64
|
|
34
|
+
# define adler32_z z_adler32_z
|
|
35
|
+
# ifndef Z_SOLO
|
|
36
|
+
# define compress z_compress
|
|
37
|
+
# define compress2 z_compress2
|
|
38
|
+
# define compressBound z_compressBound
|
|
39
|
+
# endif
|
|
40
|
+
# define crc32 z_crc32
|
|
41
|
+
# define crc32_combine z_crc32_combine
|
|
42
|
+
# define crc32_combine64 z_crc32_combine64
|
|
43
|
+
# define crc32_combine_gen z_crc32_combine_gen
|
|
44
|
+
# define crc32_combine_gen64 z_crc32_combine_gen64
|
|
45
|
+
# define crc32_combine_op z_crc32_combine_op
|
|
46
|
+
# define crc32_z z_crc32_z
|
|
47
|
+
# define deflate z_deflate
|
|
48
|
+
# define deflateBound z_deflateBound
|
|
49
|
+
# define deflateCopy z_deflateCopy
|
|
50
|
+
# define deflateEnd z_deflateEnd
|
|
51
|
+
# define deflateGetDictionary z_deflateGetDictionary
|
|
52
|
+
# define deflateInit z_deflateInit
|
|
53
|
+
# define deflateInit2 z_deflateInit2
|
|
54
|
+
# define deflateInit2_ z_deflateInit2_
|
|
55
|
+
# define deflateInit_ z_deflateInit_
|
|
56
|
+
# define deflateParams z_deflateParams
|
|
57
|
+
# define deflatePending z_deflatePending
|
|
58
|
+
# define deflatePrime z_deflatePrime
|
|
59
|
+
# define deflateReset z_deflateReset
|
|
60
|
+
# define deflateResetKeep z_deflateResetKeep
|
|
61
|
+
# define deflateSetDictionary z_deflateSetDictionary
|
|
62
|
+
# define deflateSetHeader z_deflateSetHeader
|
|
63
|
+
# define deflateTune z_deflateTune
|
|
64
|
+
# define deflate_copyright z_deflate_copyright
|
|
65
|
+
# define get_crc_table z_get_crc_table
|
|
66
|
+
# ifndef Z_SOLO
|
|
67
|
+
# define gz_error z_gz_error
|
|
68
|
+
# define gz_intmax z_gz_intmax
|
|
69
|
+
# define gz_strwinerror z_gz_strwinerror
|
|
70
|
+
# define gzbuffer z_gzbuffer
|
|
71
|
+
# define gzclearerr z_gzclearerr
|
|
72
|
+
# define gzclose z_gzclose
|
|
73
|
+
# define gzclose_r z_gzclose_r
|
|
74
|
+
# define gzclose_w z_gzclose_w
|
|
75
|
+
# define gzdirect z_gzdirect
|
|
76
|
+
# define gzdopen z_gzdopen
|
|
77
|
+
# define gzeof z_gzeof
|
|
78
|
+
# define gzerror z_gzerror
|
|
79
|
+
# define gzflush z_gzflush
|
|
80
|
+
# define gzfread z_gzfread
|
|
81
|
+
# define gzfwrite z_gzfwrite
|
|
82
|
+
# define gzgetc z_gzgetc
|
|
83
|
+
# define gzgetc_ z_gzgetc_
|
|
84
|
+
# define gzgets z_gzgets
|
|
85
|
+
# define gzoffset z_gzoffset
|
|
86
|
+
# define gzoffset64 z_gzoffset64
|
|
87
|
+
# define gzopen z_gzopen
|
|
88
|
+
# define gzopen64 z_gzopen64
|
|
89
|
+
# ifdef _WIN32
|
|
90
|
+
# define gzopen_w z_gzopen_w
|
|
91
|
+
# endif
|
|
92
|
+
# define gzprintf z_gzprintf
|
|
93
|
+
# define gzputc z_gzputc
|
|
94
|
+
# define gzputs z_gzputs
|
|
95
|
+
# define gzread z_gzread
|
|
96
|
+
# define gzrewind z_gzrewind
|
|
97
|
+
# define gzseek z_gzseek
|
|
98
|
+
# define gzseek64 z_gzseek64
|
|
99
|
+
# define gzsetparams z_gzsetparams
|
|
100
|
+
# define gztell z_gztell
|
|
101
|
+
# define gztell64 z_gztell64
|
|
102
|
+
# define gzungetc z_gzungetc
|
|
103
|
+
# define gzvprintf z_gzvprintf
|
|
104
|
+
# define gzwrite z_gzwrite
|
|
105
|
+
# endif
|
|
106
|
+
# define inflate z_inflate
|
|
107
|
+
# define inflateBack z_inflateBack
|
|
108
|
+
# define inflateBackEnd z_inflateBackEnd
|
|
109
|
+
# define inflateBackInit z_inflateBackInit
|
|
110
|
+
# define inflateBackInit_ z_inflateBackInit_
|
|
111
|
+
# define inflateCodesUsed z_inflateCodesUsed
|
|
112
|
+
# define inflateCopy z_inflateCopy
|
|
113
|
+
# define inflateEnd z_inflateEnd
|
|
114
|
+
# define inflateGetDictionary z_inflateGetDictionary
|
|
115
|
+
# define inflateGetHeader z_inflateGetHeader
|
|
116
|
+
# define inflateInit z_inflateInit
|
|
117
|
+
# define inflateInit2 z_inflateInit2
|
|
118
|
+
# define inflateInit2_ z_inflateInit2_
|
|
119
|
+
# define inflateInit_ z_inflateInit_
|
|
120
|
+
# define inflateMark z_inflateMark
|
|
121
|
+
# define inflatePrime z_inflatePrime
|
|
122
|
+
# define inflateReset z_inflateReset
|
|
123
|
+
# define inflateReset2 z_inflateReset2
|
|
124
|
+
# define inflateResetKeep z_inflateResetKeep
|
|
125
|
+
# define inflateSetDictionary z_inflateSetDictionary
|
|
126
|
+
# define inflateSync z_inflateSync
|
|
127
|
+
# define inflateSyncPoint z_inflateSyncPoint
|
|
128
|
+
# define inflateUndermine z_inflateUndermine
|
|
129
|
+
# define inflateValidate z_inflateValidate
|
|
130
|
+
# define inflate_copyright z_inflate_copyright
|
|
131
|
+
# define inflate_fast z_inflate_fast
|
|
132
|
+
# define inflate_table z_inflate_table
|
|
133
|
+
# ifndef Z_SOLO
|
|
134
|
+
# define uncompress z_uncompress
|
|
135
|
+
# define uncompress2 z_uncompress2
|
|
136
|
+
# endif
|
|
137
|
+
# define zError z_zError
|
|
138
|
+
# ifndef Z_SOLO
|
|
139
|
+
# define zcalloc z_zcalloc
|
|
140
|
+
# define zcfree z_zcfree
|
|
141
|
+
# endif
|
|
142
|
+
# define zlibCompileFlags z_zlibCompileFlags
|
|
143
|
+
# define zlibVersion z_zlibVersion
|
|
144
|
+
|
|
145
|
+
/* all zlib typedefs in zlib.h and zconf.h */
|
|
146
|
+
# define Byte z_Byte
|
|
147
|
+
# define Bytef z_Bytef
|
|
148
|
+
# define alloc_func z_alloc_func
|
|
149
|
+
# define charf z_charf
|
|
150
|
+
# define free_func z_free_func
|
|
151
|
+
# ifndef Z_SOLO
|
|
152
|
+
# define gzFile z_gzFile
|
|
153
|
+
# endif
|
|
154
|
+
# define gz_header z_gz_header
|
|
155
|
+
# define gz_headerp z_gz_headerp
|
|
156
|
+
# define in_func z_in_func
|
|
157
|
+
# define intf z_intf
|
|
158
|
+
# define out_func z_out_func
|
|
159
|
+
# define uInt z_uInt
|
|
160
|
+
# define uIntf z_uIntf
|
|
161
|
+
# define uLong z_uLong
|
|
162
|
+
# define uLongf z_uLongf
|
|
163
|
+
# define voidp z_voidp
|
|
164
|
+
# define voidpc z_voidpc
|
|
165
|
+
# define voidpf z_voidpf
|
|
166
|
+
|
|
167
|
+
/* all zlib structs in zlib.h and zconf.h */
|
|
168
|
+
# define gz_header_s z_gz_header_s
|
|
169
|
+
# define internal_state z_internal_state
|
|
170
|
+
|
|
171
|
+
#endif
|
|
172
|
+
|
|
173
|
+
#if defined(__MSDOS__) && !defined(MSDOS)
|
|
174
|
+
# define MSDOS
|
|
175
|
+
#endif
|
|
176
|
+
#if (defined(OS_2) || defined(__OS2__)) && !defined(OS2)
|
|
177
|
+
# define OS2
|
|
178
|
+
#endif
|
|
179
|
+
#if defined(_WINDOWS) && !defined(WINDOWS)
|
|
180
|
+
# define WINDOWS
|
|
181
|
+
#endif
|
|
182
|
+
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
|
|
183
|
+
# ifndef WIN32
|
|
184
|
+
# define WIN32
|
|
185
|
+
# endif
|
|
186
|
+
#endif
|
|
187
|
+
#if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32)
|
|
188
|
+
# if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__)
|
|
189
|
+
# ifndef SYS16BIT
|
|
190
|
+
# define SYS16BIT
|
|
191
|
+
# endif
|
|
192
|
+
# endif
|
|
193
|
+
#endif
|
|
194
|
+
|
|
195
|
+
/*
|
|
196
|
+
* Compile with -DMAXSEG_64K if the alloc function cannot allocate more
|
|
197
|
+
* than 64k bytes at a time (needed on systems with 16-bit int).
|
|
198
|
+
*/
|
|
199
|
+
#ifdef SYS16BIT
|
|
200
|
+
# define MAXSEG_64K
|
|
201
|
+
#endif
|
|
202
|
+
#ifdef MSDOS
|
|
203
|
+
# define UNALIGNED_OK
|
|
204
|
+
#endif
|
|
205
|
+
|
|
206
|
+
#ifdef __STDC_VERSION__
|
|
207
|
+
# ifndef STDC
|
|
208
|
+
# define STDC
|
|
209
|
+
# endif
|
|
210
|
+
# if __STDC_VERSION__ >= 199901L
|
|
211
|
+
# ifndef STDC99
|
|
212
|
+
# define STDC99
|
|
213
|
+
# endif
|
|
214
|
+
# endif
|
|
215
|
+
#endif
|
|
216
|
+
#if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus))
|
|
217
|
+
# define STDC
|
|
218
|
+
#endif
|
|
219
|
+
#if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__))
|
|
220
|
+
# define STDC
|
|
221
|
+
#endif
|
|
222
|
+
#if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32))
|
|
223
|
+
# define STDC
|
|
224
|
+
#endif
|
|
225
|
+
#if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__))
|
|
226
|
+
# define STDC
|
|
227
|
+
#endif
|
|
228
|
+
|
|
229
|
+
#if defined(__OS400__) && !defined(STDC) /* iSeries (formerly AS/400). */
|
|
230
|
+
# define STDC
|
|
231
|
+
#endif
|
|
232
|
+
|
|
233
|
+
#ifndef STDC
|
|
234
|
+
# ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */
|
|
235
|
+
# define const /* note: need a more gentle solution here */
|
|
236
|
+
# endif
|
|
237
|
+
#endif
|
|
238
|
+
|
|
239
|
+
#if defined(ZLIB_CONST) && !defined(z_const)
|
|
240
|
+
# define z_const const
|
|
241
|
+
#else
|
|
242
|
+
# define z_const
|
|
243
|
+
#endif
|
|
244
|
+
|
|
245
|
+
#ifdef Z_SOLO
|
|
246
|
+
# ifdef _WIN64
|
|
247
|
+
typedef unsigned long long z_size_t;
|
|
248
|
+
# else
|
|
249
|
+
typedef unsigned long z_size_t;
|
|
250
|
+
# endif
|
|
251
|
+
#else
|
|
252
|
+
# define z_longlong long long
|
|
253
|
+
# if defined(NO_SIZE_T)
|
|
254
|
+
typedef unsigned NO_SIZE_T z_size_t;
|
|
255
|
+
# elif defined(STDC)
|
|
256
|
+
# include <stddef.h>
|
|
257
|
+
typedef size_t z_size_t;
|
|
258
|
+
# else
|
|
259
|
+
typedef unsigned long z_size_t;
|
|
260
|
+
# endif
|
|
261
|
+
# undef z_longlong
|
|
262
|
+
#endif
|
|
263
|
+
|
|
264
|
+
/* Maximum value for memLevel in deflateInit2 */
|
|
265
|
+
#ifndef MAX_MEM_LEVEL
|
|
266
|
+
# ifdef MAXSEG_64K
|
|
267
|
+
# define MAX_MEM_LEVEL 8
|
|
268
|
+
# else
|
|
269
|
+
# define MAX_MEM_LEVEL 9
|
|
270
|
+
# endif
|
|
271
|
+
#endif
|
|
272
|
+
|
|
273
|
+
/* Maximum value for windowBits in deflateInit2 and inflateInit2.
|
|
274
|
+
* WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
|
|
275
|
+
* created by gzip. (Files created by minigzip can still be extracted by
|
|
276
|
+
* gzip.)
|
|
277
|
+
*/
|
|
278
|
+
#ifndef MAX_WBITS
|
|
279
|
+
# define MAX_WBITS 15 /* 32K LZ77 window */
|
|
280
|
+
#endif
|
|
281
|
+
|
|
282
|
+
/* The memory requirements for deflate are (in bytes):
|
|
283
|
+
(1 << (windowBits+2)) + (1 << (memLevel+9))
|
|
284
|
+
that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
|
|
285
|
+
plus a few kilobytes for small objects. For example, if you want to reduce
|
|
286
|
+
the default memory requirements from 256K to 128K, compile with
|
|
287
|
+
make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
|
|
288
|
+
Of course this will generally degrade compression (there's no free lunch).
|
|
289
|
+
|
|
290
|
+
The memory requirements for inflate are (in bytes) 1 << windowBits
|
|
291
|
+
that is, 32K for windowBits=15 (default value) plus about 7 kilobytes
|
|
292
|
+
for small objects.
|
|
293
|
+
*/
|
|
294
|
+
|
|
295
|
+
/* Type declarations */
|
|
296
|
+
|
|
297
|
+
#ifndef OF /* function prototypes */
|
|
298
|
+
# ifdef STDC
|
|
299
|
+
# define OF(args) args
|
|
300
|
+
# else
|
|
301
|
+
# define OF(args) ()
|
|
302
|
+
# endif
|
|
303
|
+
#endif
|
|
304
|
+
|
|
305
|
+
/* The following definitions for FAR are needed only for MSDOS mixed
|
|
306
|
+
* model programming (small or medium model with some far allocations).
|
|
307
|
+
* This was tested only with MSC; for other MSDOS compilers you may have
|
|
308
|
+
* to define NO_MEMCPY in zutil.h. If you don't need the mixed model,
|
|
309
|
+
* just define FAR to be empty.
|
|
310
|
+
*/
|
|
311
|
+
#ifdef SYS16BIT
|
|
312
|
+
# if defined(M_I86SM) || defined(M_I86MM)
|
|
313
|
+
/* MSC small or medium model */
|
|
314
|
+
# define SMALL_MEDIUM
|
|
315
|
+
# ifdef _MSC_VER
|
|
316
|
+
# define FAR _far
|
|
317
|
+
# else
|
|
318
|
+
# define FAR far
|
|
319
|
+
# endif
|
|
320
|
+
# endif
|
|
321
|
+
# if (defined(__SMALL__) || defined(__MEDIUM__))
|
|
322
|
+
/* Turbo C small or medium model */
|
|
323
|
+
# define SMALL_MEDIUM
|
|
324
|
+
# ifdef __BORLANDC__
|
|
325
|
+
# define FAR _far
|
|
326
|
+
# else
|
|
327
|
+
# define FAR far
|
|
328
|
+
# endif
|
|
329
|
+
# endif
|
|
330
|
+
#endif
|
|
331
|
+
|
|
332
|
+
#if defined(WINDOWS) || defined(WIN32)
|
|
333
|
+
/* If building or using zlib as a DLL, define ZLIB_DLL.
|
|
334
|
+
* This is not mandatory, but it offers a little performance increase.
|
|
335
|
+
*/
|
|
336
|
+
# if 1
|
|
337
|
+
# if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500))
|
|
338
|
+
# ifdef ZLIB_INTERNAL
|
|
339
|
+
# define ZEXTERN extern __declspec(dllexport)
|
|
340
|
+
# else
|
|
341
|
+
# define ZEXTERN extern __declspec(dllimport)
|
|
342
|
+
# endif
|
|
343
|
+
# endif
|
|
344
|
+
# endif /* ZLIB_DLL */
|
|
345
|
+
/* If building or using zlib with the WINAPI/WINAPIV calling convention,
|
|
346
|
+
* define ZLIB_WINAPI.
|
|
347
|
+
* Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
|
|
348
|
+
*/
|
|
349
|
+
# ifdef ZLIB_WINAPI
|
|
350
|
+
# ifdef FAR
|
|
351
|
+
# undef FAR
|
|
352
|
+
# endif
|
|
353
|
+
# ifndef WIN32_LEAN_AND_MEAN
|
|
354
|
+
# define WIN32_LEAN_AND_MEAN
|
|
355
|
+
# endif
|
|
356
|
+
# include <windows.h>
|
|
357
|
+
/* No need for _export, use ZLIB.DEF instead. */
|
|
358
|
+
/* For complete Windows compatibility, use WINAPI, not __stdcall. */
|
|
359
|
+
# define ZEXPORT WINAPI
|
|
360
|
+
# ifdef WIN32
|
|
361
|
+
# define ZEXPORTVA WINAPIV
|
|
362
|
+
# else
|
|
363
|
+
# define ZEXPORTVA FAR CDECL
|
|
364
|
+
# endif
|
|
365
|
+
# endif
|
|
366
|
+
#endif
|
|
367
|
+
|
|
368
|
+
#if defined (__BEOS__)
|
|
369
|
+
# if 1
|
|
370
|
+
# ifdef ZLIB_INTERNAL
|
|
371
|
+
# define ZEXPORT __declspec(dllexport)
|
|
372
|
+
# define ZEXPORTVA __declspec(dllexport)
|
|
373
|
+
# else
|
|
374
|
+
# define ZEXPORT __declspec(dllimport)
|
|
375
|
+
# define ZEXPORTVA __declspec(dllimport)
|
|
376
|
+
# endif
|
|
377
|
+
# endif
|
|
378
|
+
#endif
|
|
379
|
+
|
|
380
|
+
#ifndef ZEXTERN
|
|
381
|
+
# define ZEXTERN extern
|
|
382
|
+
#endif
|
|
383
|
+
#ifndef ZEXPORT
|
|
384
|
+
# define ZEXPORT
|
|
385
|
+
#endif
|
|
386
|
+
#ifndef ZEXPORTVA
|
|
387
|
+
# define ZEXPORTVA
|
|
388
|
+
#endif
|
|
389
|
+
|
|
390
|
+
#ifndef FAR
|
|
391
|
+
# define FAR
|
|
392
|
+
#endif
|
|
393
|
+
|
|
394
|
+
#if !defined(__MACTYPES__)
|
|
395
|
+
typedef unsigned char Byte; /* 8 bits */
|
|
396
|
+
#endif
|
|
397
|
+
typedef unsigned int uInt; /* 16 bits or more */
|
|
398
|
+
typedef unsigned long uLong; /* 32 bits or more */
|
|
399
|
+
|
|
400
|
+
#ifdef SMALL_MEDIUM
|
|
401
|
+
/* Borland C/C++ and some old MSC versions ignore FAR inside typedef */
|
|
402
|
+
# define Bytef Byte FAR
|
|
403
|
+
#else
|
|
404
|
+
typedef Byte FAR Bytef;
|
|
405
|
+
#endif
|
|
406
|
+
typedef char FAR charf;
|
|
407
|
+
typedef int FAR intf;
|
|
408
|
+
typedef uInt FAR uIntf;
|
|
409
|
+
typedef uLong FAR uLongf;
|
|
410
|
+
|
|
411
|
+
#ifdef STDC
|
|
412
|
+
typedef void const *voidpc;
|
|
413
|
+
typedef void FAR *voidpf;
|
|
414
|
+
typedef void *voidp;
|
|
415
|
+
#else
|
|
416
|
+
typedef Byte const *voidpc;
|
|
417
|
+
typedef Byte FAR *voidpf;
|
|
418
|
+
typedef Byte *voidp;
|
|
419
|
+
#endif
|
|
420
|
+
|
|
421
|
+
#if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
|
|
422
|
+
# include <limits.h>
|
|
423
|
+
# if (UINT_MAX == 0xffffffffUL)
|
|
424
|
+
# define Z_U4 unsigned
|
|
425
|
+
# elif (ULONG_MAX == 0xffffffffUL)
|
|
426
|
+
# define Z_U4 unsigned long
|
|
427
|
+
# elif (USHRT_MAX == 0xffffffffUL)
|
|
428
|
+
# define Z_U4 unsigned short
|
|
429
|
+
# endif
|
|
430
|
+
#endif
|
|
431
|
+
|
|
432
|
+
#ifdef Z_U4
|
|
433
|
+
typedef Z_U4 z_crc_t;
|
|
434
|
+
#else
|
|
435
|
+
typedef unsigned long z_crc_t;
|
|
436
|
+
#endif
|
|
437
|
+
|
|
438
|
+
#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
|
|
439
|
+
# if ~(~HAVE_UNISTD_H + 0) == 0 && ~(~HAVE_UNISTD_H + 1) == 1
|
|
440
|
+
# define Z_HAVE_UNISTD_H
|
|
441
|
+
# elif HAVE_UNISTD_H != 0
|
|
442
|
+
# define Z_HAVE_UNISTD_H
|
|
443
|
+
# endif
|
|
444
|
+
#endif
|
|
445
|
+
|
|
446
|
+
#ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */
|
|
447
|
+
# if ~(~HAVE_STDARG_H + 0) == 0 && ~(~HAVE_STDARG_H + 1) == 1
|
|
448
|
+
# define Z_HAVE_STDARG_H
|
|
449
|
+
# elif HAVE_STDARG_H != 0
|
|
450
|
+
# define Z_HAVE_STDARG_H
|
|
451
|
+
# endif
|
|
452
|
+
#endif
|
|
453
|
+
|
|
454
|
+
#ifdef STDC
|
|
455
|
+
# ifndef Z_SOLO
|
|
456
|
+
# include <sys/types.h> /* for off_t */
|
|
457
|
+
# endif
|
|
458
|
+
#endif
|
|
459
|
+
|
|
460
|
+
#if defined(STDC) || defined(Z_HAVE_STDARG_H)
|
|
461
|
+
# ifndef Z_SOLO
|
|
462
|
+
# include <stdarg.h> /* for va_list */
|
|
463
|
+
# endif
|
|
464
|
+
#endif
|
|
465
|
+
|
|
466
|
+
#ifdef _WIN32
|
|
467
|
+
# ifndef Z_SOLO
|
|
468
|
+
# include <stddef.h> /* for wchar_t */
|
|
469
|
+
# endif
|
|
470
|
+
#endif
|
|
471
|
+
|
|
472
|
+
/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
|
|
473
|
+
* "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
|
|
474
|
+
* though the former does not conform to the LFS document), but considering
|
|
475
|
+
* both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
|
|
476
|
+
* equivalently requesting no 64-bit operations
|
|
477
|
+
*/
|
|
478
|
+
#if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1
|
|
479
|
+
# undef _LARGEFILE64_SOURCE
|
|
480
|
+
#endif
|
|
481
|
+
|
|
482
|
+
#ifndef Z_HAVE_UNISTD_H
|
|
483
|
+
# ifdef __WATCOMC__
|
|
484
|
+
# define Z_HAVE_UNISTD_H
|
|
485
|
+
# endif
|
|
486
|
+
#endif
|
|
487
|
+
#ifndef Z_HAVE_UNISTD_H
|
|
488
|
+
# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
|
|
489
|
+
# define Z_HAVE_UNISTD_H
|
|
490
|
+
# endif
|
|
491
|
+
#endif
|
|
492
|
+
#ifndef Z_SOLO
|
|
493
|
+
# if defined(Z_HAVE_UNISTD_H)
|
|
494
|
+
# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
|
|
495
|
+
# ifdef VMS
|
|
496
|
+
# include <unixio.h> /* for off_t */
|
|
497
|
+
# endif
|
|
498
|
+
# ifndef z_off_t
|
|
499
|
+
# define z_off_t off_t
|
|
500
|
+
# endif
|
|
501
|
+
# endif
|
|
502
|
+
#endif
|
|
503
|
+
|
|
504
|
+
#if defined(_LFS64_LARGEFILE) && _LFS64_LARGEFILE-0
|
|
505
|
+
# define Z_LFS64
|
|
506
|
+
#endif
|
|
507
|
+
|
|
508
|
+
#if defined(_LARGEFILE64_SOURCE) && defined(Z_LFS64)
|
|
509
|
+
# define Z_LARGE64
|
|
510
|
+
#endif
|
|
511
|
+
|
|
512
|
+
#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS-0 == 64 && defined(Z_LFS64)
|
|
513
|
+
# define Z_WANT64
|
|
514
|
+
#endif
|
|
515
|
+
|
|
516
|
+
#if !defined(SEEK_SET) && !defined(Z_SOLO)
|
|
517
|
+
# define SEEK_SET 0 /* Seek from beginning of file. */
|
|
518
|
+
# define SEEK_CUR 1 /* Seek from current position. */
|
|
519
|
+
# define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
|
|
520
|
+
#endif
|
|
521
|
+
|
|
522
|
+
#ifndef z_off_t
|
|
523
|
+
# define z_off_t long
|
|
524
|
+
#endif
|
|
525
|
+
|
|
526
|
+
#if !defined(_WIN32) && defined(Z_LARGE64)
|
|
527
|
+
# define z_off64_t off64_t
|
|
528
|
+
#else
|
|
529
|
+
# if defined(_WIN32) && !defined(__GNUC__)
|
|
530
|
+
# define z_off64_t __int64
|
|
531
|
+
# else
|
|
532
|
+
# define z_off64_t z_off_t
|
|
533
|
+
# endif
|
|
534
|
+
#endif
|
|
535
|
+
|
|
536
|
+
/* MVS linker does not support external names larger than 8 bytes */
|
|
537
|
+
#if defined(__MVS__)
|
|
538
|
+
#pragma map(deflateInit_,"DEIN")
|
|
539
|
+
#pragma map(deflateInit2_,"DEIN2")
|
|
540
|
+
#pragma map(deflateEnd,"DEEND")
|
|
541
|
+
#pragma map(deflateBound,"DEBND")
|
|
542
|
+
#pragma map(inflateInit_,"ININ")
|
|
543
|
+
#pragma map(inflateInit2_,"ININ2")
|
|
544
|
+
#pragma map(inflateEnd,"INEND")
|
|
545
|
+
#pragma map(inflateSync,"INSY")
|
|
546
|
+
#pragma map(inflateSetDictionary,"INSEDI")
|
|
547
|
+
#pragma map(compressBound,"CMBND")
|
|
548
|
+
#pragma map(inflate_table,"INTABL")
|
|
549
|
+
#pragma map(inflate_fast,"INFA")
|
|
550
|
+
#pragma map(inflate_copyright,"INCOPY")
|
|
551
|
+
#endif
|
|
552
|
+
|
|
553
|
+
#endif /* ZCONF_H */
|