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,151 @@
|
|
|
1
|
+
# Project: zlib_1_03
|
|
2
|
+
# Patched for zlib 1.1.2 rw@shadow.org.uk 19980430
|
|
3
|
+
# test works out-of-the-box, installs `somewhere' on demand
|
|
4
|
+
|
|
5
|
+
# Toolflags:
|
|
6
|
+
CCflags = -c -depend !Depend -IC: -g -throwback -fah
|
|
7
|
+
C++flags = -c -depend !Depend -IC: -throwback
|
|
8
|
+
Linkflags = -aif -c++ -o $@
|
|
9
|
+
ObjAsmflags = -throwback -NoCache -depend !Depend
|
|
10
|
+
CMHGflags =
|
|
11
|
+
LibFileflags = -c -l -o $@
|
|
12
|
+
Squeezeflags = -o $@
|
|
13
|
+
|
|
14
|
+
# change the line below to where _you_ want the library installed.
|
|
15
|
+
libdest = lib:zlib
|
|
16
|
+
|
|
17
|
+
# Final targets:
|
|
18
|
+
@.lib: @.o.adler32 @.o.compress @.o.crc32 @.o.deflate @.o.gzio \
|
|
19
|
+
@.o.infblock @.o.infcodes @.o.inffast @.o.inflate @.o.inftrees @.o.infutil @.o.trees \
|
|
20
|
+
@.o.uncompr @.o.zutil
|
|
21
|
+
LibFile $(LibFileflags) @.o.adler32 @.o.compress @.o.crc32 @.o.deflate \
|
|
22
|
+
@.o.gzio @.o.infblock @.o.infcodes @.o.inffast @.o.inflate @.o.inftrees @.o.infutil \
|
|
23
|
+
@.o.trees @.o.uncompr @.o.zutil
|
|
24
|
+
test: @.minigzip @.example @.lib
|
|
25
|
+
@copy @.lib @.libc A~C~DF~L~N~P~Q~RS~TV
|
|
26
|
+
@echo running tests: hang on.
|
|
27
|
+
@/@.minigzip -f -9 libc
|
|
28
|
+
@/@.minigzip -d libc-gz
|
|
29
|
+
@/@.minigzip -f -1 libc
|
|
30
|
+
@/@.minigzip -d libc-gz
|
|
31
|
+
@/@.minigzip -h -9 libc
|
|
32
|
+
@/@.minigzip -d libc-gz
|
|
33
|
+
@/@.minigzip -h -1 libc
|
|
34
|
+
@/@.minigzip -d libc-gz
|
|
35
|
+
@/@.minigzip -9 libc
|
|
36
|
+
@/@.minigzip -d libc-gz
|
|
37
|
+
@/@.minigzip -1 libc
|
|
38
|
+
@/@.minigzip -d libc-gz
|
|
39
|
+
@diff @.lib @.libc
|
|
40
|
+
@echo that should have reported '@.lib and @.libc identical' if you have diff.
|
|
41
|
+
@/@.example @.fred @.fred
|
|
42
|
+
@echo that will have given lots of hello!'s.
|
|
43
|
+
|
|
44
|
+
@.minigzip: @.o.minigzip @.lib C:o.Stubs
|
|
45
|
+
Link $(Linkflags) @.o.minigzip @.lib C:o.Stubs
|
|
46
|
+
@.example: @.o.example @.lib C:o.Stubs
|
|
47
|
+
Link $(Linkflags) @.o.example @.lib C:o.Stubs
|
|
48
|
+
|
|
49
|
+
install: @.lib
|
|
50
|
+
cdir $(libdest)
|
|
51
|
+
cdir $(libdest).h
|
|
52
|
+
@copy @.h.zlib $(libdest).h.zlib A~C~DF~L~N~P~Q~RS~TV
|
|
53
|
+
@copy @.h.zconf $(libdest).h.zconf A~C~DF~L~N~P~Q~RS~TV
|
|
54
|
+
@copy @.lib $(libdest).lib A~C~DF~L~N~P~Q~RS~TV
|
|
55
|
+
@echo okay, installed zlib in $(libdest)
|
|
56
|
+
|
|
57
|
+
clean:; remove @.minigzip
|
|
58
|
+
remove @.example
|
|
59
|
+
remove @.libc
|
|
60
|
+
-wipe @.o.* F~r~cV
|
|
61
|
+
remove @.fred
|
|
62
|
+
|
|
63
|
+
# User-editable dependencies:
|
|
64
|
+
.c.o:
|
|
65
|
+
cc $(ccflags) -o $@ $<
|
|
66
|
+
|
|
67
|
+
# Static dependencies:
|
|
68
|
+
|
|
69
|
+
# Dynamic dependencies:
|
|
70
|
+
o.example: c.example
|
|
71
|
+
o.example: h.zlib
|
|
72
|
+
o.example: h.zconf
|
|
73
|
+
o.minigzip: c.minigzip
|
|
74
|
+
o.minigzip: h.zlib
|
|
75
|
+
o.minigzip: h.zconf
|
|
76
|
+
o.adler32: c.adler32
|
|
77
|
+
o.adler32: h.zlib
|
|
78
|
+
o.adler32: h.zconf
|
|
79
|
+
o.compress: c.compress
|
|
80
|
+
o.compress: h.zlib
|
|
81
|
+
o.compress: h.zconf
|
|
82
|
+
o.crc32: c.crc32
|
|
83
|
+
o.crc32: h.zlib
|
|
84
|
+
o.crc32: h.zconf
|
|
85
|
+
o.deflate: c.deflate
|
|
86
|
+
o.deflate: h.deflate
|
|
87
|
+
o.deflate: h.zutil
|
|
88
|
+
o.deflate: h.zlib
|
|
89
|
+
o.deflate: h.zconf
|
|
90
|
+
o.gzio: c.gzio
|
|
91
|
+
o.gzio: h.zutil
|
|
92
|
+
o.gzio: h.zlib
|
|
93
|
+
o.gzio: h.zconf
|
|
94
|
+
o.infblock: c.infblock
|
|
95
|
+
o.infblock: h.zutil
|
|
96
|
+
o.infblock: h.zlib
|
|
97
|
+
o.infblock: h.zconf
|
|
98
|
+
o.infblock: h.infblock
|
|
99
|
+
o.infblock: h.inftrees
|
|
100
|
+
o.infblock: h.infcodes
|
|
101
|
+
o.infblock: h.infutil
|
|
102
|
+
o.infcodes: c.infcodes
|
|
103
|
+
o.infcodes: h.zutil
|
|
104
|
+
o.infcodes: h.zlib
|
|
105
|
+
o.infcodes: h.zconf
|
|
106
|
+
o.infcodes: h.inftrees
|
|
107
|
+
o.infcodes: h.infblock
|
|
108
|
+
o.infcodes: h.infcodes
|
|
109
|
+
o.infcodes: h.infutil
|
|
110
|
+
o.infcodes: h.inffast
|
|
111
|
+
o.inffast: c.inffast
|
|
112
|
+
o.inffast: h.zutil
|
|
113
|
+
o.inffast: h.zlib
|
|
114
|
+
o.inffast: h.zconf
|
|
115
|
+
o.inffast: h.inftrees
|
|
116
|
+
o.inffast: h.infblock
|
|
117
|
+
o.inffast: h.infcodes
|
|
118
|
+
o.inffast: h.infutil
|
|
119
|
+
o.inffast: h.inffast
|
|
120
|
+
o.inflate: c.inflate
|
|
121
|
+
o.inflate: h.zutil
|
|
122
|
+
o.inflate: h.zlib
|
|
123
|
+
o.inflate: h.zconf
|
|
124
|
+
o.inflate: h.infblock
|
|
125
|
+
o.inftrees: c.inftrees
|
|
126
|
+
o.inftrees: h.zutil
|
|
127
|
+
o.inftrees: h.zlib
|
|
128
|
+
o.inftrees: h.zconf
|
|
129
|
+
o.inftrees: h.inftrees
|
|
130
|
+
o.inftrees: h.inffixed
|
|
131
|
+
o.infutil: c.infutil
|
|
132
|
+
o.infutil: h.zutil
|
|
133
|
+
o.infutil: h.zlib
|
|
134
|
+
o.infutil: h.zconf
|
|
135
|
+
o.infutil: h.infblock
|
|
136
|
+
o.infutil: h.inftrees
|
|
137
|
+
o.infutil: h.infcodes
|
|
138
|
+
o.infutil: h.infutil
|
|
139
|
+
o.trees: c.trees
|
|
140
|
+
o.trees: h.deflate
|
|
141
|
+
o.trees: h.zutil
|
|
142
|
+
o.trees: h.zlib
|
|
143
|
+
o.trees: h.zconf
|
|
144
|
+
o.trees: h.trees
|
|
145
|
+
o.uncompr: c.uncompr
|
|
146
|
+
o.uncompr: h.zlib
|
|
147
|
+
o.uncompr: h.zconf
|
|
148
|
+
o.zutil: c.zutil
|
|
149
|
+
o.zutil: h.zutil
|
|
150
|
+
o.zutil: h.zlib
|
|
151
|
+
o.zutil: h.zconf
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# descrip.mms: MMS description file for building zlib on VMS
|
|
2
|
+
# written by Martin P.J. Zinser <m.zinser@gsi.de>
|
|
3
|
+
|
|
4
|
+
cc_defs =
|
|
5
|
+
c_deb =
|
|
6
|
+
|
|
7
|
+
.ifdef __DECC__
|
|
8
|
+
pref = /prefix=all
|
|
9
|
+
.endif
|
|
10
|
+
|
|
11
|
+
OBJS = adler32.obj, compress.obj, crc32.obj, gzio.obj, uncompr.obj,\
|
|
12
|
+
deflate.obj, trees.obj, zutil.obj, inflate.obj, infblock.obj,\
|
|
13
|
+
inftrees.obj, infcodes.obj, infutil.obj, inffast.obj
|
|
14
|
+
|
|
15
|
+
CFLAGS= $(C_DEB) $(CC_DEFS) $(PREF)
|
|
16
|
+
|
|
17
|
+
all : example.exe minigzip.exe
|
|
18
|
+
@ write sys$output " Example applications available"
|
|
19
|
+
libz.olb : libz.olb($(OBJS))
|
|
20
|
+
@ write sys$output " libz available"
|
|
21
|
+
|
|
22
|
+
example.exe : example.obj libz.olb
|
|
23
|
+
link example,libz.olb/lib
|
|
24
|
+
|
|
25
|
+
minigzip.exe : minigzip.obj libz.olb
|
|
26
|
+
link minigzip,libz.olb/lib,x11vms:xvmsutils.olb/lib
|
|
27
|
+
|
|
28
|
+
clean :
|
|
29
|
+
delete *.obj;*,libz.olb;*
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
# Other dependencies.
|
|
33
|
+
adler32.obj : zutil.h zlib.h zconf.h
|
|
34
|
+
compress.obj : zlib.h zconf.h
|
|
35
|
+
crc32.obj : zutil.h zlib.h zconf.h
|
|
36
|
+
deflate.obj : deflate.h zutil.h zlib.h zconf.h
|
|
37
|
+
example.obj : zlib.h zconf.h
|
|
38
|
+
gzio.obj : zutil.h zlib.h zconf.h
|
|
39
|
+
infblock.obj : zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h
|
|
40
|
+
infcodes.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h
|
|
41
|
+
inffast.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
|
|
42
|
+
inflate.obj : zutil.h zlib.h zconf.h infblock.h
|
|
43
|
+
inftrees.obj : zutil.h zlib.h zconf.h inftrees.h
|
|
44
|
+
infutil.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h
|
|
45
|
+
minigzip.obj : zlib.h zconf.h
|
|
46
|
+
trees.obj : deflate.h zutil.h zlib.h zconf.h
|
|
47
|
+
uncompr.obj : zlib.h zconf.h
|
|
48
|
+
zutil.obj : zutil.h zlib.h zconf.h
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# Makefile for zlib under OS/2 using GCC (PGCC)
|
|
2
|
+
# For conditions of distribution and use, see copyright notice in zlib.h
|
|
3
|
+
|
|
4
|
+
# To compile and test, type:
|
|
5
|
+
# cp Makefile.os2 ..
|
|
6
|
+
# cd ..
|
|
7
|
+
# make -f Makefile.os2 test
|
|
8
|
+
|
|
9
|
+
# This makefile will build a static library z.lib, a shared library
|
|
10
|
+
# z.dll and a import library zdll.lib. You can use either z.lib or
|
|
11
|
+
# zdll.lib by specifying either -lz or -lzdll on gcc's command line
|
|
12
|
+
|
|
13
|
+
CC=gcc -Zomf -s
|
|
14
|
+
|
|
15
|
+
CFLAGS=-O6 -Wall
|
|
16
|
+
#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7
|
|
17
|
+
#CFLAGS=-g -DZLIB_DEBUG
|
|
18
|
+
#CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
|
|
19
|
+
# -Wstrict-prototypes -Wmissing-prototypes
|
|
20
|
+
|
|
21
|
+
#################### BUG WARNING: #####################
|
|
22
|
+
## infcodes.c hits a bug in pgcc-1.0, so you have to use either
|
|
23
|
+
## -O# where # <= 4 or one of (-fno-ommit-frame-pointer or -fno-force-mem)
|
|
24
|
+
## This bug is reportedly fixed in pgcc >1.0, but this was not tested
|
|
25
|
+
CFLAGS+=-fno-force-mem
|
|
26
|
+
|
|
27
|
+
LDFLAGS=-s -L. -lzdll -Zcrtdll
|
|
28
|
+
LDSHARED=$(CC) -s -Zomf -Zdll -Zcrtdll
|
|
29
|
+
|
|
30
|
+
VER=1.1.0
|
|
31
|
+
ZLIB=z.lib
|
|
32
|
+
SHAREDLIB=z.dll
|
|
33
|
+
SHAREDLIBIMP=zdll.lib
|
|
34
|
+
LIBS=$(ZLIB) $(SHAREDLIB) $(SHAREDLIBIMP)
|
|
35
|
+
|
|
36
|
+
AR=emxomfar cr
|
|
37
|
+
IMPLIB=emximp
|
|
38
|
+
RANLIB=echo
|
|
39
|
+
TAR=tar
|
|
40
|
+
SHELL=bash
|
|
41
|
+
|
|
42
|
+
prefix=/usr/local
|
|
43
|
+
exec_prefix = $(prefix)
|
|
44
|
+
|
|
45
|
+
OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
|
|
46
|
+
zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o
|
|
47
|
+
|
|
48
|
+
TEST_OBJS = example.o minigzip.o
|
|
49
|
+
|
|
50
|
+
DISTFILES = README INDEX ChangeLog configure Make*[a-z0-9] *.[ch] descrip.mms \
|
|
51
|
+
algorithm.txt zlib.3 msdos/Make*[a-z0-9] msdos/zlib.def msdos/zlib.rc \
|
|
52
|
+
nt/Makefile.nt nt/zlib.dnt contrib/README.contrib contrib/*.txt \
|
|
53
|
+
contrib/asm386/*.asm contrib/asm386/*.c \
|
|
54
|
+
contrib/asm386/*.bat contrib/asm386/zlibvc.d?? contrib/iostream/*.cpp \
|
|
55
|
+
contrib/iostream/*.h contrib/iostream2/*.h contrib/iostream2/*.cpp \
|
|
56
|
+
contrib/untgz/Makefile contrib/untgz/*.c contrib/untgz/*.w32
|
|
57
|
+
|
|
58
|
+
all: example.exe minigzip.exe
|
|
59
|
+
|
|
60
|
+
test: all
|
|
61
|
+
@LD_LIBRARY_PATH=.:$(LD_LIBRARY_PATH) ; export LD_LIBRARY_PATH; \
|
|
62
|
+
echo hello world | ./minigzip | ./minigzip -d || \
|
|
63
|
+
echo ' *** minigzip test FAILED ***' ; \
|
|
64
|
+
if ./example; then \
|
|
65
|
+
echo ' *** zlib test OK ***'; \
|
|
66
|
+
else \
|
|
67
|
+
echo ' *** zlib test FAILED ***'; \
|
|
68
|
+
fi
|
|
69
|
+
|
|
70
|
+
$(ZLIB): $(OBJS)
|
|
71
|
+
$(AR) $@ $(OBJS)
|
|
72
|
+
-@ ($(RANLIB) $@ || true) >/dev/null 2>&1
|
|
73
|
+
|
|
74
|
+
$(SHAREDLIB): $(OBJS) os2/z.def
|
|
75
|
+
$(LDSHARED) -o $@ $^
|
|
76
|
+
|
|
77
|
+
$(SHAREDLIBIMP): os2/z.def
|
|
78
|
+
$(IMPLIB) -o $@ $^
|
|
79
|
+
|
|
80
|
+
example.exe: example.o $(LIBS)
|
|
81
|
+
$(CC) $(CFLAGS) -o $@ example.o $(LDFLAGS)
|
|
82
|
+
|
|
83
|
+
minigzip.exe: minigzip.o $(LIBS)
|
|
84
|
+
$(CC) $(CFLAGS) -o $@ minigzip.o $(LDFLAGS)
|
|
85
|
+
|
|
86
|
+
clean:
|
|
87
|
+
rm -f *.o *~ example minigzip libz.a libz.so* foo.gz
|
|
88
|
+
|
|
89
|
+
distclean: clean
|
|
90
|
+
|
|
91
|
+
zip:
|
|
92
|
+
mv Makefile Makefile~; cp -p Makefile.in Makefile
|
|
93
|
+
rm -f test.c ztest*.c
|
|
94
|
+
v=`sed -n -e 's/\.//g' -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h`;\
|
|
95
|
+
zip -ul9 zlib$$v $(DISTFILES)
|
|
96
|
+
mv Makefile~ Makefile
|
|
97
|
+
|
|
98
|
+
dist:
|
|
99
|
+
mv Makefile Makefile~; cp -p Makefile.in Makefile
|
|
100
|
+
rm -f test.c ztest*.c
|
|
101
|
+
d=zlib-`sed -n '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h`;\
|
|
102
|
+
rm -f $$d.tar.gz; \
|
|
103
|
+
if test ! -d ../$$d; then rm -f ../$$d; ln -s `pwd` ../$$d; fi; \
|
|
104
|
+
files=""; \
|
|
105
|
+
for f in $(DISTFILES); do files="$$files $$d/$$f"; done; \
|
|
106
|
+
cd ..; \
|
|
107
|
+
GZIP=-9 $(TAR) chofz $$d/$$d.tar.gz $$files; \
|
|
108
|
+
if test ! -d $$d; then rm -f $$d; fi
|
|
109
|
+
mv Makefile~ Makefile
|
|
110
|
+
|
|
111
|
+
tags:
|
|
112
|
+
etags *.[ch]
|
|
113
|
+
|
|
114
|
+
depend:
|
|
115
|
+
makedepend -- $(CFLAGS) -- *.[ch]
|
|
116
|
+
|
|
117
|
+
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
118
|
+
|
|
119
|
+
adler32.o: zlib.h zconf.h
|
|
120
|
+
compress.o: zlib.h zconf.h
|
|
121
|
+
crc32.o: zlib.h zconf.h
|
|
122
|
+
deflate.o: deflate.h zutil.h zlib.h zconf.h
|
|
123
|
+
example.o: zlib.h zconf.h
|
|
124
|
+
gzio.o: zutil.h zlib.h zconf.h
|
|
125
|
+
infblock.o: infblock.h inftrees.h infcodes.h infutil.h zutil.h zlib.h zconf.h
|
|
126
|
+
infcodes.o: zutil.h zlib.h zconf.h
|
|
127
|
+
infcodes.o: inftrees.h infblock.h infcodes.h infutil.h inffast.h
|
|
128
|
+
inffast.o: zutil.h zlib.h zconf.h inftrees.h
|
|
129
|
+
inffast.o: infblock.h infcodes.h infutil.h inffast.h
|
|
130
|
+
inflate.o: zutil.h zlib.h zconf.h infblock.h
|
|
131
|
+
inftrees.o: zutil.h zlib.h zconf.h inftrees.h
|
|
132
|
+
infutil.o: zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h
|
|
133
|
+
minigzip.o: zlib.h zconf.h
|
|
134
|
+
trees.o: deflate.h zutil.h zlib.h zconf.h trees.h
|
|
135
|
+
uncompr.o: zlib.h zconf.h
|
|
136
|
+
zutil.o: zutil.h zlib.h zconf.h
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
;
|
|
2
|
+
; Slightly modified version of ../nt/zlib.dnt :-)
|
|
3
|
+
;
|
|
4
|
+
|
|
5
|
+
LIBRARY Z
|
|
6
|
+
DESCRIPTION "Zlib compression library for OS/2"
|
|
7
|
+
CODE PRELOAD MOVEABLE DISCARDABLE
|
|
8
|
+
DATA PRELOAD MOVEABLE MULTIPLE
|
|
9
|
+
|
|
10
|
+
EXPORTS
|
|
11
|
+
adler32
|
|
12
|
+
compress
|
|
13
|
+
crc32
|
|
14
|
+
deflate
|
|
15
|
+
deflateCopy
|
|
16
|
+
deflateEnd
|
|
17
|
+
deflateInit2_
|
|
18
|
+
deflateInit_
|
|
19
|
+
deflateParams
|
|
20
|
+
deflateReset
|
|
21
|
+
deflateSetDictionary
|
|
22
|
+
gzclose
|
|
23
|
+
gzdopen
|
|
24
|
+
gzerror
|
|
25
|
+
gzflush
|
|
26
|
+
gzopen
|
|
27
|
+
gzread
|
|
28
|
+
gzwrite
|
|
29
|
+
inflate
|
|
30
|
+
inflateEnd
|
|
31
|
+
inflateInit2_
|
|
32
|
+
inflateInit_
|
|
33
|
+
inflateReset
|
|
34
|
+
inflateSetDictionary
|
|
35
|
+
inflateSync
|
|
36
|
+
uncompress
|
|
37
|
+
zlibVersion
|
|
38
|
+
gzprintf
|
|
39
|
+
gzputc
|
|
40
|
+
gzgetc
|
|
41
|
+
gzseek
|
|
42
|
+
gzrewind
|
|
43
|
+
gztell
|
|
44
|
+
gzeof
|
|
45
|
+
gzsetparams
|
|
46
|
+
zError
|
|
47
|
+
inflateSyncPoint
|
|
48
|
+
get_crc_table
|
|
49
|
+
compress2
|
|
50
|
+
gzputs
|
|
51
|
+
gzgets
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
See below some functions declarations for Visual Basic.
|
|
2
|
+
|
|
3
|
+
Frequently Asked Question:
|
|
4
|
+
|
|
5
|
+
Q: Each time I use the compress function I get the -5 error (not enough
|
|
6
|
+
room in the output buffer).
|
|
7
|
+
|
|
8
|
+
A: Make sure that the length of the compressed buffer is passed by
|
|
9
|
+
reference ("as any"), not by value ("as long"). Also check that
|
|
10
|
+
before the call of compress this length is equal to the total size of
|
|
11
|
+
the compressed buffer and not zero.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
From: "Jon Caruana" <jon-net@usa.net>
|
|
15
|
+
Subject: Re: How to port zlib declares to vb?
|
|
16
|
+
Date: Mon, 28 Oct 1996 18:33:03 -0600
|
|
17
|
+
|
|
18
|
+
Got the answer! (I haven't had time to check this but it's what I got, and
|
|
19
|
+
looks correct):
|
|
20
|
+
|
|
21
|
+
He has the following routines working:
|
|
22
|
+
compress
|
|
23
|
+
uncompress
|
|
24
|
+
gzopen
|
|
25
|
+
gzwrite
|
|
26
|
+
gzread
|
|
27
|
+
gzclose
|
|
28
|
+
|
|
29
|
+
Declares follow: (Quoted from Carlos Rios <c_rios@sonda.cl>, in Vb4 form)
|
|
30
|
+
|
|
31
|
+
#If Win16 Then 'Use Win16 calls.
|
|
32
|
+
Declare Function compress Lib "ZLIB.DLL" (ByVal compr As
|
|
33
|
+
String, comprLen As Any, ByVal buf As String, ByVal buflen
|
|
34
|
+
As Long) As Integer
|
|
35
|
+
Declare Function uncompress Lib "ZLIB.DLL" (ByVal uncompr
|
|
36
|
+
As String, uncomprLen As Any, ByVal compr As String, ByVal
|
|
37
|
+
lcompr As Long) As Integer
|
|
38
|
+
Declare Function gzopen Lib "ZLIB.DLL" (ByVal filePath As
|
|
39
|
+
String, ByVal mode As String) As Long
|
|
40
|
+
Declare Function gzread Lib "ZLIB.DLL" (ByVal file As
|
|
41
|
+
Long, ByVal uncompr As String, ByVal uncomprLen As Integer)
|
|
42
|
+
As Integer
|
|
43
|
+
Declare Function gzwrite Lib "ZLIB.DLL" (ByVal file As
|
|
44
|
+
Long, ByVal uncompr As String, ByVal uncomprLen As Integer)
|
|
45
|
+
As Integer
|
|
46
|
+
Declare Function gzclose Lib "ZLIB.DLL" (ByVal file As
|
|
47
|
+
Long) As Integer
|
|
48
|
+
#Else
|
|
49
|
+
Declare Function compress Lib "ZLIB32.DLL"
|
|
50
|
+
(ByVal compr As String, comprLen As Any, ByVal buf As
|
|
51
|
+
String, ByVal buflen As Long) As Integer
|
|
52
|
+
Declare Function uncompress Lib "ZLIB32.DLL"
|
|
53
|
+
(ByVal uncompr As String, uncomprLen As Any, ByVal compr As
|
|
54
|
+
String, ByVal lcompr As Long) As Long
|
|
55
|
+
Declare Function gzopen Lib "ZLIB32.DLL"
|
|
56
|
+
(ByVal file As String, ByVal mode As String) As Long
|
|
57
|
+
Declare Function gzread Lib "ZLIB32.DLL"
|
|
58
|
+
(ByVal file As Long, ByVal uncompr As String, ByVal
|
|
59
|
+
uncomprLen As Long) As Long
|
|
60
|
+
Declare Function gzwrite Lib "ZLIB32.DLL"
|
|
61
|
+
(ByVal file As Long, ByVal uncompr As String, ByVal
|
|
62
|
+
uncomprLen As Long) As Long
|
|
63
|
+
Declare Function gzclose Lib "ZLIB32.DLL"
|
|
64
|
+
(ByVal file As Long) As Long
|
|
65
|
+
#End If
|
|
66
|
+
|
|
67
|
+
-Jon Caruana
|
|
68
|
+
jon-net@usa.net
|
|
69
|
+
Microsoft Sitebuilder Network Level 1 Member - HTML Writer's Guild Member
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
Here is another example from Michael <michael_borgsys@hotmail.com> that he
|
|
73
|
+
says conforms to the VB guidelines, and that solves the problem of not
|
|
74
|
+
knowing the uncompressed size by storing it at the end of the file:
|
|
75
|
+
|
|
76
|
+
'Calling the functions:
|
|
77
|
+
'bracket meaning: <parameter> [optional] {Range of possible values}
|
|
78
|
+
'Call subCompressFile(<path with filename to compress> [, <path with
|
|
79
|
+
filename to write to>, [level of compression {1..9}]])
|
|
80
|
+
'Call subUncompressFile(<path with filename to compress>)
|
|
81
|
+
|
|
82
|
+
Option Explicit
|
|
83
|
+
Private lngpvtPcnSml As Long 'Stores value for 'lngPercentSmaller'
|
|
84
|
+
Private Const SUCCESS As Long = 0
|
|
85
|
+
Private Const strFilExt As String = ".cpr"
|
|
86
|
+
Private Declare Function lngfncCpr Lib "zlib.dll" Alias "compress2" (ByRef
|
|
87
|
+
dest As Any, ByRef destLen As Any, ByRef src As Any, ByVal srcLen As Long,
|
|
88
|
+
ByVal level As Integer) As Long
|
|
89
|
+
Private Declare Function lngfncUcp Lib "zlib.dll" Alias "uncompress" (ByRef
|
|
90
|
+
dest As Any, ByRef destLen As Any, ByRef src As Any, ByVal srcLen As Long)
|
|
91
|
+
As Long
|
|
92
|
+
|
|
93
|
+
Public Sub subCompressFile(ByVal strargOriFilPth As String, Optional ByVal
|
|
94
|
+
strargCprFilPth As String, Optional ByVal intLvl As Integer = 9)
|
|
95
|
+
Dim strCprPth As String
|
|
96
|
+
Dim lngOriSiz As Long
|
|
97
|
+
Dim lngCprSiz As Long
|
|
98
|
+
Dim bytaryOri() As Byte
|
|
99
|
+
Dim bytaryCpr() As Byte
|
|
100
|
+
lngOriSiz = FileLen(strargOriFilPth)
|
|
101
|
+
ReDim bytaryOri(lngOriSiz - 1)
|
|
102
|
+
Open strargOriFilPth For Binary Access Read As #1
|
|
103
|
+
Get #1, , bytaryOri()
|
|
104
|
+
Close #1
|
|
105
|
+
strCprPth = IIf(strargCprFilPth = "", strargOriFilPth, strargCprFilPth)
|
|
106
|
+
'Select file path and name
|
|
107
|
+
strCprPth = strCprPth & IIf(Right(strCprPth, Len(strFilExt)) =
|
|
108
|
+
strFilExt, "", strFilExt) 'Add file extension if not exists
|
|
109
|
+
lngCprSiz = (lngOriSiz * 1.01) + 12 'Compression needs temporary a bit
|
|
110
|
+
more space then original file size
|
|
111
|
+
ReDim bytaryCpr(lngCprSiz - 1)
|
|
112
|
+
If lngfncCpr(bytaryCpr(0), lngCprSiz, bytaryOri(0), lngOriSiz, intLvl) =
|
|
113
|
+
SUCCESS Then
|
|
114
|
+
lngpvtPcnSml = (1# - (lngCprSiz / lngOriSiz)) * 100
|
|
115
|
+
ReDim Preserve bytaryCpr(lngCprSiz - 1)
|
|
116
|
+
Open strCprPth For Binary Access Write As #1
|
|
117
|
+
Put #1, , bytaryCpr()
|
|
118
|
+
Put #1, , lngOriSiz 'Add the original size value to the end
|
|
119
|
+
(last 4 bytes)
|
|
120
|
+
Close #1
|
|
121
|
+
Else
|
|
122
|
+
MsgBox "Compression error"
|
|
123
|
+
End If
|
|
124
|
+
Erase bytaryCpr
|
|
125
|
+
Erase bytaryOri
|
|
126
|
+
End Sub
|
|
127
|
+
|
|
128
|
+
Public Sub subUncompressFile(ByVal strargFilPth As String)
|
|
129
|
+
Dim bytaryCpr() As Byte
|
|
130
|
+
Dim bytaryOri() As Byte
|
|
131
|
+
Dim lngOriSiz As Long
|
|
132
|
+
Dim lngCprSiz As Long
|
|
133
|
+
Dim strOriPth As String
|
|
134
|
+
lngCprSiz = FileLen(strargFilPth)
|
|
135
|
+
ReDim bytaryCpr(lngCprSiz - 1)
|
|
136
|
+
Open strargFilPth For Binary Access Read As #1
|
|
137
|
+
Get #1, , bytaryCpr()
|
|
138
|
+
Close #1
|
|
139
|
+
'Read the original file size value:
|
|
140
|
+
lngOriSiz = bytaryCpr(lngCprSiz - 1) * (2 ^ 24) _
|
|
141
|
+
+ bytaryCpr(lngCprSiz - 2) * (2 ^ 16) _
|
|
142
|
+
+ bytaryCpr(lngCprSiz - 3) * (2 ^ 8) _
|
|
143
|
+
+ bytaryCpr(lngCprSiz - 4)
|
|
144
|
+
ReDim Preserve bytaryCpr(lngCprSiz - 5) 'Cut of the original size value
|
|
145
|
+
ReDim bytaryOri(lngOriSiz - 1)
|
|
146
|
+
If lngfncUcp(bytaryOri(0), lngOriSiz, bytaryCpr(0), lngCprSiz) = SUCCESS
|
|
147
|
+
Then
|
|
148
|
+
strOriPth = Left(strargFilPth, Len(strargFilPth) - Len(strFilExt))
|
|
149
|
+
Open strOriPth For Binary Access Write As #1
|
|
150
|
+
Put #1, , bytaryOri()
|
|
151
|
+
Close #1
|
|
152
|
+
Else
|
|
153
|
+
MsgBox "Uncompression error"
|
|
154
|
+
End If
|
|
155
|
+
Erase bytaryCpr
|
|
156
|
+
Erase bytaryOri
|
|
157
|
+
End Sub
|
|
158
|
+
Public Property Get lngPercentSmaller() As Long
|
|
159
|
+
lngPercentSmaller = lngpvtPcnSml
|
|
160
|
+
End Property
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
ZLIB version 1.3.1.1 for OS/400 installation instructions
|
|
2
|
+
|
|
3
|
+
1) Download and unpack the zlib tarball to some IFS directory.
|
|
4
|
+
(i.e.: /path/to/the/zlib/ifs/source/directory)
|
|
5
|
+
|
|
6
|
+
If the installed IFS command supports gzip format, this is straightforward,
|
|
7
|
+
else you have to unpack first to some directory on a system supporting it,
|
|
8
|
+
then move the whole directory to the IFS via the network (via SMB or FTP).
|
|
9
|
+
|
|
10
|
+
2) Edit the configuration parameters in the compilation script.
|
|
11
|
+
|
|
12
|
+
EDTF STMF('/path/to/the/zlib/ifs/source/directory/os400/make.sh')
|
|
13
|
+
|
|
14
|
+
Tune the parameters according to your needs if not matching the defaults.
|
|
15
|
+
Save the file and exit after edition.
|
|
16
|
+
|
|
17
|
+
3) Enter qshell, then work in the zlib OS/400 specific directory.
|
|
18
|
+
|
|
19
|
+
QSH
|
|
20
|
+
cd /path/to/the/zlib/ifs/source/directory/os400
|
|
21
|
+
|
|
22
|
+
4) Compile and install
|
|
23
|
+
|
|
24
|
+
sh make.sh
|
|
25
|
+
|
|
26
|
+
The script will:
|
|
27
|
+
- create the libraries, objects and IFS directories for the zlib environment,
|
|
28
|
+
- compile all modules,
|
|
29
|
+
- create a service program,
|
|
30
|
+
- create a static and a dynamic binding directory,
|
|
31
|
+
- install header files for C/C++ and for ILE/RPG, both for compilation in
|
|
32
|
+
DB2 and IFS environments.
|
|
33
|
+
|
|
34
|
+
That's all.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
Notes: For OS/400 ILE RPG programmers, a /copy member defining the ZLIB
|
|
38
|
+
API prototypes for ILE RPG can be found in ZLIB/H(ZLIB.INC).
|
|
39
|
+
In the ILE environment, the same definitions are available from
|
|
40
|
+
file zlib.inc located in the same IFS include directory as the
|
|
41
|
+
C/C++ header files.
|
|
42
|
+
Please read comments in this member for more information.
|
|
43
|
+
|
|
44
|
+
Remember that most foreign textual data are ASCII coded: this
|
|
45
|
+
implementation does not handle conversion from/to ASCII, so
|
|
46
|
+
text data code conversions must be done explicitly.
|
|
47
|
+
|
|
48
|
+
Mainly for the reason above, always open zipped files in binary mode.
|