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,109 @@
|
|
|
1
|
+
# Makefile for zlib
|
|
2
|
+
# Borland C++ for Win32
|
|
3
|
+
#
|
|
4
|
+
# Usage:
|
|
5
|
+
# make -f win32/Makefile.bor
|
|
6
|
+
|
|
7
|
+
# ------------ Borland C++ ------------
|
|
8
|
+
|
|
9
|
+
# Optional nonstandard preprocessor flags (e.g. -DMAX_MEM_LEVEL=7)
|
|
10
|
+
# should be added to the environment via "set LOCAL_ZLIB=-DFOO" or
|
|
11
|
+
# added to the declaration of LOC here:
|
|
12
|
+
LOC = $(LOCAL_ZLIB)
|
|
13
|
+
|
|
14
|
+
CC = bcc32
|
|
15
|
+
AS = bcc32
|
|
16
|
+
LD = bcc32
|
|
17
|
+
AR = tlib
|
|
18
|
+
CFLAGS = -a -d -k- -O2 $(LOC)
|
|
19
|
+
ASFLAGS = $(LOC)
|
|
20
|
+
LDFLAGS = $(LOC)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# variables
|
|
24
|
+
ZLIB_LIB = zlib.lib
|
|
25
|
+
|
|
26
|
+
OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
|
|
27
|
+
OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj
|
|
28
|
+
#OBJA =
|
|
29
|
+
OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
|
|
30
|
+
OBJP2 = +gzwrite.obj+infback.obj+inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+zutil.obj
|
|
31
|
+
#OBJPA=
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# targets
|
|
35
|
+
all: $(ZLIB_LIB) example.exe minigzip.exe
|
|
36
|
+
|
|
37
|
+
.c.obj:
|
|
38
|
+
$(CC) -c $(CFLAGS) $<
|
|
39
|
+
|
|
40
|
+
.asm.obj:
|
|
41
|
+
$(AS) -c $(ASFLAGS) $<
|
|
42
|
+
|
|
43
|
+
adler32.obj: adler32.c zlib.h zconf.h
|
|
44
|
+
|
|
45
|
+
compress.obj: compress.c zlib.h zconf.h
|
|
46
|
+
|
|
47
|
+
crc32.obj: crc32.c zlib.h zconf.h crc32.h
|
|
48
|
+
|
|
49
|
+
deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
|
|
50
|
+
|
|
51
|
+
gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h
|
|
52
|
+
|
|
53
|
+
gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h
|
|
54
|
+
|
|
55
|
+
gzread.obj: gzread.c zlib.h zconf.h gzguts.h
|
|
56
|
+
|
|
57
|
+
gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h
|
|
58
|
+
|
|
59
|
+
infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
|
|
60
|
+
inffast.h inffixed.h
|
|
61
|
+
|
|
62
|
+
inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
|
|
63
|
+
inffast.h
|
|
64
|
+
|
|
65
|
+
inflate.obj: inflate.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
|
|
66
|
+
inffast.h inffixed.h
|
|
67
|
+
|
|
68
|
+
inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h
|
|
69
|
+
|
|
70
|
+
trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h
|
|
71
|
+
|
|
72
|
+
uncompr.obj: uncompr.c zlib.h zconf.h
|
|
73
|
+
|
|
74
|
+
zutil.obj: zutil.c zutil.h zlib.h zconf.h
|
|
75
|
+
|
|
76
|
+
example.obj: test/example.c zlib.h zconf.h
|
|
77
|
+
|
|
78
|
+
minigzip.obj: test/minigzip.c zlib.h zconf.h
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
# For the sake of the old Borland make,
|
|
82
|
+
# the command line is cut to fit in the MS-DOS 128 byte limit:
|
|
83
|
+
$(ZLIB_LIB): $(OBJ1) $(OBJ2) $(OBJA)
|
|
84
|
+
-del $(ZLIB_LIB)
|
|
85
|
+
$(AR) $(ZLIB_LIB) $(OBJP1)
|
|
86
|
+
$(AR) $(ZLIB_LIB) $(OBJP2)
|
|
87
|
+
$(AR) $(ZLIB_LIB) $(OBJPA)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
# testing
|
|
91
|
+
test: example.exe minigzip.exe
|
|
92
|
+
example
|
|
93
|
+
echo hello world | minigzip | minigzip -d
|
|
94
|
+
|
|
95
|
+
example.exe: example.obj $(ZLIB_LIB)
|
|
96
|
+
$(LD) $(LDFLAGS) example.obj $(ZLIB_LIB)
|
|
97
|
+
|
|
98
|
+
minigzip.exe: minigzip.obj $(ZLIB_LIB)
|
|
99
|
+
$(LD) $(LDFLAGS) minigzip.obj $(ZLIB_LIB)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
# cleanup
|
|
103
|
+
clean:
|
|
104
|
+
-del $(ZLIB_LIB)
|
|
105
|
+
-del *.obj
|
|
106
|
+
-del *.exe
|
|
107
|
+
-del *.tds
|
|
108
|
+
-del zlib.bak
|
|
109
|
+
-del foo.gz
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# Makefile for zlib, derived from Makefile.dj2.
|
|
2
|
+
# Modified for mingw32 by C. Spieler, 6/16/98.
|
|
3
|
+
# Updated for zlib 1.2.x by Christian Spieler and Cosmin Truta, Mar-2003.
|
|
4
|
+
# Last updated: Mar 2012.
|
|
5
|
+
# Tested under Cygwin and MinGW.
|
|
6
|
+
|
|
7
|
+
# Copyright (C) 1995-2003 Jean-loup Gailly.
|
|
8
|
+
# For conditions of distribution and use, see copyright notice in zlib.h
|
|
9
|
+
|
|
10
|
+
# To compile, or to compile and test, type from the top level zlib directory:
|
|
11
|
+
#
|
|
12
|
+
# make -fwin32/Makefile.gcc; make test testdll -fwin32/Makefile.gcc
|
|
13
|
+
#
|
|
14
|
+
# To install libz.a, zconf.h and zlib.h in the system directories, type:
|
|
15
|
+
#
|
|
16
|
+
# make install -fwin32/Makefile.gcc
|
|
17
|
+
#
|
|
18
|
+
# BINARY_PATH, INCLUDE_PATH and LIBRARY_PATH must be set.
|
|
19
|
+
#
|
|
20
|
+
# To install the shared lib, append SHARED_MODE=1 to the make command :
|
|
21
|
+
#
|
|
22
|
+
# make install -fwin32/Makefile.gcc SHARED_MODE=1
|
|
23
|
+
|
|
24
|
+
# Note:
|
|
25
|
+
# If the platform is *not* MinGW (e.g. it is Cygwin or UWIN),
|
|
26
|
+
# the DLL name should be changed from "zlib1.dll".
|
|
27
|
+
|
|
28
|
+
STATICLIB = libz.a
|
|
29
|
+
SHAREDLIB = zlib1.dll
|
|
30
|
+
IMPLIB = libz.dll.a
|
|
31
|
+
|
|
32
|
+
#
|
|
33
|
+
# Set to 1 if shared object needs to be installed
|
|
34
|
+
#
|
|
35
|
+
SHARED_MODE=0
|
|
36
|
+
|
|
37
|
+
#LOC = -DZLIB_DEBUG -g
|
|
38
|
+
|
|
39
|
+
PREFIX =
|
|
40
|
+
CC = $(PREFIX)gcc
|
|
41
|
+
CFLAGS = $(LOC) -O3 -Wall
|
|
42
|
+
|
|
43
|
+
AS = $(CC)
|
|
44
|
+
ASFLAGS = $(LOC) -Wall
|
|
45
|
+
|
|
46
|
+
LD = $(CC)
|
|
47
|
+
LDFLAGS = $(LOC)
|
|
48
|
+
|
|
49
|
+
AR = $(PREFIX)ar
|
|
50
|
+
ARFLAGS = rcs
|
|
51
|
+
|
|
52
|
+
RC = $(PREFIX)windres
|
|
53
|
+
RCFLAGS =
|
|
54
|
+
|
|
55
|
+
STRIP = $(PREFIX)strip
|
|
56
|
+
|
|
57
|
+
CP = cp -fp
|
|
58
|
+
# If GNU install is available, replace $(CP) with install.
|
|
59
|
+
INSTALL = $(CP)
|
|
60
|
+
RM = rm -f
|
|
61
|
+
|
|
62
|
+
prefix ?= /usr/local
|
|
63
|
+
exec_prefix = $(prefix)
|
|
64
|
+
|
|
65
|
+
OBJS = adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o gzread.o \
|
|
66
|
+
gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o
|
|
67
|
+
OBJA =
|
|
68
|
+
|
|
69
|
+
all: $(STATICLIB) $(SHAREDLIB) $(IMPLIB) example.exe minigzip.exe example_d.exe minigzip_d.exe
|
|
70
|
+
|
|
71
|
+
test: example.exe minigzip.exe
|
|
72
|
+
./example
|
|
73
|
+
echo hello world | ./minigzip | ./minigzip -d
|
|
74
|
+
|
|
75
|
+
testdll: example_d.exe minigzip_d.exe
|
|
76
|
+
./example_d
|
|
77
|
+
echo hello world | ./minigzip_d | ./minigzip_d -d
|
|
78
|
+
|
|
79
|
+
.c.o:
|
|
80
|
+
$(CC) $(CFLAGS) -c -o $@ $<
|
|
81
|
+
|
|
82
|
+
.S.o:
|
|
83
|
+
$(AS) $(ASFLAGS) -c -o $@ $<
|
|
84
|
+
|
|
85
|
+
$(STATICLIB): $(OBJS) $(OBJA)
|
|
86
|
+
$(AR) $(ARFLAGS) $@ $(OBJS) $(OBJA)
|
|
87
|
+
|
|
88
|
+
$(IMPLIB): $(SHAREDLIB)
|
|
89
|
+
|
|
90
|
+
$(SHAREDLIB): win32/zlib.def $(OBJS) $(OBJA) zlibrc.o
|
|
91
|
+
$(CC) -shared -Wl,--out-implib,$(IMPLIB) $(LDFLAGS) \
|
|
92
|
+
-o $@ win32/zlib.def $(OBJS) $(OBJA) zlibrc.o
|
|
93
|
+
$(STRIP) $@
|
|
94
|
+
|
|
95
|
+
example.exe: example.o $(STATICLIB)
|
|
96
|
+
$(LD) $(LDFLAGS) -o $@ example.o $(STATICLIB)
|
|
97
|
+
$(STRIP) $@
|
|
98
|
+
|
|
99
|
+
minigzip.exe: minigzip.o $(STATICLIB)
|
|
100
|
+
$(LD) $(LDFLAGS) -o $@ minigzip.o $(STATICLIB)
|
|
101
|
+
$(STRIP) $@
|
|
102
|
+
|
|
103
|
+
example_d.exe: example.o $(IMPLIB)
|
|
104
|
+
$(LD) $(LDFLAGS) -o $@ example.o $(IMPLIB)
|
|
105
|
+
$(STRIP) $@
|
|
106
|
+
|
|
107
|
+
minigzip_d.exe: minigzip.o $(IMPLIB)
|
|
108
|
+
$(LD) $(LDFLAGS) -o $@ minigzip.o $(IMPLIB)
|
|
109
|
+
$(STRIP) $@
|
|
110
|
+
|
|
111
|
+
example.o: test/example.c zlib.h zconf.h
|
|
112
|
+
$(CC) $(CFLAGS) -I. -c -o $@ test/example.c
|
|
113
|
+
|
|
114
|
+
minigzip.o: test/minigzip.c zlib.h zconf.h
|
|
115
|
+
$(CC) $(CFLAGS) -I. -c -o $@ test/minigzip.c
|
|
116
|
+
|
|
117
|
+
zlibrc.o: win32/zlib1.rc
|
|
118
|
+
$(RC) $(RCFLAGS) -o $@ win32/zlib1.rc
|
|
119
|
+
|
|
120
|
+
.PHONY: install uninstall clean
|
|
121
|
+
|
|
122
|
+
install: zlib.h zconf.h $(STATICLIB) $(IMPLIB)
|
|
123
|
+
@if test -z "$(DESTDIR)$(INCLUDE_PATH)" -o -z "$(DESTDIR)$(LIBRARY_PATH)" -o -z "$(DESTDIR)$(BINARY_PATH)"; then \
|
|
124
|
+
echo INCLUDE_PATH, LIBRARY_PATH, and BINARY_PATH must be specified; \
|
|
125
|
+
exit 1; \
|
|
126
|
+
fi
|
|
127
|
+
-@mkdir -p '$(DESTDIR)$(INCLUDE_PATH)'
|
|
128
|
+
-@mkdir -p '$(DESTDIR)$(LIBRARY_PATH)' '$(DESTDIR)$(LIBRARY_PATH)'/pkgconfig
|
|
129
|
+
-if [ "$(SHARED_MODE)" = "1" ]; then \
|
|
130
|
+
mkdir -p '$(DESTDIR)$(BINARY_PATH)'; \
|
|
131
|
+
$(INSTALL) $(SHAREDLIB) '$(DESTDIR)$(BINARY_PATH)'; \
|
|
132
|
+
$(INSTALL) $(IMPLIB) '$(DESTDIR)$(LIBRARY_PATH)'; \
|
|
133
|
+
fi
|
|
134
|
+
-$(INSTALL) zlib.h '$(DESTDIR)$(INCLUDE_PATH)'
|
|
135
|
+
-$(INSTALL) zconf.h '$(DESTDIR)$(INCLUDE_PATH)'
|
|
136
|
+
-$(INSTALL) $(STATICLIB) '$(DESTDIR)$(LIBRARY_PATH)'
|
|
137
|
+
sed \
|
|
138
|
+
-e 's|@prefix@|${prefix}|g' \
|
|
139
|
+
-e 's|@exec_prefix@|${exec_prefix}|g' \
|
|
140
|
+
-e 's|@libdir@|$(LIBRARY_PATH)|g' \
|
|
141
|
+
-e 's|@sharedlibdir@|$(LIBRARY_PATH)|g' \
|
|
142
|
+
-e 's|@includedir@|$(INCLUDE_PATH)|g' \
|
|
143
|
+
-e 's|@VERSION@|'`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' zlib.h`'|g' \
|
|
144
|
+
zlib.pc.in > '$(DESTDIR)$(LIBRARY_PATH)'/pkgconfig/zlib.pc
|
|
145
|
+
|
|
146
|
+
uninstall:
|
|
147
|
+
-if [ "$(SHARED_MODE)" = "1" ]; then \
|
|
148
|
+
$(RM) '$(DESTDIR)$(BINARY_PATH)'/$(SHAREDLIB); \
|
|
149
|
+
$(RM) '$(DESTDIR)$(LIBRARY_PATH)'/$(IMPLIB); \
|
|
150
|
+
fi
|
|
151
|
+
-$(RM) '$(DESTDIR)$(INCLUDE_PATH)'/zlib.h
|
|
152
|
+
-$(RM) '$(DESTDIR)$(INCLUDE_PATH)'/zconf.h
|
|
153
|
+
-$(RM) '$(DESTDIR)$(LIBRARY_PATH)'/$(STATICLIB)
|
|
154
|
+
|
|
155
|
+
clean:
|
|
156
|
+
-$(RM) $(STATICLIB)
|
|
157
|
+
-$(RM) $(SHAREDLIB)
|
|
158
|
+
-$(RM) $(IMPLIB)
|
|
159
|
+
-$(RM) *.o
|
|
160
|
+
-$(RM) *.exe
|
|
161
|
+
-$(RM) foo.gz
|
|
162
|
+
|
|
163
|
+
adler32.o: zlib.h zconf.h
|
|
164
|
+
compress.o: zlib.h zconf.h
|
|
165
|
+
crc32.o: crc32.h zlib.h zconf.h
|
|
166
|
+
deflate.o: deflate.h zutil.h zlib.h zconf.h
|
|
167
|
+
gzclose.o: zlib.h zconf.h gzguts.h
|
|
168
|
+
gzlib.o: zlib.h zconf.h gzguts.h
|
|
169
|
+
gzread.o: zlib.h zconf.h gzguts.h
|
|
170
|
+
gzwrite.o: zlib.h zconf.h gzguts.h
|
|
171
|
+
inffast.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
|
|
172
|
+
inflate.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
|
|
173
|
+
infback.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
|
|
174
|
+
inftrees.o: zutil.h zlib.h zconf.h inftrees.h
|
|
175
|
+
trees.o: deflate.h zutil.h zlib.h zconf.h trees.h
|
|
176
|
+
uncompr.o: zlib.h zconf.h
|
|
177
|
+
zutil.o: zutil.h zlib.h zconf.h
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
# Makefile for zlib using Microsoft (Visual) C
|
|
2
|
+
# zlib is copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
|
|
3
|
+
#
|
|
4
|
+
# Usage:
|
|
5
|
+
# nmake -f win32/Makefile.msc (standard build)
|
|
6
|
+
# nmake -f win32/Makefile.msc LOC=-DFOO (nonstandard build)
|
|
7
|
+
|
|
8
|
+
# The toplevel directory of the source tree.
|
|
9
|
+
#
|
|
10
|
+
TOP = .
|
|
11
|
+
|
|
12
|
+
# optional build flags
|
|
13
|
+
LOC =
|
|
14
|
+
|
|
15
|
+
# variables
|
|
16
|
+
STATICLIB = zlib.lib
|
|
17
|
+
SHAREDLIB = zlib1.dll
|
|
18
|
+
IMPLIB = zdll.lib
|
|
19
|
+
|
|
20
|
+
CC = cl
|
|
21
|
+
AS = ml
|
|
22
|
+
LD = link
|
|
23
|
+
AR = lib
|
|
24
|
+
RC = rc
|
|
25
|
+
CFLAGS = -nologo -MD -W3 -O2 -Oy- -Zi -Fd"zlib" $(LOC)
|
|
26
|
+
WFLAGS = -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
|
|
27
|
+
ASFLAGS = -coff -Zi $(LOC)
|
|
28
|
+
LDFLAGS = -nologo -debug -incremental:no -opt:ref
|
|
29
|
+
ARFLAGS = -nologo
|
|
30
|
+
RCFLAGS = /dWIN32 /r
|
|
31
|
+
|
|
32
|
+
OBJS = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj \
|
|
33
|
+
gzwrite.obj infback.obj inflate.obj inftrees.obj inffast.obj trees.obj uncompr.obj zutil.obj
|
|
34
|
+
OBJA =
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# targets
|
|
38
|
+
all: $(STATICLIB) $(SHAREDLIB) $(IMPLIB) \
|
|
39
|
+
example.exe minigzip.exe example_d.exe minigzip_d.exe
|
|
40
|
+
|
|
41
|
+
$(STATICLIB): $(OBJS) $(OBJA)
|
|
42
|
+
$(AR) $(ARFLAGS) -out:$@ $(OBJS) $(OBJA)
|
|
43
|
+
|
|
44
|
+
$(IMPLIB): $(SHAREDLIB)
|
|
45
|
+
|
|
46
|
+
$(SHAREDLIB): $(TOP)/win32/zlib.def $(OBJS) $(OBJA) zlib1.res
|
|
47
|
+
$(LD) $(LDFLAGS) -def:$(TOP)/win32/zlib.def -dll -implib:$(IMPLIB) \
|
|
48
|
+
-out:$@ -base:0x5A4C0000 $(OBJS) $(OBJA) zlib1.res
|
|
49
|
+
if exist $@.manifest \
|
|
50
|
+
mt -nologo -manifest $@.manifest -outputresource:$@;2
|
|
51
|
+
|
|
52
|
+
example.exe: example.obj $(STATICLIB)
|
|
53
|
+
$(LD) $(LDFLAGS) example.obj $(STATICLIB)
|
|
54
|
+
if exist $@.manifest \
|
|
55
|
+
mt -nologo -manifest $@.manifest -outputresource:$@;1
|
|
56
|
+
|
|
57
|
+
minigzip.exe: minigzip.obj $(STATICLIB)
|
|
58
|
+
$(LD) $(LDFLAGS) minigzip.obj $(STATICLIB)
|
|
59
|
+
if exist $@.manifest \
|
|
60
|
+
mt -nologo -manifest $@.manifest -outputresource:$@;1
|
|
61
|
+
|
|
62
|
+
example_d.exe: example.obj $(IMPLIB)
|
|
63
|
+
$(LD) $(LDFLAGS) -out:$@ example.obj $(IMPLIB)
|
|
64
|
+
if exist $@.manifest \
|
|
65
|
+
mt -nologo -manifest $@.manifest -outputresource:$@;1
|
|
66
|
+
|
|
67
|
+
minigzip_d.exe: minigzip.obj $(IMPLIB)
|
|
68
|
+
$(LD) $(LDFLAGS) -out:$@ minigzip.obj $(IMPLIB)
|
|
69
|
+
if exist $@.manifest \
|
|
70
|
+
mt -nologo -manifest $@.manifest -outputresource:$@;1
|
|
71
|
+
|
|
72
|
+
{$(TOP)}.c.obj:
|
|
73
|
+
$(CC) -c $(WFLAGS) $(CFLAGS) $<
|
|
74
|
+
|
|
75
|
+
{$(TOP)/test}.c.obj:
|
|
76
|
+
$(CC) -c -I$(TOP) $(WFLAGS) $(CFLAGS) $<
|
|
77
|
+
|
|
78
|
+
{$(TOP)/contrib/masmx64}.c.obj:
|
|
79
|
+
$(CC) -c $(WFLAGS) $(CFLAGS) $<
|
|
80
|
+
|
|
81
|
+
{$(TOP)/contrib/masmx64}.asm.obj:
|
|
82
|
+
$(AS) -c $(ASFLAGS) $<
|
|
83
|
+
|
|
84
|
+
{$(TOP)/contrib/masmx86}.asm.obj:
|
|
85
|
+
$(AS) -c $(ASFLAGS) $<
|
|
86
|
+
|
|
87
|
+
adler32.obj: $(TOP)/adler32.c $(TOP)/zlib.h $(TOP)/zconf.h
|
|
88
|
+
|
|
89
|
+
compress.obj: $(TOP)/compress.c $(TOP)/zlib.h $(TOP)/zconf.h
|
|
90
|
+
|
|
91
|
+
crc32.obj: $(TOP)/crc32.c $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/crc32.h
|
|
92
|
+
|
|
93
|
+
deflate.obj: $(TOP)/deflate.c $(TOP)/deflate.h $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h
|
|
94
|
+
|
|
95
|
+
gzclose.obj: $(TOP)/gzclose.c $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/gzguts.h
|
|
96
|
+
|
|
97
|
+
gzlib.obj: $(TOP)/gzlib.c $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/gzguts.h
|
|
98
|
+
|
|
99
|
+
gzread.obj: $(TOP)/gzread.c $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/gzguts.h
|
|
100
|
+
|
|
101
|
+
gzwrite.obj: $(TOP)/gzwrite.c $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/gzguts.h
|
|
102
|
+
|
|
103
|
+
infback.obj: $(TOP)/infback.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/inftrees.h $(TOP)/inflate.h \
|
|
104
|
+
$(TOP)/inffast.h $(TOP)/inffixed.h
|
|
105
|
+
|
|
106
|
+
inffast.obj: $(TOP)/inffast.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/inftrees.h $(TOP)/inflate.h \
|
|
107
|
+
$(TOP)/inffast.h
|
|
108
|
+
|
|
109
|
+
inflate.obj: $(TOP)/inflate.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/inftrees.h $(TOP)/inflate.h \
|
|
110
|
+
$(TOP)/inffast.h $(TOP)/inffixed.h
|
|
111
|
+
|
|
112
|
+
inftrees.obj: $(TOP)/inftrees.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/inftrees.h
|
|
113
|
+
|
|
114
|
+
trees.obj: $(TOP)/trees.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h $(TOP)/deflate.h $(TOP)/trees.h
|
|
115
|
+
|
|
116
|
+
uncompr.obj: $(TOP)/uncompr.c $(TOP)/zlib.h $(TOP)/zconf.h
|
|
117
|
+
|
|
118
|
+
zutil.obj: $(TOP)/zutil.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h
|
|
119
|
+
|
|
120
|
+
gvmat64.obj: $(TOP)/contrib\masmx64\gvmat64.asm
|
|
121
|
+
|
|
122
|
+
inffasx64.obj: $(TOP)/contrib\masmx64\inffasx64.asm
|
|
123
|
+
|
|
124
|
+
inffas8664.obj: $(TOP)/contrib\masmx64\inffas8664.c $(TOP)/zutil.h $(TOP)/zlib.h $(TOP)/zconf.h \
|
|
125
|
+
$(TOP)/inftrees.h $(TOP)/inflate.h $(TOP)/inffast.h
|
|
126
|
+
|
|
127
|
+
inffas32.obj: $(TOP)/contrib\masmx86\inffas32.asm
|
|
128
|
+
|
|
129
|
+
match686.obj: $(TOP)/contrib\masmx86\match686.asm
|
|
130
|
+
|
|
131
|
+
example.obj: $(TOP)/test/example.c $(TOP)/zlib.h $(TOP)/zconf.h
|
|
132
|
+
|
|
133
|
+
minigzip.obj: $(TOP)/test/minigzip.c $(TOP)/zlib.h $(TOP)/zconf.h
|
|
134
|
+
|
|
135
|
+
zlib1.res: $(TOP)/win32/zlib1.rc
|
|
136
|
+
$(RC) $(RCFLAGS) /fo$@ $(TOP)/win32/zlib1.rc
|
|
137
|
+
|
|
138
|
+
# testing
|
|
139
|
+
test: example.exe minigzip.exe
|
|
140
|
+
example
|
|
141
|
+
echo hello world | minigzip | minigzip -d
|
|
142
|
+
|
|
143
|
+
testdll: example_d.exe minigzip_d.exe
|
|
144
|
+
example_d
|
|
145
|
+
echo hello world | minigzip_d | minigzip_d -d
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
# cleanup
|
|
149
|
+
clean:
|
|
150
|
+
-del $(STATICLIB)
|
|
151
|
+
-del $(SHAREDLIB)
|
|
152
|
+
-del $(IMPLIB)
|
|
153
|
+
-del *.obj
|
|
154
|
+
-del *.res
|
|
155
|
+
-del *.exp
|
|
156
|
+
-del *.exe
|
|
157
|
+
-del *.pdb
|
|
158
|
+
-del *.manifest
|
|
159
|
+
-del foo.gz
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
ZLIB DATA COMPRESSION LIBRARY
|
|
2
|
+
|
|
3
|
+
zlib 1.3.1.1 is a general purpose data compression library. All the code is
|
|
4
|
+
thread safe. The data format used by the zlib library is described by RFCs
|
|
5
|
+
(Request for Comments) 1950 to 1952 in the files
|
|
6
|
+
http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format)
|
|
7
|
+
and rfc1952.txt (gzip format).
|
|
8
|
+
|
|
9
|
+
All functions of the compression library are documented in the file zlib.h
|
|
10
|
+
(volunteer to write man pages welcome, contact zlib@gzip.org). Two compiled
|
|
11
|
+
examples are distributed in this package, example and minigzip. The example_d
|
|
12
|
+
and minigzip_d flavors validate that the zlib1.dll file is working correctly.
|
|
13
|
+
|
|
14
|
+
Questions about zlib should be sent to <zlib@gzip.org>. The zlib home page
|
|
15
|
+
is http://zlib.net/ . Before reporting a problem, please check this site to
|
|
16
|
+
verify that you have the latest version of zlib; otherwise get the latest
|
|
17
|
+
version and check whether the problem still exists or not.
|
|
18
|
+
|
|
19
|
+
PLEASE read DLL_FAQ.txt, and the zlib FAQ http://zlib.net/zlib_faq.html before
|
|
20
|
+
asking for help.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Manifest:
|
|
24
|
+
|
|
25
|
+
The package zlib-1.3.1.1-win32-x86.zip will contain the following files:
|
|
26
|
+
|
|
27
|
+
README-WIN32.txt This document
|
|
28
|
+
ChangeLog Changes since previous zlib packages
|
|
29
|
+
DLL_FAQ.txt Frequently asked questions about zlib1.dll
|
|
30
|
+
zlib.3.pdf Documentation of this library in Adobe Acrobat format
|
|
31
|
+
|
|
32
|
+
example.exe A statically-bound example (using zlib.lib, not the dll)
|
|
33
|
+
example.pdb Symbolic information for debugging example.exe
|
|
34
|
+
|
|
35
|
+
example_d.exe A zlib1.dll bound example (using zdll.lib)
|
|
36
|
+
example_d.pdb Symbolic information for debugging example_d.exe
|
|
37
|
+
|
|
38
|
+
minigzip.exe A statically-bound test program (using zlib.lib, not the dll)
|
|
39
|
+
minigzip.pdb Symbolic information for debugging minigzip.exe
|
|
40
|
+
|
|
41
|
+
minigzip_d.exe A zlib1.dll bound test program (using zdll.lib)
|
|
42
|
+
minigzip_d.pdb Symbolic information for debugging minigzip_d.exe
|
|
43
|
+
|
|
44
|
+
zlib.h Install these files into the compilers' INCLUDE path to
|
|
45
|
+
zconf.h compile programs which use zlib.lib or zdll.lib
|
|
46
|
+
|
|
47
|
+
zdll.lib Install these files into the compilers' LIB path if linking
|
|
48
|
+
zdll.exp a compiled program to the zlib1.dll binary
|
|
49
|
+
|
|
50
|
+
zlib.lib Install these files into the compilers' LIB path to link zlib
|
|
51
|
+
zlib.pdb into compiled programs, without zlib1.dll runtime dependency
|
|
52
|
+
(zlib.pdb provides debugging info to the compile time linker)
|
|
53
|
+
|
|
54
|
+
zlib1.dll Install this binary shared library into the system PATH, or
|
|
55
|
+
the program's runtime directory (where the .exe resides)
|
|
56
|
+
zlib1.pdb Install in the same directory as zlib1.dll, in order to debug
|
|
57
|
+
an application crash using WinDbg or similar tools.
|
|
58
|
+
|
|
59
|
+
All .pdb files above are entirely optional, but are very useful to a developer
|
|
60
|
+
attempting to diagnose program misbehavior or a crash. Many additional
|
|
61
|
+
important files for developers can be found in the zlib127.zip source package
|
|
62
|
+
available from http://zlib.net/ - review that package's README file for details.
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
Acknowledgments:
|
|
66
|
+
|
|
67
|
+
The deflate format used by zlib was defined by Phil Katz. The deflate and
|
|
68
|
+
zlib specifications were written by L. Peter Deutsch. Thanks to all the
|
|
69
|
+
people who reported problems and suggested various improvements in zlib; they
|
|
70
|
+
are too numerous to cite here.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
Copyright notice:
|
|
74
|
+
|
|
75
|
+
(C) 1995-2017 Jean-loup Gailly and Mark Adler
|
|
76
|
+
|
|
77
|
+
This software is provided 'as-is', without any express or implied
|
|
78
|
+
warranty. In no event will the authors be held liable for any damages
|
|
79
|
+
arising from the use of this software.
|
|
80
|
+
|
|
81
|
+
Permission is granted to anyone to use this software for any purpose,
|
|
82
|
+
including commercial applications, and to alter it and redistribute it
|
|
83
|
+
freely, subject to the following restrictions:
|
|
84
|
+
|
|
85
|
+
1. The origin of this software must not be misrepresented; you must not
|
|
86
|
+
claim that you wrote the original software. If you use this software
|
|
87
|
+
in a product, an acknowledgment in the product documentation would be
|
|
88
|
+
appreciated but is not required.
|
|
89
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
|
90
|
+
misrepresented as being the original software.
|
|
91
|
+
3. This notice may not be removed or altered from any source distribution.
|
|
92
|
+
|
|
93
|
+
Jean-loup Gailly Mark Adler
|
|
94
|
+
jloup@gzip.org madler@alumni.caltech.edu
|
|
95
|
+
|
|
96
|
+
If you use the zlib library in a product, we would appreciate *not* receiving
|
|
97
|
+
lengthy legal documents to sign. The sources are provided for free but without
|
|
98
|
+
warranty of any kind. The library has been entirely written by Jean-loup
|
|
99
|
+
Gailly and Mark Adler; it does not include third-party code.
|
|
100
|
+
|
|
101
|
+
If you redistribute modified sources, we would appreciate that you include in
|
|
102
|
+
the file ChangeLog history information documenting your changes. Please read
|
|
103
|
+
the FAQ for more information on the distribution of modified source versions.
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
; zlib data compression library
|
|
2
|
+
EXPORTS
|
|
3
|
+
; basic functions
|
|
4
|
+
zlibVersion
|
|
5
|
+
deflate
|
|
6
|
+
deflateEnd
|
|
7
|
+
inflate
|
|
8
|
+
inflateEnd
|
|
9
|
+
; advanced functions
|
|
10
|
+
deflateSetDictionary
|
|
11
|
+
deflateGetDictionary
|
|
12
|
+
deflateCopy
|
|
13
|
+
deflateReset
|
|
14
|
+
deflateParams
|
|
15
|
+
deflateTune
|
|
16
|
+
deflateBound
|
|
17
|
+
deflatePending
|
|
18
|
+
deflateUsed
|
|
19
|
+
deflatePrime
|
|
20
|
+
deflateSetHeader
|
|
21
|
+
inflateSetDictionary
|
|
22
|
+
inflateGetDictionary
|
|
23
|
+
inflateSync
|
|
24
|
+
inflateCopy
|
|
25
|
+
inflateReset
|
|
26
|
+
inflateReset2
|
|
27
|
+
inflatePrime
|
|
28
|
+
inflateMark
|
|
29
|
+
inflateGetHeader
|
|
30
|
+
inflateBack
|
|
31
|
+
inflateBackEnd
|
|
32
|
+
zlibCompileFlags
|
|
33
|
+
; utility functions
|
|
34
|
+
compress
|
|
35
|
+
compress2
|
|
36
|
+
compressBound
|
|
37
|
+
uncompress
|
|
38
|
+
uncompress2
|
|
39
|
+
gzopen
|
|
40
|
+
gzdopen
|
|
41
|
+
gzbuffer
|
|
42
|
+
gzsetparams
|
|
43
|
+
gzread
|
|
44
|
+
gzfread
|
|
45
|
+
gzwrite
|
|
46
|
+
gzfwrite
|
|
47
|
+
gzprintf
|
|
48
|
+
gzvprintf
|
|
49
|
+
gzputs
|
|
50
|
+
gzgets
|
|
51
|
+
gzputc
|
|
52
|
+
gzgetc
|
|
53
|
+
gzungetc
|
|
54
|
+
gzflush
|
|
55
|
+
gzseek
|
|
56
|
+
gzrewind
|
|
57
|
+
gztell
|
|
58
|
+
gzoffset
|
|
59
|
+
gzeof
|
|
60
|
+
gzdirect
|
|
61
|
+
gzclose
|
|
62
|
+
gzclose_r
|
|
63
|
+
gzclose_w
|
|
64
|
+
gzerror
|
|
65
|
+
gzclearerr
|
|
66
|
+
; large file functions
|
|
67
|
+
gzopen64
|
|
68
|
+
gzseek64
|
|
69
|
+
gztell64
|
|
70
|
+
gzoffset64
|
|
71
|
+
adler32_combine64
|
|
72
|
+
crc32_combine64
|
|
73
|
+
crc32_combine_gen64
|
|
74
|
+
; checksum functions
|
|
75
|
+
adler32
|
|
76
|
+
adler32_z
|
|
77
|
+
crc32
|
|
78
|
+
crc32_z
|
|
79
|
+
adler32_combine
|
|
80
|
+
crc32_combine
|
|
81
|
+
crc32_combine_gen
|
|
82
|
+
crc32_combine_op
|
|
83
|
+
; various hacks, don't look :)
|
|
84
|
+
deflateInit_
|
|
85
|
+
deflateInit2_
|
|
86
|
+
inflateInit_
|
|
87
|
+
inflateInit2_
|
|
88
|
+
inflateBackInit_
|
|
89
|
+
gzgetc_
|
|
90
|
+
zError
|
|
91
|
+
inflateSyncPoint
|
|
92
|
+
get_crc_table
|
|
93
|
+
inflateUndermine
|
|
94
|
+
inflateValidate
|
|
95
|
+
inflateCodesUsed
|
|
96
|
+
inflateResetKeep
|
|
97
|
+
deflateResetKeep
|
|
98
|
+
gzopen_w
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#include <winver.h>
|
|
2
|
+
#include "../zlib.h"
|
|
3
|
+
|
|
4
|
+
VS_VERSION_INFO VERSIONINFO
|
|
5
|
+
|
|
6
|
+
FILEVERSION ZLIB_VER_MAJOR,ZLIB_VER_MINOR,ZLIB_VER_REVISION,0
|
|
7
|
+
PRODUCTVERSION ZLIB_VER_MAJOR,ZLIB_VER_MINOR,ZLIB_VER_REVISION,0
|
|
8
|
+
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
|
9
|
+
#ifdef _DEBUG
|
|
10
|
+
FILEFLAGS 1
|
|
11
|
+
#else
|
|
12
|
+
FILEFLAGS 0
|
|
13
|
+
#endif
|
|
14
|
+
FILEOS VOS__WINDOWS32
|
|
15
|
+
FILETYPE VFT_DLL
|
|
16
|
+
FILESUBTYPE 0 // not used
|
|
17
|
+
BEGIN
|
|
18
|
+
BLOCK "StringFileInfo"
|
|
19
|
+
BEGIN
|
|
20
|
+
BLOCK "040904E4"
|
|
21
|
+
//language ID = U.S. English, char set = Windows, Multilingual
|
|
22
|
+
BEGIN
|
|
23
|
+
VALUE "FileDescription", "zlib data compression library\0"
|
|
24
|
+
VALUE "FileVersion", ZLIB_VERSION "\0"
|
|
25
|
+
VALUE "InternalName", "zlib1.dll\0"
|
|
26
|
+
VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0"
|
|
27
|
+
VALUE "OriginalFilename", "zlib1.dll\0"
|
|
28
|
+
VALUE "ProductName", "zlib\0"
|
|
29
|
+
VALUE "ProductVersion", ZLIB_VERSION "\0"
|
|
30
|
+
VALUE "Comments", "For more information visit http://www.zlib.net/\0"
|
|
31
|
+
END
|
|
32
|
+
END
|
|
33
|
+
BLOCK "VarFileInfo"
|
|
34
|
+
BEGIN
|
|
35
|
+
VALUE "Translation", 0x0409, 1252
|
|
36
|
+
END
|
|
37
|
+
END
|