virgil-crypto 2.0.2b0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.gitmodules +3 -0
- data/Gemfile +4 -0
- data/README.md +36 -0
- data/Rakefile +12 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/ext/native/extconf.rb +25 -0
- data/ext/native/src/.gitignore +17 -0
- data/ext/native/src/.travis.yml +50 -0
- data/ext/native/src/CMakeLists.txt +336 -0
- data/ext/native/src/ChangeLog +440 -0
- data/ext/native/src/Jenkinsfile +208 -0
- data/ext/native/src/LICENSE +33 -0
- data/ext/native/src/README.md +195 -0
- data/ext/native/src/VERSION +1 -0
- data/ext/native/src/benchmark/CMakeLists.txt +52 -0
- data/ext/native/src/benchmark/benchmark_cipher.cxx +99 -0
- data/ext/native/src/benchmark/benchmark_hash.cxx +85 -0
- data/ext/native/src/benchmark/benchmark_signer.cxx +89 -0
- data/ext/native/src/benchmark/benchpress.hpp +464 -0
- data/ext/native/src/benchmark/cxxopts.hpp +1312 -0
- data/ext/native/src/ci/configure.sh +71 -0
- data/ext/native/src/ci/install-cmake.sh +48 -0
- data/ext/native/src/ci/install-credentials.sh +45 -0
- data/ext/native/src/ci/install-doxygen.sh +48 -0
- data/ext/native/src/ci/install-phpunit.sh +47 -0
- data/ext/native/src/ci/install-swig.sh +47 -0
- data/ext/native/src/ci/publish-docs.sh +125 -0
- data/ext/native/src/ci/run.sh +55 -0
- data/ext/native/src/ci/travis_ci_rsa.enc +0 -0
- data/ext/native/src/cmake/android.toolchain.cmake +1697 -0
- data/ext/native/src/cmake/apple.toolchain.cmake +323 -0
- data/ext/native/src/cmake/aux_source_directory_to_file.cmake +70 -0
- data/ext/native/src/cmake/check_pointer_size.cmake +64 -0
- data/ext/native/src/cmake/cmake_args.cmake +64 -0
- data/ext/native/src/cmake/copy_all_files.cmake +70 -0
- data/ext/native/src/cmake/file_regex_replace.cmake +69 -0
- data/ext/native/src/cmake/find_host_utils.cmake +54 -0
- data/ext/native/src/cmake/pnacl.toolchain.cmake +87 -0
- data/ext/native/src/cmake/uppercase_first_char.cmake +45 -0
- data/ext/native/src/cmake/uppercase_namespaces.cmake +86 -0
- data/ext/native/src/cmake/virgil_depends.cmake +53 -0
- data/ext/native/src/cmake/virgil_depends_local.cmake +325 -0
- data/ext/native/src/docs/.gitignore +0 -0
- data/ext/native/src/lib/CMakeLists.txt +162 -0
- data/ext/native/src/lib/Doxyfile.in +2310 -0
- data/ext/native/src/lib/cmake/config.cmake.in +40 -0
- data/ext/native/src/lib/include/CMakeLists.txt +68 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilByteArray.h +143 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilByteArrayUtils.h +121 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilChunkCipher.h +117 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilCipher.h +93 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilCipherBase.h +302 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilCryptoError.h +136 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilCryptoException.h +117 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilCustomParams.h +159 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilDataSink.h +77 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilDataSource.h +66 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilKeyPair.h +274 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilSigner.h +84 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilStreamCipher.h +99 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilStreamSigner.h +80 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilTinyCipher.h +283 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilVersion.h +88 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilAsymmetricCipher.h +395 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilBase64.h +70 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilHash.h +261 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilKDF.h +175 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilPBE.h +164 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilPBKDF.h +198 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilRandom.h +121 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilSymmetricCipher.h +305 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilSystemCryptoError.h +149 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/asn1/VirgilAsn1Compatible.h +100 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/asn1/VirgilAsn1Reader.h +179 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/asn1/VirgilAsn1Writer.h +241 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/asn1/internal/VirgilAsn1Alg.h +114 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSContent.h +113 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSContentInfo.h +91 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSEncryptedContent.h +90 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSEnvelopedData.h +116 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSKeyTransRecipient.h +103 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSPasswordRecipient.h +98 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/internal/VirgilOID.h +81 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/internal/VirgilTagFilter.h +95 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/internal/mbedtls_context.h +93 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/internal/mbedtls_context_policy_spec.h +231 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/internal/mbedtls_type_utils.h +407 -0
- data/ext/native/src/lib/include/virgil/crypto/internal/utils.h +58 -0
- data/ext/native/src/lib/include/virgil/crypto/stream/VirgilBytesDataSink.h +84 -0
- data/ext/native/src/lib/include/virgil/crypto/stream/VirgilBytesDataSource.h +90 -0
- data/ext/native/src/lib/include/virgil/crypto/stream/VirgilStreamDataSink.h +79 -0
- data/ext/native/src/lib/include/virgil/crypto/stream/VirgilStreamDataSource.h +84 -0
- data/ext/native/src/lib/mainpage.dox +60 -0
- data/ext/native/src/lib/src/VirgilAsn1Alg.cxx +122 -0
- data/ext/native/src/lib/src/VirgilAsn1Compatible.cxx +67 -0
- data/ext/native/src/lib/src/VirgilAsn1Reader.cxx +190 -0
- data/ext/native/src/lib/src/VirgilAsn1Writer.cxx +329 -0
- data/ext/native/src/lib/src/VirgilAsymmetricCipher.cxx +633 -0
- data/ext/native/src/lib/src/VirgilBase64.cxx +94 -0
- data/ext/native/src/lib/src/VirgilByteArrayUtils.cxx +222 -0
- data/ext/native/src/lib/src/VirgilCMSContent.cxx +124 -0
- data/ext/native/src/lib/src/VirgilCMSContentInfo.cxx +111 -0
- data/ext/native/src/lib/src/VirgilCMSEncryptedContent.cxx +84 -0
- data/ext/native/src/lib/src/VirgilCMSEnvelopedData.cxx +131 -0
- data/ext/native/src/lib/src/VirgilCMSKeyTransRecipient.cxx +96 -0
- data/ext/native/src/lib/src/VirgilCMSPasswordRecipient.cxx +93 -0
- data/ext/native/src/lib/src/VirgilChunkCipher.cxx +215 -0
- data/ext/native/src/lib/src/VirgilCipher.cxx +92 -0
- data/ext/native/src/lib/src/VirgilCipherBase.cxx +340 -0
- data/ext/native/src/lib/src/VirgilCryptoError.cxx +88 -0
- data/ext/native/src/lib/src/VirgilCryptoException.cxx +84 -0
- data/ext/native/src/lib/src/VirgilCustomParams.cxx +193 -0
- data/ext/native/src/lib/src/VirgilDataSink.cxx +46 -0
- data/ext/native/src/lib/src/VirgilHash.cxx +269 -0
- data/ext/native/src/lib/src/VirgilKDF.cxx +209 -0
- data/ext/native/src/lib/src/VirgilKeyPair.cxx +165 -0
- data/ext/native/src/lib/src/VirgilPBE.cxx +215 -0
- data/ext/native/src/lib/src/VirgilPBKDF.cxx +286 -0
- data/ext/native/src/lib/src/VirgilRandom.cxx +112 -0
- data/ext/native/src/lib/src/VirgilSigner.cxx +91 -0
- data/ext/native/src/lib/src/VirgilStreamCipher.cxx +116 -0
- data/ext/native/src/lib/src/VirgilStreamSigner.cxx +98 -0
- data/ext/native/src/lib/src/VirgilSymmetricCipher.cxx +369 -0
- data/ext/native/src/lib/src/VirgilSystemCryptoError.cxx +58 -0
- data/ext/native/src/lib/src/VirgilTagFilter.cxx +76 -0
- data/ext/native/src/lib/src/VirgilTinyCipher.cxx +648 -0
- data/ext/native/src/lib/src/VirgilVersion.cxx.in +28 -0
- data/ext/native/src/lib/src/stream/VirgilBytesDataSink.cxx +61 -0
- data/ext/native/src/lib/src/stream/VirgilBytesDataSource.cxx +68 -0
- data/ext/native/src/lib/src/stream/VirgilStreamDataSink.cxx +57 -0
- data/ext/native/src/lib/src/stream/VirgilStreamDataSource.cxx +68 -0
- data/ext/native/src/libs_ext/mbedtls/configs/config.h +84 -0
- data/ext/native/src/libs_ext/mbedtls/configs/config_desktop.h +13 -0
- data/ext/native/src/libs_ext/mbedtls/configs/config_pnacl.h +8 -0
- data/ext/native/src/libs_ext/mbedtls/mbedtls.cmake +102 -0
- data/ext/native/src/libs_ext/rapidjson/rapidjson.cmake +61 -0
- data/ext/native/src/libs_ext/tinyformat/cmake/config.cmake.in +43 -0
- data/ext/native/src/libs_ext/tinyformat/src/tinyformat.h +1003 -0
- data/ext/native/src/libs_ext/tinyformat/tinyformat.cmake +77 -0
- data/ext/native/src/migration-2.0.md +108 -0
- data/ext/native/src/tests/CMakeLists.txt +50 -0
- data/ext/native/src/tests/catch.hpp +10200 -0
- data/ext/native/src/tests/test_asn1_writer.cxx +268 -0
- data/ext/native/src/tests/test_asymmetric_cipher.cxx +140 -0
- data/ext/native/src/tests/test_base64.cxx +102 -0
- data/ext/native/src/tests/test_byte_array_utils.cxx +102 -0
- data/ext/native/src/tests/test_chunk_cipher.cxx +310 -0
- data/ext/native/src/tests/test_cipher.cxx +402 -0
- data/ext/native/src/tests/test_cipher_base.cxx +353 -0
- data/ext/native/src/tests/test_contract_copy_move.cxx +131 -0
- data/ext/native/src/tests/test_hash.cxx +153 -0
- data/ext/native/src/tests/test_key_pair.cxx +204 -0
- data/ext/native/src/tests/test_pbe.cxx +95 -0
- data/ext/native/src/tests/test_pbkdf.cxx +368 -0
- data/ext/native/src/tests/test_random.cxx +93 -0
- data/ext/native/src/tests/test_runner.cxx +43 -0
- data/ext/native/src/tests/test_signer.cxx +111 -0
- data/ext/native/src/tests/test_stream_cipher.cxx +277 -0
- data/ext/native/src/tests/test_symmetric_cipher.cxx +105 -0
- data/ext/native/src/tests/test_tag_filter.cxx +74 -0
- data/ext/native/src/tests/test_tiny_cipher.cxx +172 -0
- data/ext/native/src/utils/build.bat +274 -0
- data/ext/native/src/utils/build.sh +354 -0
- data/ext/native/src/utils/env.sh +39 -0
- data/ext/native/src/utils/zip.vbs +45 -0
- data/ext/native/src/wrappers/CMakeLists.txt +63 -0
- data/ext/native/src/wrappers/asmjs/CMakeLists.txt +109 -0
- data/ext/native/src/wrappers/asmjs/error.js +41 -0
- data/ext/native/src/wrappers/asmjs/example.html +77 -0
- data/ext/native/src/wrappers/asmjs/helpers.js +155 -0
- data/ext/native/src/wrappers/asmjs/patch_embind.pl +115 -0
- data/ext/native/src/wrappers/asmjs/wrapper.cxx +340 -0
- data/ext/native/src/wrappers/java/CMakeLists.txt +156 -0
- data/ext/native/src/wrappers/java/src/VirgilStreamDataSink.java +62 -0
- data/ext/native/src/wrappers/java/src/VirgilStreamDataSource.java +72 -0
- data/ext/native/src/wrappers/net/CMakeLists.txt +170 -0
- data/ext/native/src/wrappers/net/cmake/FindCSharp.cmake +72 -0
- data/ext/native/src/wrappers/net/cmake/FindDotNetFrameworkSdk.cmake +92 -0
- data/ext/native/src/wrappers/net/cmake/FindMono.cmake +162 -0
- data/ext/native/src/wrappers/net/cmake/UseCSharp.cmake +119 -0
- data/ext/native/src/wrappers/net/cmake/UseDotNetFrameworkSdk.cmake +12 -0
- data/ext/native/src/wrappers/net/cmake/UseMono.cmake +16 -0
- data/ext/native/src/wrappers/net/src/AssemblyInfo.cs +56 -0
- data/ext/native/src/wrappers/net/src/VirgilStreamDataSink.cs +63 -0
- data/ext/native/src/wrappers/net/src/VirgilStreamDataSource.cs +74 -0
- data/ext/native/src/wrappers/nodejs/CMakeLists.txt +134 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/android-ifaddrs.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/ares.h +636 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/ares_version.h +24 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/libplatform/libplatform.h +38 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/nameser.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node.h +447 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node_buffer.h +125 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node_internals.h +236 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node_object_wrap.h +137 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node_version.h +69 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/aes.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/asn1.h +1417 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/asn1_mac.h +579 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/asn1t.h +973 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/bio.h +875 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/blowfish.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/bn.h +957 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/buffer.h +118 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/camellia.h +132 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/cast.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/cmac.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/cms.h +505 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/comp.h +79 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/conf.h +267 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/conf_api.h +89 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/crypto.h +661 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/des.h +257 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/des_old.h +497 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/dh.h +287 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/dsa.h +329 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/dso.h +451 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/dtls1.h +268 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/e_os2.h +328 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ebcdic.h +26 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ec.h +1193 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ecdh.h +127 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ecdsa.h +260 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/engine.h +961 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/err.h +389 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/evp.h +1480 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/hmac.h +109 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/idea.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/krb5_asn.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/kssl.h +197 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/lhash.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/md4.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/md5.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/mdc2.h +94 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/modes.h +153 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/obj_mac.h +4031 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/objects.h +1143 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ocsp.h +626 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/opensslconf.h +333 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/opensslv.h +97 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ossl_typ.h +209 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pem.h +611 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pem2.h +70 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pkcs12.h +342 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pkcs7.h +481 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pqueue.h +99 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/rand.h +150 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/rc2.h +103 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/rc4.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ripemd.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/rsa.h +610 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/safestack.h +2536 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/seed.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/sha.h +214 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/srp.h +169 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/srtp.h +148 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ssl.h +2766 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ssl2.h +265 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ssl23.h +84 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ssl3.h +730 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/stack.h +106 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/symhacks.h +486 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/tls1.h +788 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ts.h +862 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/txt_db.h +112 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ui.h +415 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ui_compat.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/whrlpool.h +41 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/x509.h +1301 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/x509_vfy.h +595 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/x509v3.h +1015 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/pthread-fixes.h +72 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/smalloc.h +153 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/stdint-msvc2008.h +247 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/tree.h +768 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-aix.h +32 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-bsd.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-darwin.h +61 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-errno.h +418 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-linux.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-sunos.h +44 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-threadpool.h +37 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-unix.h +383 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-version.h +39 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-win.h +647 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv.h +1467 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-debug.h +267 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-platform.h +62 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-profiler.h +611 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-testing.h +48 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-util.h +487 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-version.h +20 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8.h +6741 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8config.h +451 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8stdint.h +33 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/zconf.h +511 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/zlib.h +1768 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/android-ifaddrs.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/ares.h +589 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/ares_version.h +24 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/libplatform/libplatform.h +38 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/nameser.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node.h +470 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node_buffer.h +65 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node_internals.h +339 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node_object_wrap.h +116 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node_version.h +45 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/aes.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/BSD-x86/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/BSD-x86_64/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/VC-WIN32/opensslconf.h +259 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/VC-WIN64A/opensslconf.h +259 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/aix-gcc/opensslconf.h +261 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/aix64-gcc/opensslconf.h +261 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/darwin-i386-cc/opensslconf.h +261 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/darwin64-x86_64-cc/opensslconf.h +261 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-aarch64/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-armv4/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-elf/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-ppc/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-ppc64/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-x32/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-x86_64/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/solaris-x86-gcc/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +258 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/asn1.h +1419 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/asn1_mac.h +579 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/asn1t.h +973 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/bio.h +879 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/blowfish.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/bn.h +939 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/buffer.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/camellia.h +132 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/cast.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/cmac.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/cms.h +555 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/comp.h +79 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/conf.h +267 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/conf_api.h +89 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/crypto.h +661 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/des.h +257 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/des_old.h +497 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/dh.h +392 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/dsa.h +332 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/dso.h +451 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/dtls1.h +272 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/e_os2.h +328 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ebcdic.h +26 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ec.h +1282 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ecdh.h +134 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ecdsa.h +335 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/engine.h +960 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/err.h +389 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/evp.h +1534 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/hmac.h +109 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/idea.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/krb5_asn.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/kssl.h +197 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/lhash.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/md4.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/md5.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/mdc2.h +94 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/modes.h +163 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/obj_mac.h +4194 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/objects.h +1143 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ocsp.h +637 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/opensslconf.h +138 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/opensslv.h +97 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ossl_typ.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pem.h +615 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pem2.h +70 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pkcs12.h +342 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pkcs7.h +481 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pqueue.h +99 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/rand.h +150 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/rc2.h +103 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/rc4.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ripemd.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/rsa.h +664 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/safestack.h +2672 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/seed.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/sha.h +214 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/srp.h +169 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/srtp.h +147 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ssl.h +3164 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ssl2.h +265 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ssl23.h +84 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ssl3.h +774 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/stack.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/symhacks.h +516 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/tls1.h +813 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ts.h +862 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/txt_db.h +112 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ui.h +415 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ui_compat.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/whrlpool.h +41 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/x509.h +1327 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/x509_vfy.h +647 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/x509v3.h +1055 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/pthread-fixes.h +72 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/stdint-msvc2008.h +247 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/tree.h +768 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-aix.h +32 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-bsd.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-darwin.h +61 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-errno.h +418 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-linux.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-sunos.h +44 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-threadpool.h +37 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-unix.h +383 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-version.h +43 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-win.h +655 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv.h +1472 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-debug.h +280 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-platform.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-profiler.h +648 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-testing.h +48 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-util.h +640 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-version.h +20 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8.h +8366 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8config.h +424 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/zconf.h +511 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/zlib.h +1768 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/android-ifaddrs.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/ares.h +589 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/ares_version.h +24 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/common.gypi +337 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/config.gypi +44 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/libplatform/libplatform.h +38 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/nameser.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node.h +470 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node_buffer.h +65 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node_internals.h +333 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node_object_wrap.h +116 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node_version.h +57 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/aes.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/BSD-x86/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/BSD-x86_64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/VC-WIN32/opensslconf.h +271 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/VC-WIN64A/opensslconf.h +271 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/aix-gcc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/aix64-gcc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/darwin-i386-cc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/darwin64-x86_64-cc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-aarch64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-armv4/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-elf/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-ppc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-ppc64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-x32/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-x86_64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/solaris-x86-gcc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/asn1.h +1419 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/asn1_mac.h +579 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/asn1t.h +973 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/bio.h +883 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/blowfish.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/bn.h +949 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/buffer.h +125 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/camellia.h +132 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/cast.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/cmac.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/cms.h +555 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/comp.h +83 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/conf.h +267 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/conf_api.h +89 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/crypto.h +661 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/des.h +257 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/des_old.h +497 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/dh.h +393 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/dsa.h +332 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/dso.h +451 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/dtls1.h +272 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/e_os2.h +328 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ebcdic.h +26 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ec.h +1282 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ecdh.h +134 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ecdsa.h +335 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/engine.h +960 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/err.h +389 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/evp.h +1534 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/hmac.h +109 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/idea.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/krb5_asn.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/kssl.h +197 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/lhash.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/md4.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/md5.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/mdc2.h +94 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/modes.h +163 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/obj_mac.h +4194 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/objects.h +1143 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ocsp.h +637 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/opensslconf.h +138 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/opensslv.h +97 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ossl_typ.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pem.h +615 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pem2.h +70 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pkcs12.h +342 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pkcs7.h +481 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pqueue.h +99 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/rand.h +150 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/rc2.h +103 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/rc4.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ripemd.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/rsa.h +664 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/safestack.h +2672 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/seed.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/sha.h +214 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/srp.h +179 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/srtp.h +147 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ssl.h +3169 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ssl2.h +265 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ssl23.h +84 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ssl3.h +774 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/stack.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/symhacks.h +516 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/tls1.h +810 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ts.h +862 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/txt_db.h +112 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ui.h +415 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ui_compat.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/whrlpool.h +41 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/x509.h +1328 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/x509_vfy.h +647 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/x509v3.h +1055 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/pthread-fixes.h +72 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/stdint-msvc2008.h +247 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/tree.h +768 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-aix.h +32 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-bsd.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-darwin.h +61 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-errno.h +418 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-linux.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-sunos.h +44 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-threadpool.h +37 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-unix.h +383 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-version.h +43 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-win.h +653 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv.h +1482 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-debug.h +280 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-platform.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-profiler.h +648 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-testing.h +48 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-util.h +640 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-version.h +20 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8.h +8379 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8config.h +424 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/zconf.h +511 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/zlib.h +1768 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/android-ifaddrs.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/ares.h +627 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/ares_build.h +117 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/ares_rules.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/ares_version.h +24 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/common.gypi +335 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/config.gypi +45 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/libplatform/libplatform.h +38 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/nameser.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node.h +470 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node_buffer.h +65 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node_internals.h +331 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node_object_wrap.h +116 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node_version.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/aes.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/BSD-x86/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/BSD-x86_64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/VC-WIN32/opensslconf.h +271 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/VC-WIN64A/opensslconf.h +271 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/aix-gcc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/aix64-gcc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/darwin-i386-cc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/darwin64-x86_64-cc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-aarch64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-armv4/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-elf/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-ppc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-ppc64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-x32/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-x86_64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/solaris-x86-gcc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/asn1.h +1419 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/asn1_mac.h +579 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/asn1t.h +973 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/bio.h +883 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/blowfish.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/bn.h +949 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/buffer.h +125 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/camellia.h +132 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/cast.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/cmac.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/cms.h +555 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/comp.h +79 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/conf.h +267 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/conf_api.h +89 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/crypto.h +661 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/des.h +257 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/des_old.h +497 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/dh.h +393 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/dsa.h +332 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/dso.h +451 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/dtls1.h +272 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/e_os2.h +328 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ebcdic.h +26 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ec.h +1282 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ecdh.h +134 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ecdsa.h +335 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/engine.h +960 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/err.h +389 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/evp.h +1534 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/hmac.h +109 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/idea.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/krb5_asn.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/kssl.h +197 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/lhash.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/md4.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/md5.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/mdc2.h +94 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/modes.h +163 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/obj_mac.h +4194 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/objects.h +1143 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ocsp.h +637 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/opensslconf.h +138 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/opensslv.h +97 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ossl_typ.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pem.h +615 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pem2.h +70 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pkcs12.h +342 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pkcs7.h +481 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pqueue.h +99 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/rand.h +150 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/rc2.h +103 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/rc4.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ripemd.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/rsa.h +664 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/safestack.h +2672 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/seed.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/sha.h +214 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/srp.h +179 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/srtp.h +147 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ssl.h +3169 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ssl2.h +265 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ssl23.h +84 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ssl3.h +774 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/stack.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/symhacks.h +516 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/tls1.h +810 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ts.h +862 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/txt_db.h +112 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ui.h +415 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ui_compat.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/whrlpool.h +41 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/x509.h +1327 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/x509_vfy.h +647 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/x509v3.h +1055 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/pthread-fixes.h +72 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/stdint-msvc2008.h +247 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/tree.h +768 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-aix.h +32 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-bsd.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-darwin.h +61 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-errno.h +418 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-linux.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-sunos.h +44 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-threadpool.h +37 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-unix.h +383 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-version.h +43 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-win.h +653 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv.h +1482 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-debug.h +280 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-platform.h +114 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-profiler.h +648 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-testing.h +48 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-util.h +643 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-version.h +20 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8.h +8369 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8config.h +424 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/zconf.h +511 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/zlib.h +1768 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/android-ifaddrs.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/ares.h +635 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/ares_build.h +117 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/ares_rules.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/ares_version.h +24 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/common.gypi +361 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/config.gypi +47 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/libplatform/libplatform.h +38 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/nameser.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node.h +489 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node_buffer.h +68 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node_internals.h +309 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node_object_wrap.h +111 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node_version.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/aes.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/BSD-x86/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/BSD-x86_64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/VC-WIN32/opensslconf.h +271 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/VC-WIN64A/opensslconf.h +271 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/aix-gcc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/aix64-gcc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/darwin-i386-cc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/darwin64-x86_64-cc/opensslconf.h +273 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-aarch64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-armv4/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-elf/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-ppc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-ppc64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-x32/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-x86_64/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux32-s390x/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux64-s390x/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/solaris-x86-gcc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +270 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/asn1.h +1419 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/asn1_mac.h +579 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/asn1t.h +973 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/bio.h +883 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/blowfish.h +130 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/bn.h +949 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/buffer.h +125 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/camellia.h +132 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/cast.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/cmac.h +82 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/cms.h +555 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/comp.h +83 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/conf.h +267 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/conf_api.h +89 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/crypto.h +661 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/des.h +257 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/des_old.h +497 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/dh.h +393 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/dsa.h +332 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/dso.h +451 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/dtls1.h +272 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/e_os2.h +328 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ebcdic.h +26 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ec.h +1282 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ecdh.h +134 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ecdsa.h +335 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/engine.h +960 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/err.h +389 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/evp.h +1534 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/hmac.h +109 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/idea.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/krb5_asn.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/kssl.h +197 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/lhash.h +240 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/md4.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/md5.h +119 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/mdc2.h +94 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/modes.h +163 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/obj_mac.h +4194 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/objects.h +1143 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ocsp.h +637 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/opensslconf.h +146 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/opensslv.h +97 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ossl_typ.h +211 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pem.h +615 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pem2.h +70 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pkcs12.h +342 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pkcs7.h +481 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pqueue.h +99 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/rand.h +150 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/rc2.h +103 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/rc4.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ripemd.h +105 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/rsa.h +664 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/safestack.h +2672 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/seed.h +149 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/sha.h +214 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/srp.h +179 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/srtp.h +147 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ssl.h +3169 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ssl2.h +265 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ssl23.h +84 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ssl3.h +774 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/stack.h +107 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/symhacks.h +516 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/tls1.h +810 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ts.h +862 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/txt_db.h +112 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ui.h +415 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ui_compat.h +88 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/whrlpool.h +41 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/x509.h +1328 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/x509_vfy.h +647 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/x509v3.h +1055 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/pthread-fixes.h +72 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/stdint-msvc2008.h +247 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/tree.h +768 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-aix.h +32 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-bsd.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-darwin.h +61 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-errno.h +418 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-linux.h +34 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-sunos.h +44 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-threadpool.h +37 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-unix.h +383 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-version.h +43 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-win.h +648 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv.h +1495 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-debug.h +288 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-experimental.h +54 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-platform.h +171 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-profiler.h +782 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-testing.h +48 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-util.h +643 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-version.h +20 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8.h +8586 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8config.h +438 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/zconf.h +511 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/zlib.h +1768 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/php/CMakeLists.txt +118 -0
- data/ext/native/src/wrappers/php/cmake/FindPHPLibs.cmake +49 -0
- data/ext/native/src/wrappers/php/tests/CMakeLists.txt +94 -0
- data/ext/native/src/wrappers/php/tests/StringSink.php.in +60 -0
- data/ext/native/src/wrappers/php/tests/StringSource.php.in +67 -0
- data/ext/native/src/wrappers/php/tests/VirgilAsn1Reader_Test.php.in +160 -0
- data/ext/native/src/wrappers/php/tests/VirgilAsn1Writer_Test.php.in +160 -0
- data/ext/native/src/wrappers/php/tests/VirgilAsymmetricCipher_EC_Test.php.in +337 -0
- data/ext/native/src/wrappers/php/tests/VirgilAsymmetricCipher_RSA_Test.php.in +340 -0
- data/ext/native/src/wrappers/php/tests/VirgilChunkCipher_Test.php.in +207 -0
- data/ext/native/src/wrappers/php/tests/VirgilCipher_Test.php.in +181 -0
- data/ext/native/src/wrappers/php/tests/VirgilCustomParams_Test.php.in +78 -0
- data/ext/native/src/wrappers/php/tests/VirgilHash_MD5_Test.php.in +159 -0
- data/ext/native/src/wrappers/php/tests/VirgilHash_SHA256_Test.php.in +159 -0
- data/ext/native/src/wrappers/php/tests/VirgilHash_SHA512_Test.php.in +167 -0
- data/ext/native/src/wrappers/php/tests/VirgilKDF_Test.php.in +123 -0
- data/ext/native/src/wrappers/php/tests/VirgilPBE_Test.php.in +84 -0
- data/ext/native/src/wrappers/php/tests/VirgilPBKDF_Test.php.in +66 -0
- data/ext/native/src/wrappers/php/tests/VirgilRandom_Test.php.in +56 -0
- data/ext/native/src/wrappers/php/tests/VirgilSigner_Test.php.in +211 -0
- data/ext/native/src/wrappers/php/tests/VirgilStreamCipher_Test.php.in +207 -0
- data/ext/native/src/wrappers/php/tests/VirgilStreamSigner_Test.php.in +212 -0
- data/ext/native/src/wrappers/php/tests/VirgilSymmetricCipher_Test.php.in +174 -0
- data/ext/native/src/wrappers/php/tests/VirgilVersion_Test.php.in +61 -0
- data/ext/native/src/wrappers/php/tests/data/CMakeLists.txt +50 -0
- data/ext/native/src/wrappers/php/tests/data/asn1_complex.der +0 -0
- data/ext/native/src/wrappers/php/tests/data/asn1_custom_tag.der +0 -0
- data/ext/native/src/wrappers/php/tests/data/asn1_integer.der +1 -0
- data/ext/native/src/wrappers/php/tests/data/asn1_octet_string.der +0 -0
- data/ext/native/src/wrappers/php/tests/data/asn1_sequence.der +0 -0
- data/ext/native/src/wrappers/php/tests/data/asn1_utf8_string.der +1 -0
- data/ext/native/src/wrappers/php/tests/data/certificate_public_key.pem +6 -0
- data/ext/native/src/wrappers/python/CMakeLists.txt +95 -0
- data/ext/native/src/wrappers/ruby/CMakeLists.txt +84 -0
- data/ext/native/src/wrappers/swig/common.i +119 -0
- data/ext/native/src/wrappers/swig/csharp/FixedArray.i +347 -0
- data/ext/native/src/wrappers/swig/csharp/VirgilByteArray.i +38 -0
- data/ext/native/src/wrappers/swig/csharp/common.i +48 -0
- data/ext/native/src/wrappers/swig/csharp/csharphead.swg.in +85 -0
- data/ext/native/src/wrappers/swig/java/VirgilByteArray.i +158 -0
- data/ext/native/src/wrappers/swig/java/common.i +70 -0
- data/ext/native/src/wrappers/swig/php/VirgilByteArray.i +107 -0
- data/ext/native/src/wrappers/swig/php/common.i +90 -0
- data/ext/native/src/wrappers/swig/util.i +85 -0
- data/ext/native/src/wrappers/swig/wrapper.i.in +158 -0
- data/lib/virgil/crypto.rb +10 -0
- data/lib/virgil/crypto/bytes.rb +57 -0
- data/lib/virgil/crypto/version.rb +5 -0
- data/lib/virgil/crypto/virgil_stream_data_sink.rb +53 -0
- data/lib/virgil/crypto/virgil_stream_data_source.rb +54 -0
- data/virgil-crypto.gemspec +53 -0
- metadata +978 -0
@@ -0,0 +1,424 @@
|
|
1
|
+
// Copyright 2013 the V8 project authors. All rights reserved.
|
2
|
+
// Use of this source code is governed by a BSD-style license that can be
|
3
|
+
// found in the LICENSE file.
|
4
|
+
|
5
|
+
#ifndef V8CONFIG_H_
|
6
|
+
#define V8CONFIG_H_
|
7
|
+
|
8
|
+
// clang-format off
|
9
|
+
|
10
|
+
// Platform headers for feature detection below.
|
11
|
+
#if defined(__ANDROID__)
|
12
|
+
# include <sys/cdefs.h>
|
13
|
+
#elif defined(__APPLE__)
|
14
|
+
# include <TargetConditionals.h>
|
15
|
+
#elif defined(__linux__)
|
16
|
+
# include <features.h>
|
17
|
+
#endif
|
18
|
+
|
19
|
+
|
20
|
+
// This macro allows to test for the version of the GNU C library (or
|
21
|
+
// a compatible C library that masquerades as glibc). It evaluates to
|
22
|
+
// 0 if libc is not GNU libc or compatible.
|
23
|
+
// Use like:
|
24
|
+
// #if V8_GLIBC_PREREQ(2, 3)
|
25
|
+
// ...
|
26
|
+
// #endif
|
27
|
+
#if defined(__GLIBC__) && defined(__GLIBC_MINOR__)
|
28
|
+
# define V8_GLIBC_PREREQ(major, minor) \
|
29
|
+
((__GLIBC__ * 100 + __GLIBC_MINOR__) >= ((major) * 100 + (minor)))
|
30
|
+
#else
|
31
|
+
# define V8_GLIBC_PREREQ(major, minor) 0
|
32
|
+
#endif
|
33
|
+
|
34
|
+
|
35
|
+
// This macro allows to test for the version of the GNU C++ compiler.
|
36
|
+
// Note that this also applies to compilers that masquerade as GCC,
|
37
|
+
// for example clang and the Intel C++ compiler for Linux.
|
38
|
+
// Use like:
|
39
|
+
// #if V8_GNUC_PREREQ(4, 3, 1)
|
40
|
+
// ...
|
41
|
+
// #endif
|
42
|
+
#if defined(__GNUC__) && defined(__GNUC_MINOR__) && defined(__GNUC_PATCHLEVEL__)
|
43
|
+
# define V8_GNUC_PREREQ(major, minor, patchlevel) \
|
44
|
+
((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= \
|
45
|
+
((major) * 10000 + (minor) * 100 + (patchlevel)))
|
46
|
+
#elif defined(__GNUC__) && defined(__GNUC_MINOR__)
|
47
|
+
# define V8_GNUC_PREREQ(major, minor, patchlevel) \
|
48
|
+
((__GNUC__ * 10000 + __GNUC_MINOR__ * 100) >= \
|
49
|
+
((major) * 10000 + (minor) * 100 + (patchlevel)))
|
50
|
+
#else
|
51
|
+
# define V8_GNUC_PREREQ(major, minor, patchlevel) 0
|
52
|
+
#endif
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
// -----------------------------------------------------------------------------
|
57
|
+
// Operating system detection
|
58
|
+
//
|
59
|
+
// V8_OS_ANDROID - Android
|
60
|
+
// V8_OS_BSD - BSDish (Mac OS X, Net/Free/Open/DragonFlyBSD)
|
61
|
+
// V8_OS_CYGWIN - Cygwin
|
62
|
+
// V8_OS_DRAGONFLYBSD - DragonFlyBSD
|
63
|
+
// V8_OS_FREEBSD - FreeBSD
|
64
|
+
// V8_OS_LINUX - Linux
|
65
|
+
// V8_OS_MACOSX - Mac OS X
|
66
|
+
// V8_OS_NACL - Native Client
|
67
|
+
// V8_OS_NETBSD - NetBSD
|
68
|
+
// V8_OS_OPENBSD - OpenBSD
|
69
|
+
// V8_OS_POSIX - POSIX compatible (mostly everything except Windows)
|
70
|
+
// V8_OS_QNX - QNX Neutrino
|
71
|
+
// V8_OS_SOLARIS - Sun Solaris and OpenSolaris
|
72
|
+
// V8_OS_AIX - AIX
|
73
|
+
// V8_OS_WIN - Microsoft Windows
|
74
|
+
|
75
|
+
#if defined(__ANDROID__)
|
76
|
+
# define V8_OS_ANDROID 1
|
77
|
+
# define V8_OS_LINUX 1
|
78
|
+
# define V8_OS_POSIX 1
|
79
|
+
#elif defined(__APPLE__)
|
80
|
+
# define V8_OS_BSD 1
|
81
|
+
# define V8_OS_MACOSX 1
|
82
|
+
# define V8_OS_POSIX 1
|
83
|
+
#elif defined(__native_client__)
|
84
|
+
# define V8_OS_NACL 1
|
85
|
+
# define V8_OS_POSIX 1
|
86
|
+
#elif defined(__CYGWIN__)
|
87
|
+
# define V8_OS_CYGWIN 1
|
88
|
+
# define V8_OS_POSIX 1
|
89
|
+
#elif defined(__linux__)
|
90
|
+
# define V8_OS_LINUX 1
|
91
|
+
# define V8_OS_POSIX 1
|
92
|
+
#elif defined(__sun)
|
93
|
+
# define V8_OS_POSIX 1
|
94
|
+
# define V8_OS_SOLARIS 1
|
95
|
+
#elif defined(_AIX)
|
96
|
+
#define V8_OS_POSIX 1
|
97
|
+
#define V8_OS_AIX 1
|
98
|
+
#elif defined(__FreeBSD__)
|
99
|
+
# define V8_OS_BSD 1
|
100
|
+
# define V8_OS_FREEBSD 1
|
101
|
+
# define V8_OS_POSIX 1
|
102
|
+
#elif defined(__DragonFly__)
|
103
|
+
# define V8_OS_BSD 1
|
104
|
+
# define V8_OS_DRAGONFLYBSD 1
|
105
|
+
# define V8_OS_POSIX 1
|
106
|
+
#elif defined(__NetBSD__)
|
107
|
+
# define V8_OS_BSD 1
|
108
|
+
# define V8_OS_NETBSD 1
|
109
|
+
# define V8_OS_POSIX 1
|
110
|
+
#elif defined(__OpenBSD__)
|
111
|
+
# define V8_OS_BSD 1
|
112
|
+
# define V8_OS_OPENBSD 1
|
113
|
+
# define V8_OS_POSIX 1
|
114
|
+
#elif defined(__QNXNTO__)
|
115
|
+
# define V8_OS_POSIX 1
|
116
|
+
# define V8_OS_QNX 1
|
117
|
+
#elif defined(_WIN32)
|
118
|
+
# define V8_OS_WIN 1
|
119
|
+
#endif
|
120
|
+
|
121
|
+
|
122
|
+
// -----------------------------------------------------------------------------
|
123
|
+
// C library detection
|
124
|
+
//
|
125
|
+
// V8_LIBC_MSVCRT - MSVC libc
|
126
|
+
// V8_LIBC_BIONIC - Bionic libc
|
127
|
+
// V8_LIBC_BSD - BSD libc derivate
|
128
|
+
// V8_LIBC_GLIBC - GNU C library
|
129
|
+
// V8_LIBC_UCLIBC - uClibc
|
130
|
+
//
|
131
|
+
// Note that testing for libc must be done using #if not #ifdef. For example,
|
132
|
+
// to test for the GNU C library, use:
|
133
|
+
// #if V8_LIBC_GLIBC
|
134
|
+
// ...
|
135
|
+
// #endif
|
136
|
+
|
137
|
+
#if defined (_MSC_VER)
|
138
|
+
# define V8_LIBC_MSVCRT 1
|
139
|
+
#elif defined(__BIONIC__)
|
140
|
+
# define V8_LIBC_BIONIC 1
|
141
|
+
# define V8_LIBC_BSD 1
|
142
|
+
#elif defined(__UCLIBC__)
|
143
|
+
// Must test for UCLIBC before GLIBC, as UCLIBC pretends to be GLIBC.
|
144
|
+
# define V8_LIBC_UCLIBC 1
|
145
|
+
#elif defined(__GLIBC__) || defined(__GNU_LIBRARY__)
|
146
|
+
# define V8_LIBC_GLIBC 1
|
147
|
+
#else
|
148
|
+
# define V8_LIBC_BSD V8_OS_BSD
|
149
|
+
#endif
|
150
|
+
|
151
|
+
|
152
|
+
// -----------------------------------------------------------------------------
|
153
|
+
// Compiler detection
|
154
|
+
//
|
155
|
+
// V8_CC_GNU - GCC, or clang in gcc mode
|
156
|
+
// V8_CC_INTEL - Intel C++
|
157
|
+
// V8_CC_MINGW - Minimalist GNU for Windows
|
158
|
+
// V8_CC_MINGW32 - Minimalist GNU for Windows (mingw32)
|
159
|
+
// V8_CC_MINGW64 - Minimalist GNU for Windows (mingw-w64)
|
160
|
+
// V8_CC_MSVC - Microsoft Visual C/C++, or clang in cl.exe mode
|
161
|
+
//
|
162
|
+
// C++11 feature detection
|
163
|
+
//
|
164
|
+
// V8_HAS_CXX11_ALIGNAS - alignas specifier supported
|
165
|
+
// V8_HAS_CXX11_ALIGNOF - alignof(type) operator supported
|
166
|
+
// V8_HAS_CXX11_STATIC_ASSERT - static_assert() supported
|
167
|
+
//
|
168
|
+
// Compiler-specific feature detection
|
169
|
+
//
|
170
|
+
// V8_HAS___ALIGNOF - __alignof(type) operator supported
|
171
|
+
// V8_HAS___ALIGNOF__ - __alignof__(type) operator supported
|
172
|
+
// V8_HAS_ATTRIBUTE_ALIGNED - __attribute__((aligned(n))) supported
|
173
|
+
// V8_HAS_ATTRIBUTE_ALWAYS_INLINE - __attribute__((always_inline))
|
174
|
+
// supported
|
175
|
+
// V8_HAS_ATTRIBUTE_DEPRECATED - __attribute__((deprecated)) supported
|
176
|
+
// V8_HAS_ATTRIBUTE_NOINLINE - __attribute__((noinline)) supported
|
177
|
+
// V8_HAS_ATTRIBUTE_UNUSED - __attribute__((unused)) supported
|
178
|
+
// V8_HAS_ATTRIBUTE_VISIBILITY - __attribute__((visibility)) supported
|
179
|
+
// V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT - __attribute__((warn_unused_result))
|
180
|
+
// supported
|
181
|
+
// V8_HAS_BUILTIN_CLZ - __builtin_clz() supported
|
182
|
+
// V8_HAS_BUILTIN_CTZ - __builtin_ctz() supported
|
183
|
+
// V8_HAS_BUILTIN_EXPECT - __builtin_expect() supported
|
184
|
+
// V8_HAS_BUILTIN_FRAME_ADDRESS - __builtin_frame_address() supported
|
185
|
+
// V8_HAS_BUILTIN_POPCOUNT - __builtin_popcount() supported
|
186
|
+
// V8_HAS_BUILTIN_SADD_OVERFLOW - __builtin_sadd_overflow() supported
|
187
|
+
// V8_HAS_BUILTIN_SSUB_OVERFLOW - __builtin_ssub_overflow() supported
|
188
|
+
// V8_HAS_BUILTIN_UADD_OVERFLOW - __builtin_uadd_overflow() supported
|
189
|
+
// V8_HAS_DECLSPEC_ALIGN - __declspec(align(n)) supported
|
190
|
+
// V8_HAS_DECLSPEC_DEPRECATED - __declspec(deprecated) supported
|
191
|
+
// V8_HAS_DECLSPEC_NOINLINE - __declspec(noinline) supported
|
192
|
+
// V8_HAS_DECLSPEC_SELECTANY - __declspec(selectany) supported
|
193
|
+
// V8_HAS___FORCEINLINE - __forceinline supported
|
194
|
+
//
|
195
|
+
// Note that testing for compilers and/or features must be done using #if
|
196
|
+
// not #ifdef. For example, to test for Intel C++ Compiler, use:
|
197
|
+
// #if V8_CC_INTEL
|
198
|
+
// ...
|
199
|
+
// #endif
|
200
|
+
|
201
|
+
#if defined(__clang__)
|
202
|
+
|
203
|
+
#if defined(__GNUC__) // Clang in gcc mode.
|
204
|
+
# define V8_CC_GNU 1
|
205
|
+
#endif
|
206
|
+
|
207
|
+
// Clang defines __alignof__ as alias for __alignof
|
208
|
+
# define V8_HAS___ALIGNOF 1
|
209
|
+
# define V8_HAS___ALIGNOF__ V8_HAS___ALIGNOF
|
210
|
+
|
211
|
+
# define V8_HAS_ATTRIBUTE_ALIGNED (__has_attribute(aligned))
|
212
|
+
# define V8_HAS_ATTRIBUTE_ALWAYS_INLINE (__has_attribute(always_inline))
|
213
|
+
# define V8_HAS_ATTRIBUTE_DEPRECATED (__has_attribute(deprecated))
|
214
|
+
# define V8_HAS_ATTRIBUTE_NOINLINE (__has_attribute(noinline))
|
215
|
+
# define V8_HAS_ATTRIBUTE_UNUSED (__has_attribute(unused))
|
216
|
+
# define V8_HAS_ATTRIBUTE_VISIBILITY (__has_attribute(visibility))
|
217
|
+
# define V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT \
|
218
|
+
(__has_attribute(warn_unused_result))
|
219
|
+
|
220
|
+
# define V8_HAS_BUILTIN_CLZ (__has_builtin(__builtin_clz))
|
221
|
+
# define V8_HAS_BUILTIN_CTZ (__has_builtin(__builtin_ctz))
|
222
|
+
# define V8_HAS_BUILTIN_EXPECT (__has_builtin(__builtin_expect))
|
223
|
+
# define V8_HAS_BUILTIN_FRAME_ADDRESS (__has_builtin(__builtin_frame_address))
|
224
|
+
# define V8_HAS_BUILTIN_POPCOUNT (__has_builtin(__builtin_popcount))
|
225
|
+
# define V8_HAS_BUILTIN_SADD_OVERFLOW (__has_builtin(__builtin_sadd_overflow))
|
226
|
+
# define V8_HAS_BUILTIN_SSUB_OVERFLOW (__has_builtin(__builtin_ssub_overflow))
|
227
|
+
# define V8_HAS_BUILTIN_UADD_OVERFLOW (__has_builtin(__builtin_uadd_overflow))
|
228
|
+
|
229
|
+
# define V8_HAS_CXX11_ALIGNAS (__has_feature(cxx_alignas))
|
230
|
+
# define V8_HAS_CXX11_STATIC_ASSERT (__has_feature(cxx_static_assert))
|
231
|
+
|
232
|
+
#elif defined(__GNUC__)
|
233
|
+
|
234
|
+
# define V8_CC_GNU 1
|
235
|
+
# if defined(__INTEL_COMPILER) // Intel C++ also masquerades as GCC 3.2.0
|
236
|
+
# define V8_CC_INTEL 1
|
237
|
+
# endif
|
238
|
+
# if defined(__MINGW32__)
|
239
|
+
# define V8_CC_MINGW32 1
|
240
|
+
# endif
|
241
|
+
# if defined(__MINGW64__)
|
242
|
+
# define V8_CC_MINGW64 1
|
243
|
+
# endif
|
244
|
+
# define V8_CC_MINGW (V8_CC_MINGW32 || V8_CC_MINGW64)
|
245
|
+
|
246
|
+
# define V8_HAS___ALIGNOF__ (V8_GNUC_PREREQ(4, 3, 0))
|
247
|
+
|
248
|
+
# define V8_HAS_ATTRIBUTE_ALIGNED (V8_GNUC_PREREQ(2, 95, 0))
|
249
|
+
// always_inline is available in gcc 4.0 but not very reliable until 4.4.
|
250
|
+
// Works around "sorry, unimplemented: inlining failed" build errors with
|
251
|
+
// older compilers.
|
252
|
+
# define V8_HAS_ATTRIBUTE_ALWAYS_INLINE (V8_GNUC_PREREQ(4, 4, 0))
|
253
|
+
# define V8_HAS_ATTRIBUTE_DEPRECATED (V8_GNUC_PREREQ(3, 4, 0))
|
254
|
+
# define V8_HAS_ATTRIBUTE_DEPRECATED_MESSAGE (V8_GNUC_PREREQ(4, 5, 0))
|
255
|
+
# define V8_HAS_ATTRIBUTE_NOINLINE (V8_GNUC_PREREQ(3, 4, 0))
|
256
|
+
# define V8_HAS_ATTRIBUTE_UNUSED (V8_GNUC_PREREQ(2, 95, 0))
|
257
|
+
# define V8_HAS_ATTRIBUTE_VISIBILITY (V8_GNUC_PREREQ(4, 3, 0))
|
258
|
+
# define V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT \
|
259
|
+
(!V8_CC_INTEL && V8_GNUC_PREREQ(4, 1, 0))
|
260
|
+
|
261
|
+
# define V8_HAS_BUILTIN_CLZ (V8_GNUC_PREREQ(3, 4, 0))
|
262
|
+
# define V8_HAS_BUILTIN_CTZ (V8_GNUC_PREREQ(3, 4, 0))
|
263
|
+
# define V8_HAS_BUILTIN_EXPECT (V8_GNUC_PREREQ(2, 96, 0))
|
264
|
+
# define V8_HAS_BUILTIN_FRAME_ADDRESS (V8_GNUC_PREREQ(2, 96, 0))
|
265
|
+
# define V8_HAS_BUILTIN_POPCOUNT (V8_GNUC_PREREQ(3, 4, 0))
|
266
|
+
|
267
|
+
// g++ requires -std=c++0x or -std=gnu++0x to support C++11 functionality
|
268
|
+
// without warnings (functionality used by the macros below). These modes
|
269
|
+
// are detectable by checking whether __GXX_EXPERIMENTAL_CXX0X__ is defined or,
|
270
|
+
// more standardly, by checking whether __cplusplus has a C++11 or greater
|
271
|
+
// value. Current versions of g++ do not correctly set __cplusplus, so we check
|
272
|
+
// both for forward compatibility.
|
273
|
+
# if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
|
274
|
+
# define V8_HAS_CXX11_ALIGNAS (V8_GNUC_PREREQ(4, 8, 0))
|
275
|
+
# define V8_HAS_CXX11_ALIGNOF (V8_GNUC_PREREQ(4, 8, 0))
|
276
|
+
# define V8_HAS_CXX11_STATIC_ASSERT (V8_GNUC_PREREQ(4, 3, 0))
|
277
|
+
# endif
|
278
|
+
#endif
|
279
|
+
|
280
|
+
#if defined(_MSC_VER)
|
281
|
+
# define V8_CC_MSVC 1
|
282
|
+
# define V8_HAS___ALIGNOF 1
|
283
|
+
|
284
|
+
# define V8_HAS_DECLSPEC_ALIGN 1
|
285
|
+
# define V8_HAS_DECLSPEC_DEPRECATED 1
|
286
|
+
# define V8_HAS_DECLSPEC_NOINLINE 1
|
287
|
+
# define V8_HAS_DECLSPEC_SELECTANY 1
|
288
|
+
|
289
|
+
# define V8_HAS___FORCEINLINE 1
|
290
|
+
|
291
|
+
#endif
|
292
|
+
|
293
|
+
|
294
|
+
// -----------------------------------------------------------------------------
|
295
|
+
// Helper macros
|
296
|
+
|
297
|
+
// A macro used to make better inlining. Don't bother for debug builds.
|
298
|
+
// Use like:
|
299
|
+
// V8_INLINE int GetZero() { return 0; }
|
300
|
+
#if !defined(DEBUG) && V8_HAS_ATTRIBUTE_ALWAYS_INLINE
|
301
|
+
# define V8_INLINE inline __attribute__((always_inline))
|
302
|
+
#elif !defined(DEBUG) && V8_HAS___FORCEINLINE
|
303
|
+
# define V8_INLINE __forceinline
|
304
|
+
#else
|
305
|
+
# define V8_INLINE inline
|
306
|
+
#endif
|
307
|
+
|
308
|
+
|
309
|
+
// A macro used to tell the compiler to never inline a particular function.
|
310
|
+
// Don't bother for debug builds.
|
311
|
+
// Use like:
|
312
|
+
// V8_NOINLINE int GetMinusOne() { return -1; }
|
313
|
+
#if !defined(DEBUG) && V8_HAS_ATTRIBUTE_NOINLINE
|
314
|
+
# define V8_NOINLINE __attribute__((noinline))
|
315
|
+
#elif !defined(DEBUG) && V8_HAS_DECLSPEC_NOINLINE
|
316
|
+
# define V8_NOINLINE __declspec(noinline)
|
317
|
+
#else
|
318
|
+
# define V8_NOINLINE /* NOT SUPPORTED */
|
319
|
+
#endif
|
320
|
+
|
321
|
+
|
322
|
+
// A macro (V8_DEPRECATED) to mark classes or functions as deprecated.
|
323
|
+
#if defined(V8_DEPRECATION_WARNINGS) && V8_HAS_ATTRIBUTE_DEPRECATED_MESSAGE
|
324
|
+
#define V8_DEPRECATED(message, declarator) \
|
325
|
+
declarator __attribute__((deprecated(message)))
|
326
|
+
#elif defined(V8_DEPRECATION_WARNINGS) && V8_HAS_ATTRIBUTE_DEPRECATED
|
327
|
+
#define V8_DEPRECATED(message, declarator) \
|
328
|
+
declarator __attribute__((deprecated))
|
329
|
+
#elif defined(V8_DEPRECATION_WARNINGS) && V8_HAS_DECLSPEC_DEPRECATED
|
330
|
+
#define V8_DEPRECATED(message, declarator) __declspec(deprecated) declarator
|
331
|
+
#else
|
332
|
+
#define V8_DEPRECATED(message, declarator) declarator
|
333
|
+
#endif
|
334
|
+
|
335
|
+
|
336
|
+
// A macro (V8_DEPRECATE_SOON) to make it easier to see what will be deprecated.
|
337
|
+
#if defined(V8_IMMINENT_DEPRECATION_WARNINGS) && \
|
338
|
+
V8_HAS_ATTRIBUTE_DEPRECATED_MESSAGE
|
339
|
+
#define V8_DEPRECATE_SOON(message, declarator) \
|
340
|
+
declarator __attribute__((deprecated(message)))
|
341
|
+
#elif defined(V8_IMMINENT_DEPRECATION_WARNINGS) && V8_HAS_ATTRIBUTE_DEPRECATED
|
342
|
+
#define V8_DEPRECATE_SOON(message, declarator) \
|
343
|
+
declarator __attribute__((deprecated))
|
344
|
+
#elif defined(V8_IMMINENT_DEPRECATION_WARNINGS) && V8_HAS_DECLSPEC_DEPRECATED
|
345
|
+
#define V8_DEPRECATE_SOON(message, declarator) __declspec(deprecated) declarator
|
346
|
+
#else
|
347
|
+
#define V8_DEPRECATE_SOON(message, declarator) declarator
|
348
|
+
#endif
|
349
|
+
|
350
|
+
|
351
|
+
// A macro to provide the compiler with branch prediction information.
|
352
|
+
#if V8_HAS_BUILTIN_EXPECT
|
353
|
+
# define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0))
|
354
|
+
# define V8_LIKELY(condition) (__builtin_expect(!!(condition), 1))
|
355
|
+
#else
|
356
|
+
# define V8_UNLIKELY(condition) (condition)
|
357
|
+
# define V8_LIKELY(condition) (condition)
|
358
|
+
#endif
|
359
|
+
|
360
|
+
|
361
|
+
// This macro allows to specify memory alignment for structs, classes, etc.
|
362
|
+
// Use like:
|
363
|
+
// class V8_ALIGNED(16) MyClass { ... };
|
364
|
+
// V8_ALIGNED(32) int array[42];
|
365
|
+
#if V8_HAS_CXX11_ALIGNAS
|
366
|
+
# define V8_ALIGNED(n) alignas(n)
|
367
|
+
#elif V8_HAS_ATTRIBUTE_ALIGNED
|
368
|
+
# define V8_ALIGNED(n) __attribute__((aligned(n)))
|
369
|
+
#elif V8_HAS_DECLSPEC_ALIGN
|
370
|
+
# define V8_ALIGNED(n) __declspec(align(n))
|
371
|
+
#else
|
372
|
+
# define V8_ALIGNED(n) /* NOT SUPPORTED */
|
373
|
+
#endif
|
374
|
+
|
375
|
+
|
376
|
+
// This macro is similar to V8_ALIGNED(), but takes a type instead of size
|
377
|
+
// in bytes. If the compiler does not supports using the alignment of the
|
378
|
+
// |type|, it will align according to the |alignment| instead. For example,
|
379
|
+
// Visual Studio C++ cannot combine __declspec(align) and __alignof. The
|
380
|
+
// |alignment| must be a literal that is used as a kind of worst-case fallback
|
381
|
+
// alignment.
|
382
|
+
// Use like:
|
383
|
+
// struct V8_ALIGNAS(AnotherClass, 16) NewClass { ... };
|
384
|
+
// V8_ALIGNAS(double, 8) int array[100];
|
385
|
+
#if V8_HAS_CXX11_ALIGNAS
|
386
|
+
# define V8_ALIGNAS(type, alignment) alignas(type)
|
387
|
+
#elif V8_HAS___ALIGNOF__ && V8_HAS_ATTRIBUTE_ALIGNED
|
388
|
+
# define V8_ALIGNAS(type, alignment) __attribute__((aligned(__alignof__(type))))
|
389
|
+
#else
|
390
|
+
# define V8_ALIGNAS(type, alignment) V8_ALIGNED(alignment)
|
391
|
+
#endif
|
392
|
+
|
393
|
+
|
394
|
+
// This macro returns alignment in bytes (an integer power of two) required for
|
395
|
+
// any instance of the given type, which is either complete type, an array type,
|
396
|
+
// or a reference type.
|
397
|
+
// Use like:
|
398
|
+
// size_t alignment = V8_ALIGNOF(double);
|
399
|
+
#if V8_HAS_CXX11_ALIGNOF
|
400
|
+
# define V8_ALIGNOF(type) alignof(type)
|
401
|
+
#elif V8_HAS___ALIGNOF
|
402
|
+
# define V8_ALIGNOF(type) __alignof(type)
|
403
|
+
#elif V8_HAS___ALIGNOF__
|
404
|
+
# define V8_ALIGNOF(type) __alignof__(type)
|
405
|
+
#else
|
406
|
+
// Note that alignment of a type within a struct can be less than the
|
407
|
+
// alignment of the type stand-alone (because of ancient ABIs), so this
|
408
|
+
// should only be used as a last resort.
|
409
|
+
namespace v8 { template <typename T> class AlignOfHelper { char c; T t; }; }
|
410
|
+
# define V8_ALIGNOF(type) (sizeof(::v8::AlignOfHelper<type>) - sizeof(type))
|
411
|
+
#endif
|
412
|
+
|
413
|
+
// Annotate a function indicating the caller must examine the return value.
|
414
|
+
// Use like:
|
415
|
+
// int foo() WARN_UNUSED_RESULT;
|
416
|
+
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
|
417
|
+
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
418
|
+
#else
|
419
|
+
#define V8_WARN_UNUSED_RESULT /* NOT SUPPORTED */
|
420
|
+
#endif
|
421
|
+
|
422
|
+
// clang-format on
|
423
|
+
|
424
|
+
#endif // V8CONFIG_H_
|
@@ -0,0 +1,511 @@
|
|
1
|
+
/* zconf.h -- configuration of the zlib compression library
|
2
|
+
* Copyright (C) 1995-2013 Jean-loup Gailly.
|
3
|
+
* For conditions of distribution and use, see copyright notice in zlib.h
|
4
|
+
*/
|
5
|
+
|
6
|
+
/* @(#) $Id$ */
|
7
|
+
|
8
|
+
#ifndef ZCONF_H
|
9
|
+
#define ZCONF_H
|
10
|
+
|
11
|
+
/*
|
12
|
+
* If you *really* need a unique prefix for all types and library functions,
|
13
|
+
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
|
14
|
+
* Even better than compiling with -DZ_PREFIX would be to use configure to set
|
15
|
+
* this permanently in zconf.h using "./configure --zprefix".
|
16
|
+
*/
|
17
|
+
#ifdef Z_PREFIX /* may be set to #if 1 by ./configure */
|
18
|
+
# define Z_PREFIX_SET
|
19
|
+
|
20
|
+
/* all linked symbols */
|
21
|
+
# define _dist_code z__dist_code
|
22
|
+
# define _length_code z__length_code
|
23
|
+
# define _tr_align z__tr_align
|
24
|
+
# define _tr_flush_bits z__tr_flush_bits
|
25
|
+
# define _tr_flush_block z__tr_flush_block
|
26
|
+
# define _tr_init z__tr_init
|
27
|
+
# define _tr_stored_block z__tr_stored_block
|
28
|
+
# define _tr_tally z__tr_tally
|
29
|
+
# define adler32 z_adler32
|
30
|
+
# define adler32_combine z_adler32_combine
|
31
|
+
# define adler32_combine64 z_adler32_combine64
|
32
|
+
# ifndef Z_SOLO
|
33
|
+
# define compress z_compress
|
34
|
+
# define compress2 z_compress2
|
35
|
+
# define compressBound z_compressBound
|
36
|
+
# endif
|
37
|
+
# define crc32 z_crc32
|
38
|
+
# define crc32_combine z_crc32_combine
|
39
|
+
# define crc32_combine64 z_crc32_combine64
|
40
|
+
# define deflate z_deflate
|
41
|
+
# define deflateBound z_deflateBound
|
42
|
+
# define deflateCopy z_deflateCopy
|
43
|
+
# define deflateEnd z_deflateEnd
|
44
|
+
# define deflateInit2_ z_deflateInit2_
|
45
|
+
# define deflateInit_ z_deflateInit_
|
46
|
+
# define deflateParams z_deflateParams
|
47
|
+
# define deflatePending z_deflatePending
|
48
|
+
# define deflatePrime z_deflatePrime
|
49
|
+
# define deflateReset z_deflateReset
|
50
|
+
# define deflateResetKeep z_deflateResetKeep
|
51
|
+
# define deflateSetDictionary z_deflateSetDictionary
|
52
|
+
# define deflateSetHeader z_deflateSetHeader
|
53
|
+
# define deflateTune z_deflateTune
|
54
|
+
# define deflate_copyright z_deflate_copyright
|
55
|
+
# define get_crc_table z_get_crc_table
|
56
|
+
# ifndef Z_SOLO
|
57
|
+
# define gz_error z_gz_error
|
58
|
+
# define gz_intmax z_gz_intmax
|
59
|
+
# define gz_strwinerror z_gz_strwinerror
|
60
|
+
# define gzbuffer z_gzbuffer
|
61
|
+
# define gzclearerr z_gzclearerr
|
62
|
+
# define gzclose z_gzclose
|
63
|
+
# define gzclose_r z_gzclose_r
|
64
|
+
# define gzclose_w z_gzclose_w
|
65
|
+
# define gzdirect z_gzdirect
|
66
|
+
# define gzdopen z_gzdopen
|
67
|
+
# define gzeof z_gzeof
|
68
|
+
# define gzerror z_gzerror
|
69
|
+
# define gzflush z_gzflush
|
70
|
+
# define gzgetc z_gzgetc
|
71
|
+
# define gzgetc_ z_gzgetc_
|
72
|
+
# define gzgets z_gzgets
|
73
|
+
# define gzoffset z_gzoffset
|
74
|
+
# define gzoffset64 z_gzoffset64
|
75
|
+
# define gzopen z_gzopen
|
76
|
+
# define gzopen64 z_gzopen64
|
77
|
+
# ifdef _WIN32
|
78
|
+
# define gzopen_w z_gzopen_w
|
79
|
+
# endif
|
80
|
+
# define gzprintf z_gzprintf
|
81
|
+
# define gzvprintf z_gzvprintf
|
82
|
+
# define gzputc z_gzputc
|
83
|
+
# define gzputs z_gzputs
|
84
|
+
# define gzread z_gzread
|
85
|
+
# define gzrewind z_gzrewind
|
86
|
+
# define gzseek z_gzseek
|
87
|
+
# define gzseek64 z_gzseek64
|
88
|
+
# define gzsetparams z_gzsetparams
|
89
|
+
# define gztell z_gztell
|
90
|
+
# define gztell64 z_gztell64
|
91
|
+
# define gzungetc z_gzungetc
|
92
|
+
# define gzwrite z_gzwrite
|
93
|
+
# endif
|
94
|
+
# define inflate z_inflate
|
95
|
+
# define inflateBack z_inflateBack
|
96
|
+
# define inflateBackEnd z_inflateBackEnd
|
97
|
+
# define inflateBackInit_ z_inflateBackInit_
|
98
|
+
# define inflateCopy z_inflateCopy
|
99
|
+
# define inflateEnd z_inflateEnd
|
100
|
+
# define inflateGetHeader z_inflateGetHeader
|
101
|
+
# define inflateInit2_ z_inflateInit2_
|
102
|
+
# define inflateInit_ z_inflateInit_
|
103
|
+
# define inflateMark z_inflateMark
|
104
|
+
# define inflatePrime z_inflatePrime
|
105
|
+
# define inflateReset z_inflateReset
|
106
|
+
# define inflateReset2 z_inflateReset2
|
107
|
+
# define inflateSetDictionary z_inflateSetDictionary
|
108
|
+
# define inflateGetDictionary z_inflateGetDictionary
|
109
|
+
# define inflateSync z_inflateSync
|
110
|
+
# define inflateSyncPoint z_inflateSyncPoint
|
111
|
+
# define inflateUndermine z_inflateUndermine
|
112
|
+
# define inflateResetKeep z_inflateResetKeep
|
113
|
+
# define inflate_copyright z_inflate_copyright
|
114
|
+
# define inflate_fast z_inflate_fast
|
115
|
+
# define inflate_table z_inflate_table
|
116
|
+
# ifndef Z_SOLO
|
117
|
+
# define uncompress z_uncompress
|
118
|
+
# endif
|
119
|
+
# define zError z_zError
|
120
|
+
# ifndef Z_SOLO
|
121
|
+
# define zcalloc z_zcalloc
|
122
|
+
# define zcfree z_zcfree
|
123
|
+
# endif
|
124
|
+
# define zlibCompileFlags z_zlibCompileFlags
|
125
|
+
# define zlibVersion z_zlibVersion
|
126
|
+
|
127
|
+
/* all zlib typedefs in zlib.h and zconf.h */
|
128
|
+
# define Byte z_Byte
|
129
|
+
# define Bytef z_Bytef
|
130
|
+
# define alloc_func z_alloc_func
|
131
|
+
# define charf z_charf
|
132
|
+
# define free_func z_free_func
|
133
|
+
# ifndef Z_SOLO
|
134
|
+
# define gzFile z_gzFile
|
135
|
+
# endif
|
136
|
+
# define gz_header z_gz_header
|
137
|
+
# define gz_headerp z_gz_headerp
|
138
|
+
# define in_func z_in_func
|
139
|
+
# define intf z_intf
|
140
|
+
# define out_func z_out_func
|
141
|
+
# define uInt z_uInt
|
142
|
+
# define uIntf z_uIntf
|
143
|
+
# define uLong z_uLong
|
144
|
+
# define uLongf z_uLongf
|
145
|
+
# define voidp z_voidp
|
146
|
+
# define voidpc z_voidpc
|
147
|
+
# define voidpf z_voidpf
|
148
|
+
|
149
|
+
/* all zlib structs in zlib.h and zconf.h */
|
150
|
+
# define gz_header_s z_gz_header_s
|
151
|
+
# define internal_state z_internal_state
|
152
|
+
|
153
|
+
#endif
|
154
|
+
|
155
|
+
#if defined(__MSDOS__) && !defined(MSDOS)
|
156
|
+
# define MSDOS
|
157
|
+
#endif
|
158
|
+
#if (defined(OS_2) || defined(__OS2__)) && !defined(OS2)
|
159
|
+
# define OS2
|
160
|
+
#endif
|
161
|
+
#if defined(_WINDOWS) && !defined(WINDOWS)
|
162
|
+
# define WINDOWS
|
163
|
+
#endif
|
164
|
+
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
|
165
|
+
# ifndef WIN32
|
166
|
+
# define WIN32
|
167
|
+
# endif
|
168
|
+
#endif
|
169
|
+
#if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32)
|
170
|
+
# if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__)
|
171
|
+
# ifndef SYS16BIT
|
172
|
+
# define SYS16BIT
|
173
|
+
# endif
|
174
|
+
# endif
|
175
|
+
#endif
|
176
|
+
|
177
|
+
/*
|
178
|
+
* Compile with -DMAXSEG_64K if the alloc function cannot allocate more
|
179
|
+
* than 64k bytes at a time (needed on systems with 16-bit int).
|
180
|
+
*/
|
181
|
+
#ifdef SYS16BIT
|
182
|
+
# define MAXSEG_64K
|
183
|
+
#endif
|
184
|
+
#ifdef MSDOS
|
185
|
+
# define UNALIGNED_OK
|
186
|
+
#endif
|
187
|
+
|
188
|
+
#ifdef __STDC_VERSION__
|
189
|
+
# ifndef STDC
|
190
|
+
# define STDC
|
191
|
+
# endif
|
192
|
+
# if __STDC_VERSION__ >= 199901L
|
193
|
+
# ifndef STDC99
|
194
|
+
# define STDC99
|
195
|
+
# endif
|
196
|
+
# endif
|
197
|
+
#endif
|
198
|
+
#if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus))
|
199
|
+
# define STDC
|
200
|
+
#endif
|
201
|
+
#if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__))
|
202
|
+
# define STDC
|
203
|
+
#endif
|
204
|
+
#if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32))
|
205
|
+
# define STDC
|
206
|
+
#endif
|
207
|
+
#if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__))
|
208
|
+
# define STDC
|
209
|
+
#endif
|
210
|
+
|
211
|
+
#if defined(__OS400__) && !defined(STDC) /* iSeries (formerly AS/400). */
|
212
|
+
# define STDC
|
213
|
+
#endif
|
214
|
+
|
215
|
+
#ifndef STDC
|
216
|
+
# ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */
|
217
|
+
# define const /* note: need a more gentle solution here */
|
218
|
+
# endif
|
219
|
+
#endif
|
220
|
+
|
221
|
+
#if defined(ZLIB_CONST) && !defined(z_const)
|
222
|
+
# define z_const const
|
223
|
+
#else
|
224
|
+
# define z_const
|
225
|
+
#endif
|
226
|
+
|
227
|
+
/* Some Mac compilers merge all .h files incorrectly: */
|
228
|
+
#if defined(__MWERKS__)||defined(applec)||defined(THINK_C)||defined(__SC__)
|
229
|
+
# define NO_DUMMY_DECL
|
230
|
+
#endif
|
231
|
+
|
232
|
+
/* Maximum value for memLevel in deflateInit2 */
|
233
|
+
#ifndef MAX_MEM_LEVEL
|
234
|
+
# ifdef MAXSEG_64K
|
235
|
+
# define MAX_MEM_LEVEL 8
|
236
|
+
# else
|
237
|
+
# define MAX_MEM_LEVEL 9
|
238
|
+
# endif
|
239
|
+
#endif
|
240
|
+
|
241
|
+
/* Maximum value for windowBits in deflateInit2 and inflateInit2.
|
242
|
+
* WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
|
243
|
+
* created by gzip. (Files created by minigzip can still be extracted by
|
244
|
+
* gzip.)
|
245
|
+
*/
|
246
|
+
#ifndef MAX_WBITS
|
247
|
+
# define MAX_WBITS 15 /* 32K LZ77 window */
|
248
|
+
#endif
|
249
|
+
|
250
|
+
/* The memory requirements for deflate are (in bytes):
|
251
|
+
(1 << (windowBits+2)) + (1 << (memLevel+9))
|
252
|
+
that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
|
253
|
+
plus a few kilobytes for small objects. For example, if you want to reduce
|
254
|
+
the default memory requirements from 256K to 128K, compile with
|
255
|
+
make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
|
256
|
+
Of course this will generally degrade compression (there's no free lunch).
|
257
|
+
|
258
|
+
The memory requirements for inflate are (in bytes) 1 << windowBits
|
259
|
+
that is, 32K for windowBits=15 (default value) plus a few kilobytes
|
260
|
+
for small objects.
|
261
|
+
*/
|
262
|
+
|
263
|
+
/* Type declarations */
|
264
|
+
|
265
|
+
#ifndef OF /* function prototypes */
|
266
|
+
# ifdef STDC
|
267
|
+
# define OF(args) args
|
268
|
+
# else
|
269
|
+
# define OF(args) ()
|
270
|
+
# endif
|
271
|
+
#endif
|
272
|
+
|
273
|
+
#ifndef Z_ARG /* function prototypes for stdarg */
|
274
|
+
# if defined(STDC) || defined(Z_HAVE_STDARG_H)
|
275
|
+
# define Z_ARG(args) args
|
276
|
+
# else
|
277
|
+
# define Z_ARG(args) ()
|
278
|
+
# endif
|
279
|
+
#endif
|
280
|
+
|
281
|
+
/* The following definitions for FAR are needed only for MSDOS mixed
|
282
|
+
* model programming (small or medium model with some far allocations).
|
283
|
+
* This was tested only with MSC; for other MSDOS compilers you may have
|
284
|
+
* to define NO_MEMCPY in zutil.h. If you don't need the mixed model,
|
285
|
+
* just define FAR to be empty.
|
286
|
+
*/
|
287
|
+
#ifdef SYS16BIT
|
288
|
+
# if defined(M_I86SM) || defined(M_I86MM)
|
289
|
+
/* MSC small or medium model */
|
290
|
+
# define SMALL_MEDIUM
|
291
|
+
# ifdef _MSC_VER
|
292
|
+
# define FAR _far
|
293
|
+
# else
|
294
|
+
# define FAR far
|
295
|
+
# endif
|
296
|
+
# endif
|
297
|
+
# if (defined(__SMALL__) || defined(__MEDIUM__))
|
298
|
+
/* Turbo C small or medium model */
|
299
|
+
# define SMALL_MEDIUM
|
300
|
+
# ifdef __BORLANDC__
|
301
|
+
# define FAR _far
|
302
|
+
# else
|
303
|
+
# define FAR far
|
304
|
+
# endif
|
305
|
+
# endif
|
306
|
+
#endif
|
307
|
+
|
308
|
+
#if defined(WINDOWS) || defined(WIN32)
|
309
|
+
/* If building or using zlib as a DLL, define ZLIB_DLL.
|
310
|
+
* This is not mandatory, but it offers a little performance increase.
|
311
|
+
*/
|
312
|
+
# ifdef ZLIB_DLL
|
313
|
+
# if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500))
|
314
|
+
# ifdef ZLIB_INTERNAL
|
315
|
+
# define ZEXTERN extern __declspec(dllexport)
|
316
|
+
# else
|
317
|
+
# define ZEXTERN extern __declspec(dllimport)
|
318
|
+
# endif
|
319
|
+
# endif
|
320
|
+
# endif /* ZLIB_DLL */
|
321
|
+
/* If building or using zlib with the WINAPI/WINAPIV calling convention,
|
322
|
+
* define ZLIB_WINAPI.
|
323
|
+
* Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
|
324
|
+
*/
|
325
|
+
# ifdef ZLIB_WINAPI
|
326
|
+
# ifdef FAR
|
327
|
+
# undef FAR
|
328
|
+
# endif
|
329
|
+
# include <windows.h>
|
330
|
+
/* No need for _export, use ZLIB.DEF instead. */
|
331
|
+
/* For complete Windows compatibility, use WINAPI, not __stdcall. */
|
332
|
+
# define ZEXPORT WINAPI
|
333
|
+
# ifdef WIN32
|
334
|
+
# define ZEXPORTVA WINAPIV
|
335
|
+
# else
|
336
|
+
# define ZEXPORTVA FAR CDECL
|
337
|
+
# endif
|
338
|
+
# endif
|
339
|
+
#endif
|
340
|
+
|
341
|
+
#if defined (__BEOS__)
|
342
|
+
# ifdef ZLIB_DLL
|
343
|
+
# ifdef ZLIB_INTERNAL
|
344
|
+
# define ZEXPORT __declspec(dllexport)
|
345
|
+
# define ZEXPORTVA __declspec(dllexport)
|
346
|
+
# else
|
347
|
+
# define ZEXPORT __declspec(dllimport)
|
348
|
+
# define ZEXPORTVA __declspec(dllimport)
|
349
|
+
# endif
|
350
|
+
# endif
|
351
|
+
#endif
|
352
|
+
|
353
|
+
#ifndef ZEXTERN
|
354
|
+
# define ZEXTERN extern
|
355
|
+
#endif
|
356
|
+
#ifndef ZEXPORT
|
357
|
+
# define ZEXPORT
|
358
|
+
#endif
|
359
|
+
#ifndef ZEXPORTVA
|
360
|
+
# define ZEXPORTVA
|
361
|
+
#endif
|
362
|
+
|
363
|
+
#ifndef FAR
|
364
|
+
# define FAR
|
365
|
+
#endif
|
366
|
+
|
367
|
+
#if !defined(__MACTYPES__)
|
368
|
+
typedef unsigned char Byte; /* 8 bits */
|
369
|
+
#endif
|
370
|
+
typedef unsigned int uInt; /* 16 bits or more */
|
371
|
+
typedef unsigned long uLong; /* 32 bits or more */
|
372
|
+
|
373
|
+
#ifdef SMALL_MEDIUM
|
374
|
+
/* Borland C/C++ and some old MSC versions ignore FAR inside typedef */
|
375
|
+
# define Bytef Byte FAR
|
376
|
+
#else
|
377
|
+
typedef Byte FAR Bytef;
|
378
|
+
#endif
|
379
|
+
typedef char FAR charf;
|
380
|
+
typedef int FAR intf;
|
381
|
+
typedef uInt FAR uIntf;
|
382
|
+
typedef uLong FAR uLongf;
|
383
|
+
|
384
|
+
#ifdef STDC
|
385
|
+
typedef void const *voidpc;
|
386
|
+
typedef void FAR *voidpf;
|
387
|
+
typedef void *voidp;
|
388
|
+
#else
|
389
|
+
typedef Byte const *voidpc;
|
390
|
+
typedef Byte FAR *voidpf;
|
391
|
+
typedef Byte *voidp;
|
392
|
+
#endif
|
393
|
+
|
394
|
+
#if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
|
395
|
+
# include <limits.h>
|
396
|
+
# if (UINT_MAX == 0xffffffffUL)
|
397
|
+
# define Z_U4 unsigned
|
398
|
+
# elif (ULONG_MAX == 0xffffffffUL)
|
399
|
+
# define Z_U4 unsigned long
|
400
|
+
# elif (USHRT_MAX == 0xffffffffUL)
|
401
|
+
# define Z_U4 unsigned short
|
402
|
+
# endif
|
403
|
+
#endif
|
404
|
+
|
405
|
+
#ifdef Z_U4
|
406
|
+
typedef Z_U4 z_crc_t;
|
407
|
+
#else
|
408
|
+
typedef unsigned long z_crc_t;
|
409
|
+
#endif
|
410
|
+
|
411
|
+
#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
|
412
|
+
# define Z_HAVE_UNISTD_H
|
413
|
+
#endif
|
414
|
+
|
415
|
+
#ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */
|
416
|
+
# define Z_HAVE_STDARG_H
|
417
|
+
#endif
|
418
|
+
|
419
|
+
#ifdef STDC
|
420
|
+
# ifndef Z_SOLO
|
421
|
+
# include <sys/types.h> /* for off_t */
|
422
|
+
# endif
|
423
|
+
#endif
|
424
|
+
|
425
|
+
#if defined(STDC) || defined(Z_HAVE_STDARG_H)
|
426
|
+
# ifndef Z_SOLO
|
427
|
+
# include <stdarg.h> /* for va_list */
|
428
|
+
# endif
|
429
|
+
#endif
|
430
|
+
|
431
|
+
#ifdef _WIN32
|
432
|
+
# ifndef Z_SOLO
|
433
|
+
# include <stddef.h> /* for wchar_t */
|
434
|
+
# endif
|
435
|
+
#endif
|
436
|
+
|
437
|
+
/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
|
438
|
+
* "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
|
439
|
+
* though the former does not conform to the LFS document), but considering
|
440
|
+
* both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
|
441
|
+
* equivalently requesting no 64-bit operations
|
442
|
+
*/
|
443
|
+
#if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1
|
444
|
+
# undef _LARGEFILE64_SOURCE
|
445
|
+
#endif
|
446
|
+
|
447
|
+
#if defined(__WATCOMC__) && !defined(Z_HAVE_UNISTD_H)
|
448
|
+
# define Z_HAVE_UNISTD_H
|
449
|
+
#endif
|
450
|
+
#ifndef Z_SOLO
|
451
|
+
# if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
|
452
|
+
# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
|
453
|
+
# ifdef VMS
|
454
|
+
# include <unixio.h> /* for off_t */
|
455
|
+
# endif
|
456
|
+
# ifndef z_off_t
|
457
|
+
# define z_off_t off_t
|
458
|
+
# endif
|
459
|
+
# endif
|
460
|
+
#endif
|
461
|
+
|
462
|
+
#if defined(_LFS64_LARGEFILE) && _LFS64_LARGEFILE-0
|
463
|
+
# define Z_LFS64
|
464
|
+
#endif
|
465
|
+
|
466
|
+
#if defined(_LARGEFILE64_SOURCE) && defined(Z_LFS64)
|
467
|
+
# define Z_LARGE64
|
468
|
+
#endif
|
469
|
+
|
470
|
+
#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS-0 == 64 && defined(Z_LFS64)
|
471
|
+
# define Z_WANT64
|
472
|
+
#endif
|
473
|
+
|
474
|
+
#if !defined(SEEK_SET) && !defined(Z_SOLO)
|
475
|
+
# define SEEK_SET 0 /* Seek from beginning of file. */
|
476
|
+
# define SEEK_CUR 1 /* Seek from current position. */
|
477
|
+
# define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
|
478
|
+
#endif
|
479
|
+
|
480
|
+
#ifndef z_off_t
|
481
|
+
# define z_off_t long
|
482
|
+
#endif
|
483
|
+
|
484
|
+
#if !defined(_WIN32) && defined(Z_LARGE64)
|
485
|
+
# define z_off64_t off64_t
|
486
|
+
#else
|
487
|
+
# if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO)
|
488
|
+
# define z_off64_t __int64
|
489
|
+
# else
|
490
|
+
# define z_off64_t z_off_t
|
491
|
+
# endif
|
492
|
+
#endif
|
493
|
+
|
494
|
+
/* MVS linker does not support external names larger than 8 bytes */
|
495
|
+
#if defined(__MVS__)
|
496
|
+
#pragma map(deflateInit_,"DEIN")
|
497
|
+
#pragma map(deflateInit2_,"DEIN2")
|
498
|
+
#pragma map(deflateEnd,"DEEND")
|
499
|
+
#pragma map(deflateBound,"DEBND")
|
500
|
+
#pragma map(inflateInit_,"ININ")
|
501
|
+
#pragma map(inflateInit2_,"ININ2")
|
502
|
+
#pragma map(inflateEnd,"INEND")
|
503
|
+
#pragma map(inflateSync,"INSY")
|
504
|
+
#pragma map(inflateSetDictionary,"INSEDI")
|
505
|
+
#pragma map(compressBound,"CMBND")
|
506
|
+
#pragma map(inflate_table,"INTABL")
|
507
|
+
#pragma map(inflate_fast,"INFA")
|
508
|
+
#pragma map(inflate_copyright,"INCOPY")
|
509
|
+
#endif
|
510
|
+
|
511
|
+
#endif /* ZCONF_H */
|