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,47 @@
|
|
1
|
+
# Do not edit. Generated by the configure script.
|
2
|
+
{ 'target_defaults': { 'cflags': [],
|
3
|
+
'default_configuration': 'Release',
|
4
|
+
'defines': [],
|
5
|
+
'include_dirs': [],
|
6
|
+
'libraries': []},
|
7
|
+
'variables': { 'asan': 0,
|
8
|
+
'host_arch': 'x64',
|
9
|
+
'icu_data_file': 'icudt56l.dat',
|
10
|
+
'icu_data_in': '../../deps/icu/source/data/in/icudt56l.dat',
|
11
|
+
'icu_endianness': 'l',
|
12
|
+
'icu_gyp_path': 'tools/icu/icu-generic.gyp',
|
13
|
+
'icu_locales': 'en,root',
|
14
|
+
'icu_path': './deps/icu',
|
15
|
+
'icu_small': 'true',
|
16
|
+
'icu_ver_major': '56',
|
17
|
+
'llvm_version': 0,
|
18
|
+
'node_byteorder': 'little',
|
19
|
+
'node_enable_v8_vtunejit': 'false',
|
20
|
+
'node_install_npm': 'true',
|
21
|
+
'node_no_browser_globals': 'false',
|
22
|
+
'node_prefix': '/',
|
23
|
+
'node_release_urlbase': 'https://nodejs.org/download/release/',
|
24
|
+
'node_shared_cares': 'false',
|
25
|
+
'node_shared_http_parser': 'false',
|
26
|
+
'node_shared_libuv': 'false',
|
27
|
+
'node_shared_openssl': 'false',
|
28
|
+
'node_shared_zlib': 'false',
|
29
|
+
'node_tag': '',
|
30
|
+
'node_use_dtrace': 'true',
|
31
|
+
'node_use_etw': 'false',
|
32
|
+
'node_use_lttng': 'false',
|
33
|
+
'node_use_openssl': 'true',
|
34
|
+
'node_use_perfctr': 'false',
|
35
|
+
'openssl_fips': '',
|
36
|
+
'openssl_no_asm': 0,
|
37
|
+
'target_arch': 'x64',
|
38
|
+
'uv_parent_path': '/deps/uv/',
|
39
|
+
'uv_use_dtrace': 'true',
|
40
|
+
'v8_enable_gdbjit': 0,
|
41
|
+
'v8_enable_i18n_support': 1,
|
42
|
+
'v8_no_strict_aliasing': 1,
|
43
|
+
'v8_optimized_debug': 0,
|
44
|
+
'v8_random_seed': 0,
|
45
|
+
'v8_use_snapshot': 'true',
|
46
|
+
'want_separate_host_toolset': 0,
|
47
|
+
'xcode_version': '7.0'}}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
// Copyright 2014 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 V8_LIBPLATFORM_LIBPLATFORM_H_
|
6
|
+
#define V8_LIBPLATFORM_LIBPLATFORM_H_
|
7
|
+
|
8
|
+
#include "include/v8-platform.h"
|
9
|
+
|
10
|
+
namespace v8 {
|
11
|
+
namespace platform {
|
12
|
+
|
13
|
+
/**
|
14
|
+
* Returns a new instance of the default v8::Platform implementation.
|
15
|
+
*
|
16
|
+
* The caller will take ownership of the returned pointer. |thread_pool_size|
|
17
|
+
* is the number of worker threads to allocate for background jobs. If a value
|
18
|
+
* of zero is passed, a suitable default based on the current number of
|
19
|
+
* processors online will be chosen.
|
20
|
+
*/
|
21
|
+
v8::Platform* CreateDefaultPlatform(int thread_pool_size = 0);
|
22
|
+
|
23
|
+
|
24
|
+
/**
|
25
|
+
* Pumps the message loop for the given isolate.
|
26
|
+
*
|
27
|
+
* The caller has to make sure that this is called from the right thread.
|
28
|
+
* Returns true if a task was executed, and false otherwise. This call does
|
29
|
+
* not block if no task is pending. The |platform| has to be created using
|
30
|
+
* |CreateDefaultPlatform|.
|
31
|
+
*/
|
32
|
+
bool PumpMessageLoop(v8::Platform* platform, v8::Isolate* isolate);
|
33
|
+
|
34
|
+
|
35
|
+
} // namespace platform
|
36
|
+
} // namespace v8
|
37
|
+
|
38
|
+
#endif // V8_LIBPLATFORM_LIBPLATFORM_H_
|
@@ -0,0 +1,211 @@
|
|
1
|
+
|
2
|
+
#ifndef ARES_NAMESER_H
|
3
|
+
#define ARES_NAMESER_H
|
4
|
+
|
5
|
+
/* header file provided by liren@vivisimo.com */
|
6
|
+
|
7
|
+
#ifndef HAVE_ARPA_NAMESER_H
|
8
|
+
|
9
|
+
#define NS_PACKETSZ 512 /* maximum packet size */
|
10
|
+
#define NS_MAXDNAME 256 /* maximum domain name */
|
11
|
+
#define NS_MAXCDNAME 255 /* maximum compressed domain name */
|
12
|
+
#define NS_MAXLABEL 63
|
13
|
+
#define NS_HFIXEDSZ 12 /* #/bytes of fixed data in header */
|
14
|
+
#define NS_QFIXEDSZ 4 /* #/bytes of fixed data in query */
|
15
|
+
#define NS_RRFIXEDSZ 10 /* #/bytes of fixed data in r record */
|
16
|
+
#define NS_INT16SZ 2
|
17
|
+
#define NS_INADDRSZ 4
|
18
|
+
#define NS_IN6ADDRSZ 16
|
19
|
+
#define NS_CMPRSFLGS 0xc0 /* Flag bits indicating name compression. */
|
20
|
+
#define NS_DEFAULTPORT 53 /* For both TCP and UDP. */
|
21
|
+
|
22
|
+
typedef enum __ns_class {
|
23
|
+
ns_c_invalid = 0, /* Cookie. */
|
24
|
+
ns_c_in = 1, /* Internet. */
|
25
|
+
ns_c_2 = 2, /* unallocated/unsupported. */
|
26
|
+
ns_c_chaos = 3, /* MIT Chaos-net. */
|
27
|
+
ns_c_hs = 4, /* MIT Hesiod. */
|
28
|
+
/* Query class values which do not appear in resource records */
|
29
|
+
ns_c_none = 254, /* for prereq. sections in update requests */
|
30
|
+
ns_c_any = 255, /* Wildcard match. */
|
31
|
+
ns_c_max = 65536
|
32
|
+
} ns_class;
|
33
|
+
|
34
|
+
typedef enum __ns_type {
|
35
|
+
ns_t_invalid = 0, /* Cookie. */
|
36
|
+
ns_t_a = 1, /* Host address. */
|
37
|
+
ns_t_ns = 2, /* Authoritative server. */
|
38
|
+
ns_t_md = 3, /* Mail destination. */
|
39
|
+
ns_t_mf = 4, /* Mail forwarder. */
|
40
|
+
ns_t_cname = 5, /* Canonical name. */
|
41
|
+
ns_t_soa = 6, /* Start of authority zone. */
|
42
|
+
ns_t_mb = 7, /* Mailbox domain name. */
|
43
|
+
ns_t_mg = 8, /* Mail group member. */
|
44
|
+
ns_t_mr = 9, /* Mail rename name. */
|
45
|
+
ns_t_null = 10, /* Null resource record. */
|
46
|
+
ns_t_wks = 11, /* Well known service. */
|
47
|
+
ns_t_ptr = 12, /* Domain name pointer. */
|
48
|
+
ns_t_hinfo = 13, /* Host information. */
|
49
|
+
ns_t_minfo = 14, /* Mailbox information. */
|
50
|
+
ns_t_mx = 15, /* Mail routing information. */
|
51
|
+
ns_t_txt = 16, /* Text strings. */
|
52
|
+
ns_t_rp = 17, /* Responsible person. */
|
53
|
+
ns_t_afsdb = 18, /* AFS cell database. */
|
54
|
+
ns_t_x25 = 19, /* X_25 calling address. */
|
55
|
+
ns_t_isdn = 20, /* ISDN calling address. */
|
56
|
+
ns_t_rt = 21, /* Router. */
|
57
|
+
ns_t_nsap = 22, /* NSAP address. */
|
58
|
+
ns_t_nsap_ptr = 23, /* Reverse NSAP lookup (deprecated). */
|
59
|
+
ns_t_sig = 24, /* Security signature. */
|
60
|
+
ns_t_key = 25, /* Security key. */
|
61
|
+
ns_t_px = 26, /* X.400 mail mapping. */
|
62
|
+
ns_t_gpos = 27, /* Geographical position (withdrawn). */
|
63
|
+
ns_t_aaaa = 28, /* Ip6 Address. */
|
64
|
+
ns_t_loc = 29, /* Location Information. */
|
65
|
+
ns_t_nxt = 30, /* Next domain (security). */
|
66
|
+
ns_t_eid = 31, /* Endpoint identifier. */
|
67
|
+
ns_t_nimloc = 32, /* Nimrod Locator. */
|
68
|
+
ns_t_srv = 33, /* Server Selection. */
|
69
|
+
ns_t_atma = 34, /* ATM Address */
|
70
|
+
ns_t_naptr = 35, /* Naming Authority PoinTeR */
|
71
|
+
ns_t_kx = 36, /* Key Exchange */
|
72
|
+
ns_t_cert = 37, /* Certification record */
|
73
|
+
ns_t_a6 = 38, /* IPv6 address (deprecates AAAA) */
|
74
|
+
ns_t_dname = 39, /* Non-terminal DNAME (for IPv6) */
|
75
|
+
ns_t_sink = 40, /* Kitchen sink (experimentatl) */
|
76
|
+
ns_t_opt = 41, /* EDNS0 option (meta-RR) */
|
77
|
+
ns_t_apl = 42, /* Address prefix list (RFC3123) */
|
78
|
+
ns_t_ds = 43, /* Delegation Signer (RFC4034) */
|
79
|
+
ns_t_sshfp = 44, /* SSH Key Fingerprint (RFC4255) */
|
80
|
+
ns_t_rrsig = 46, /* Resource Record Signature (RFC4034) */
|
81
|
+
ns_t_nsec = 47, /* Next Secure (RFC4034) */
|
82
|
+
ns_t_dnskey = 48, /* DNS Public Key (RFC4034) */
|
83
|
+
ns_t_tkey = 249, /* Transaction key */
|
84
|
+
ns_t_tsig = 250, /* Transaction signature. */
|
85
|
+
ns_t_ixfr = 251, /* Incremental zone transfer. */
|
86
|
+
ns_t_axfr = 252, /* Transfer zone of authority. */
|
87
|
+
ns_t_mailb = 253, /* Transfer mailbox records. */
|
88
|
+
ns_t_maila = 254, /* Transfer mail agent records. */
|
89
|
+
ns_t_any = 255, /* Wildcard match. */
|
90
|
+
ns_t_zxfr = 256, /* BIND-specific, nonstandard. */
|
91
|
+
ns_t_max = 65536
|
92
|
+
} ns_type;
|
93
|
+
|
94
|
+
typedef enum __ns_opcode {
|
95
|
+
ns_o_query = 0, /* Standard query. */
|
96
|
+
ns_o_iquery = 1, /* Inverse query (deprecated/unsupported). */
|
97
|
+
ns_o_status = 2, /* Name server status query (unsupported). */
|
98
|
+
/* Opcode 3 is undefined/reserved. */
|
99
|
+
ns_o_notify = 4, /* Zone change notification. */
|
100
|
+
ns_o_update = 5, /* Zone update message. */
|
101
|
+
ns_o_max = 6
|
102
|
+
} ns_opcode;
|
103
|
+
|
104
|
+
typedef enum __ns_rcode {
|
105
|
+
ns_r_noerror = 0, /* No error occurred. */
|
106
|
+
ns_r_formerr = 1, /* Format error. */
|
107
|
+
ns_r_servfail = 2, /* Server failure. */
|
108
|
+
ns_r_nxdomain = 3, /* Name error. */
|
109
|
+
ns_r_notimpl = 4, /* Unimplemented. */
|
110
|
+
ns_r_refused = 5, /* Operation refused. */
|
111
|
+
/* these are for BIND_UPDATE */
|
112
|
+
ns_r_yxdomain = 6, /* Name exists */
|
113
|
+
ns_r_yxrrset = 7, /* RRset exists */
|
114
|
+
ns_r_nxrrset = 8, /* RRset does not exist */
|
115
|
+
ns_r_notauth = 9, /* Not authoritative for zone */
|
116
|
+
ns_r_notzone = 10, /* Zone of record different from zone section */
|
117
|
+
ns_r_max = 11,
|
118
|
+
/* The following are TSIG extended errors */
|
119
|
+
ns_r_badsig = 16,
|
120
|
+
ns_r_badkey = 17,
|
121
|
+
ns_r_badtime = 18
|
122
|
+
} ns_rcode;
|
123
|
+
|
124
|
+
#endif /* HAVE_ARPA_NAMESER_H */
|
125
|
+
|
126
|
+
#ifndef HAVE_ARPA_NAMESER_COMPAT_H
|
127
|
+
|
128
|
+
#define PACKETSZ NS_PACKETSZ
|
129
|
+
#define MAXDNAME NS_MAXDNAME
|
130
|
+
#define MAXCDNAME NS_MAXCDNAME
|
131
|
+
#define MAXLABEL NS_MAXLABEL
|
132
|
+
#define HFIXEDSZ NS_HFIXEDSZ
|
133
|
+
#define QFIXEDSZ NS_QFIXEDSZ
|
134
|
+
#define RRFIXEDSZ NS_RRFIXEDSZ
|
135
|
+
#define INDIR_MASK NS_CMPRSFLGS
|
136
|
+
#define NAMESERVER_PORT NS_DEFAULTPORT
|
137
|
+
|
138
|
+
#define QUERY ns_o_query
|
139
|
+
|
140
|
+
#define SERVFAIL ns_r_servfail
|
141
|
+
#define NOTIMP ns_r_notimpl
|
142
|
+
#define REFUSED ns_r_refused
|
143
|
+
#undef NOERROR /* it seems this is already defined in winerror.h */
|
144
|
+
#define NOERROR ns_r_noerror
|
145
|
+
#define FORMERR ns_r_formerr
|
146
|
+
#define NXDOMAIN ns_r_nxdomain
|
147
|
+
|
148
|
+
#define C_IN ns_c_in
|
149
|
+
#define C_CHAOS ns_c_chaos
|
150
|
+
#define C_HS ns_c_hs
|
151
|
+
#define C_NONE ns_c_none
|
152
|
+
#define C_ANY ns_c_any
|
153
|
+
|
154
|
+
#define T_A ns_t_a
|
155
|
+
#define T_NS ns_t_ns
|
156
|
+
#define T_MD ns_t_md
|
157
|
+
#define T_MF ns_t_mf
|
158
|
+
#define T_CNAME ns_t_cname
|
159
|
+
#define T_SOA ns_t_soa
|
160
|
+
#define T_MB ns_t_mb
|
161
|
+
#define T_MG ns_t_mg
|
162
|
+
#define T_MR ns_t_mr
|
163
|
+
#define T_NULL ns_t_null
|
164
|
+
#define T_WKS ns_t_wks
|
165
|
+
#define T_PTR ns_t_ptr
|
166
|
+
#define T_HINFO ns_t_hinfo
|
167
|
+
#define T_MINFO ns_t_minfo
|
168
|
+
#define T_MX ns_t_mx
|
169
|
+
#define T_TXT ns_t_txt
|
170
|
+
#define T_RP ns_t_rp
|
171
|
+
#define T_AFSDB ns_t_afsdb
|
172
|
+
#define T_X25 ns_t_x25
|
173
|
+
#define T_ISDN ns_t_isdn
|
174
|
+
#define T_RT ns_t_rt
|
175
|
+
#define T_NSAP ns_t_nsap
|
176
|
+
#define T_NSAP_PTR ns_t_nsap_ptr
|
177
|
+
#define T_SIG ns_t_sig
|
178
|
+
#define T_KEY ns_t_key
|
179
|
+
#define T_PX ns_t_px
|
180
|
+
#define T_GPOS ns_t_gpos
|
181
|
+
#define T_AAAA ns_t_aaaa
|
182
|
+
#define T_LOC ns_t_loc
|
183
|
+
#define T_NXT ns_t_nxt
|
184
|
+
#define T_EID ns_t_eid
|
185
|
+
#define T_NIMLOC ns_t_nimloc
|
186
|
+
#define T_SRV ns_t_srv
|
187
|
+
#define T_ATMA ns_t_atma
|
188
|
+
#define T_NAPTR ns_t_naptr
|
189
|
+
#define T_KX ns_t_kx
|
190
|
+
#define T_CERT ns_t_cert
|
191
|
+
#define T_A6 ns_t_a6
|
192
|
+
#define T_DNAME ns_t_dname
|
193
|
+
#define T_SINK ns_t_sink
|
194
|
+
#define T_OPT ns_t_opt
|
195
|
+
#define T_APL ns_t_apl
|
196
|
+
#define T_DS ns_t_ds
|
197
|
+
#define T_SSHFP ns_t_sshfp
|
198
|
+
#define T_RRSIG ns_t_rrsig
|
199
|
+
#define T_NSEC ns_t_nsec
|
200
|
+
#define T_DNSKEY ns_t_dnskey
|
201
|
+
#define T_TKEY ns_t_tkey
|
202
|
+
#define T_TSIG ns_t_tsig
|
203
|
+
#define T_IXFR ns_t_ixfr
|
204
|
+
#define T_AXFR ns_t_axfr
|
205
|
+
#define T_MAILB ns_t_mailb
|
206
|
+
#define T_MAILA ns_t_maila
|
207
|
+
#define T_ANY ns_t_any
|
208
|
+
|
209
|
+
#endif /* HAVE_ARPA_NAMESER_COMPAT_H */
|
210
|
+
|
211
|
+
#endif /* ARES_NAMESER_H */
|
@@ -0,0 +1,489 @@
|
|
1
|
+
#ifndef SRC_NODE_H_
|
2
|
+
#define SRC_NODE_H_
|
3
|
+
|
4
|
+
#ifdef _WIN32
|
5
|
+
# ifndef BUILDING_NODE_EXTENSION
|
6
|
+
# define NODE_EXTERN __declspec(dllexport)
|
7
|
+
# else
|
8
|
+
# define NODE_EXTERN __declspec(dllimport)
|
9
|
+
# endif
|
10
|
+
#else
|
11
|
+
# define NODE_EXTERN /* nothing */
|
12
|
+
#endif
|
13
|
+
|
14
|
+
#ifdef BUILDING_NODE_EXTENSION
|
15
|
+
# undef BUILDING_V8_SHARED
|
16
|
+
# undef BUILDING_UV_SHARED
|
17
|
+
# define USING_V8_SHARED 1
|
18
|
+
# define USING_UV_SHARED 1
|
19
|
+
#endif
|
20
|
+
|
21
|
+
// This should be defined in make system.
|
22
|
+
// See issue https://github.com/joyent/node/issues/1236
|
23
|
+
#if defined(__MINGW32__) || defined(_MSC_VER)
|
24
|
+
#ifndef _WIN32_WINNT
|
25
|
+
# define _WIN32_WINNT 0x0501
|
26
|
+
#endif
|
27
|
+
|
28
|
+
#ifndef NOMINMAX
|
29
|
+
# define NOMINMAX
|
30
|
+
#endif
|
31
|
+
|
32
|
+
#endif
|
33
|
+
|
34
|
+
#if defined(_MSC_VER)
|
35
|
+
#define PATH_MAX MAX_PATH
|
36
|
+
#endif
|
37
|
+
|
38
|
+
#ifdef _WIN32
|
39
|
+
# define SIGKILL 9
|
40
|
+
#endif
|
41
|
+
|
42
|
+
#include "v8.h" // NOLINT(build/include_order)
|
43
|
+
#include "node_version.h" // NODE_MODULE_VERSION
|
44
|
+
|
45
|
+
#define NODE_MAKE_VERSION(major, minor, patch) \
|
46
|
+
((major) * 0x1000 + (minor) * 0x100 + (patch))
|
47
|
+
|
48
|
+
#ifdef __clang__
|
49
|
+
# define NODE_CLANG_AT_LEAST(major, minor, patch) \
|
50
|
+
(NODE_MAKE_VERSION(major, minor, patch) <= \
|
51
|
+
NODE_MAKE_VERSION(__clang_major__, __clang_minor__, __clang_patchlevel__))
|
52
|
+
#else
|
53
|
+
# define NODE_CLANG_AT_LEAST(major, minor, patch) (0)
|
54
|
+
#endif
|
55
|
+
|
56
|
+
#ifdef __GNUC__
|
57
|
+
# define NODE_GNUC_AT_LEAST(major, minor, patch) \
|
58
|
+
(NODE_MAKE_VERSION(major, minor, patch) <= \
|
59
|
+
NODE_MAKE_VERSION(__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__))
|
60
|
+
#else
|
61
|
+
# define NODE_GNUC_AT_LEAST(major, minor, patch) (0)
|
62
|
+
#endif
|
63
|
+
|
64
|
+
#if NODE_CLANG_AT_LEAST(2, 9, 0) || NODE_GNUC_AT_LEAST(4, 5, 0)
|
65
|
+
# define NODE_DEPRECATED(message, declarator) \
|
66
|
+
__attribute__((deprecated(message))) declarator
|
67
|
+
#elif defined(_MSC_VER)
|
68
|
+
# define NODE_DEPRECATED(message, declarator) \
|
69
|
+
__declspec(deprecated) declarator
|
70
|
+
#else
|
71
|
+
# define NODE_DEPRECATED(message, declarator) \
|
72
|
+
declarator
|
73
|
+
#endif
|
74
|
+
|
75
|
+
// Forward-declare libuv loop
|
76
|
+
struct uv_loop_s;
|
77
|
+
|
78
|
+
// Forward-declare these functions now to stop MSVS from becoming
|
79
|
+
// terminally confused when it's done in node_internals.h
|
80
|
+
namespace node {
|
81
|
+
|
82
|
+
NODE_EXTERN v8::Local<v8::Value> ErrnoException(v8::Isolate* isolate,
|
83
|
+
int errorno,
|
84
|
+
const char* syscall = NULL,
|
85
|
+
const char* message = NULL,
|
86
|
+
const char* path = NULL);
|
87
|
+
NODE_EXTERN v8::Local<v8::Value> UVException(v8::Isolate* isolate,
|
88
|
+
int errorno,
|
89
|
+
const char* syscall = NULL,
|
90
|
+
const char* message = NULL,
|
91
|
+
const char* path = NULL);
|
92
|
+
NODE_EXTERN v8::Local<v8::Value> UVException(v8::Isolate* isolate,
|
93
|
+
int errorno,
|
94
|
+
const char* syscall,
|
95
|
+
const char* message,
|
96
|
+
const char* path,
|
97
|
+
const char* dest);
|
98
|
+
|
99
|
+
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
|
100
|
+
inline v8::Local<v8::Value> ErrnoException(
|
101
|
+
int errorno,
|
102
|
+
const char* syscall = NULL,
|
103
|
+
const char* message = NULL,
|
104
|
+
const char* path = NULL) {
|
105
|
+
return ErrnoException(v8::Isolate::GetCurrent(),
|
106
|
+
errorno,
|
107
|
+
syscall,
|
108
|
+
message,
|
109
|
+
path);
|
110
|
+
})
|
111
|
+
|
112
|
+
inline v8::Local<v8::Value> UVException(int errorno,
|
113
|
+
const char* syscall = NULL,
|
114
|
+
const char* message = NULL,
|
115
|
+
const char* path = NULL) {
|
116
|
+
return UVException(v8::Isolate::GetCurrent(),
|
117
|
+
errorno,
|
118
|
+
syscall,
|
119
|
+
message,
|
120
|
+
path);
|
121
|
+
}
|
122
|
+
|
123
|
+
/*
|
124
|
+
* MakeCallback doesn't have a HandleScope. That means the callers scope
|
125
|
+
* will retain ownership of created handles from MakeCallback and related.
|
126
|
+
* There is by default a wrapping HandleScope before uv_run, if the caller
|
127
|
+
* doesn't have a HandleScope on the stack the global will take ownership
|
128
|
+
* which won't be reaped until the uv loop exits.
|
129
|
+
*
|
130
|
+
* If a uv callback is fired, and there is no enclosing HandleScope in the
|
131
|
+
* cb, you will appear to leak 4-bytes for every invocation. Take heed.
|
132
|
+
*/
|
133
|
+
|
134
|
+
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
|
135
|
+
v8::Isolate* isolate,
|
136
|
+
v8::Local<v8::Object> recv,
|
137
|
+
const char* method,
|
138
|
+
int argc,
|
139
|
+
v8::Local<v8::Value>* argv);
|
140
|
+
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
|
141
|
+
v8::Isolate* isolate,
|
142
|
+
v8::Local<v8::Object> recv,
|
143
|
+
v8::Local<v8::String> symbol,
|
144
|
+
int argc,
|
145
|
+
v8::Local<v8::Value>* argv);
|
146
|
+
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
|
147
|
+
v8::Isolate* isolate,
|
148
|
+
v8::Local<v8::Object> recv,
|
149
|
+
v8::Local<v8::Function> callback,
|
150
|
+
int argc,
|
151
|
+
v8::Local<v8::Value>* argv);
|
152
|
+
|
153
|
+
} // namespace node
|
154
|
+
|
155
|
+
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
|
156
|
+
#include "node_internals.h"
|
157
|
+
#endif
|
158
|
+
|
159
|
+
#include <assert.h>
|
160
|
+
#include <stdint.h>
|
161
|
+
|
162
|
+
#ifndef NODE_STRINGIFY
|
163
|
+
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
|
164
|
+
#define NODE_STRINGIFY_HELPER(n) #n
|
165
|
+
#endif
|
166
|
+
|
167
|
+
#ifdef _WIN32
|
168
|
+
// TODO(tjfontaine) consider changing the usage of ssize_t to ptrdiff_t
|
169
|
+
#if !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED)
|
170
|
+
typedef intptr_t ssize_t;
|
171
|
+
# define _SSIZE_T_
|
172
|
+
# define _SSIZE_T_DEFINED
|
173
|
+
#endif
|
174
|
+
#else // !_WIN32
|
175
|
+
# include <sys/types.h> // size_t, ssize_t
|
176
|
+
#endif // _WIN32
|
177
|
+
|
178
|
+
|
179
|
+
namespace node {
|
180
|
+
|
181
|
+
NODE_EXTERN extern bool no_deprecation;
|
182
|
+
#if HAVE_OPENSSL && NODE_FIPS_MODE
|
183
|
+
NODE_EXTERN extern bool enable_fips_crypto;
|
184
|
+
NODE_EXTERN extern bool force_fips_crypto;
|
185
|
+
#endif
|
186
|
+
|
187
|
+
NODE_EXTERN int Start(int argc, char *argv[]);
|
188
|
+
NODE_EXTERN void Init(int* argc,
|
189
|
+
const char** argv,
|
190
|
+
int* exec_argc,
|
191
|
+
const char*** exec_argv);
|
192
|
+
|
193
|
+
class Environment;
|
194
|
+
|
195
|
+
NODE_EXTERN Environment* CreateEnvironment(v8::Isolate* isolate,
|
196
|
+
struct uv_loop_s* loop,
|
197
|
+
v8::Local<v8::Context> context,
|
198
|
+
int argc,
|
199
|
+
const char* const* argv,
|
200
|
+
int exec_argc,
|
201
|
+
const char* const* exec_argv);
|
202
|
+
NODE_EXTERN void LoadEnvironment(Environment* env);
|
203
|
+
|
204
|
+
// NOTE: Calling this is the same as calling
|
205
|
+
// CreateEnvironment() + LoadEnvironment() from above.
|
206
|
+
// `uv_default_loop()` will be passed as `loop`.
|
207
|
+
NODE_EXTERN Environment* CreateEnvironment(v8::Isolate* isolate,
|
208
|
+
v8::Local<v8::Context> context,
|
209
|
+
int argc,
|
210
|
+
const char* const* argv,
|
211
|
+
int exec_argc,
|
212
|
+
const char* const* exec_argv);
|
213
|
+
|
214
|
+
|
215
|
+
NODE_EXTERN void EmitBeforeExit(Environment* env);
|
216
|
+
NODE_EXTERN int EmitExit(Environment* env);
|
217
|
+
NODE_EXTERN void RunAtExit(Environment* env);
|
218
|
+
|
219
|
+
/* Converts a unixtime to V8 Date */
|
220
|
+
#define NODE_UNIXTIME_V8(t) v8::Date::New(v8::Isolate::GetCurrent(), \
|
221
|
+
1000 * static_cast<double>(t))
|
222
|
+
#define NODE_V8_UNIXTIME(v) (static_cast<double>((v)->NumberValue())/1000.0);
|
223
|
+
|
224
|
+
// Used to be a macro, hence the uppercase name.
|
225
|
+
#define NODE_DEFINE_CONSTANT(target, constant) \
|
226
|
+
do { \
|
227
|
+
v8::Isolate* isolate = target->GetIsolate(); \
|
228
|
+
v8::Local<v8::Context> context = isolate->GetCurrentContext(); \
|
229
|
+
v8::Local<v8::String> constant_name = \
|
230
|
+
v8::String::NewFromUtf8(isolate, #constant); \
|
231
|
+
v8::Local<v8::Number> constant_value = \
|
232
|
+
v8::Number::New(isolate, static_cast<double>(constant)); \
|
233
|
+
v8::PropertyAttribute constant_attributes = \
|
234
|
+
static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete); \
|
235
|
+
(target)->DefineOwnProperty(context, \
|
236
|
+
constant_name, \
|
237
|
+
constant_value, \
|
238
|
+
constant_attributes).FromJust(); \
|
239
|
+
} \
|
240
|
+
while (0)
|
241
|
+
|
242
|
+
// Used to be a macro, hence the uppercase name.
|
243
|
+
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
|
244
|
+
const char* name,
|
245
|
+
v8::FunctionCallback callback) {
|
246
|
+
v8::Isolate* isolate = v8::Isolate::GetCurrent();
|
247
|
+
v8::HandleScope handle_scope(isolate);
|
248
|
+
v8::Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate,
|
249
|
+
callback);
|
250
|
+
v8::Local<v8::String> fn_name = v8::String::NewFromUtf8(isolate, name);
|
251
|
+
t->SetClassName(fn_name);
|
252
|
+
recv->Set(fn_name, t);
|
253
|
+
}
|
254
|
+
|
255
|
+
// Used to be a macro, hence the uppercase name.
|
256
|
+
inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
|
257
|
+
const char* name,
|
258
|
+
v8::FunctionCallback callback) {
|
259
|
+
v8::Isolate* isolate = v8::Isolate::GetCurrent();
|
260
|
+
v8::HandleScope handle_scope(isolate);
|
261
|
+
v8::Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate,
|
262
|
+
callback);
|
263
|
+
v8::Local<v8::Function> fn = t->GetFunction();
|
264
|
+
v8::Local<v8::String> fn_name = v8::String::NewFromUtf8(isolate, name);
|
265
|
+
fn->SetName(fn_name);
|
266
|
+
recv->Set(fn_name, fn);
|
267
|
+
}
|
268
|
+
#define NODE_SET_METHOD node::NODE_SET_METHOD
|
269
|
+
|
270
|
+
// Used to be a macro, hence the uppercase name.
|
271
|
+
// Not a template because it only makes sense for FunctionTemplates.
|
272
|
+
inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv,
|
273
|
+
const char* name,
|
274
|
+
v8::FunctionCallback callback) {
|
275
|
+
v8::Isolate* isolate = v8::Isolate::GetCurrent();
|
276
|
+
v8::HandleScope handle_scope(isolate);
|
277
|
+
v8::Local<v8::Signature> s = v8::Signature::New(isolate, recv);
|
278
|
+
v8::Local<v8::FunctionTemplate> t =
|
279
|
+
v8::FunctionTemplate::New(isolate, callback, v8::Local<v8::Value>(), s);
|
280
|
+
v8::Local<v8::String> fn_name = v8::String::NewFromUtf8(isolate, name);
|
281
|
+
t->SetClassName(fn_name);
|
282
|
+
recv->PrototypeTemplate()->Set(v8::String::NewFromUtf8(isolate, name), t);
|
283
|
+
}
|
284
|
+
#define NODE_SET_PROTOTYPE_METHOD node::NODE_SET_PROTOTYPE_METHOD
|
285
|
+
|
286
|
+
enum encoding {ASCII, UTF8, BASE64, UCS2, BINARY, HEX, BUFFER};
|
287
|
+
NODE_EXTERN enum encoding ParseEncoding(
|
288
|
+
v8::Isolate* isolate,
|
289
|
+
v8::Local<v8::Value> encoding_v,
|
290
|
+
enum encoding default_encoding = BINARY);
|
291
|
+
NODE_DEPRECATED("Use ParseEncoding(isolate, ...)",
|
292
|
+
inline enum encoding ParseEncoding(
|
293
|
+
v8::Local<v8::Value> encoding_v,
|
294
|
+
enum encoding default_encoding = BINARY) {
|
295
|
+
return ParseEncoding(v8::Isolate::GetCurrent(), encoding_v, default_encoding);
|
296
|
+
})
|
297
|
+
|
298
|
+
NODE_EXTERN void FatalException(v8::Isolate* isolate,
|
299
|
+
const v8::TryCatch& try_catch);
|
300
|
+
|
301
|
+
NODE_DEPRECATED("Use FatalException(isolate, ...)",
|
302
|
+
inline void FatalException(const v8::TryCatch& try_catch) {
|
303
|
+
return FatalException(v8::Isolate::GetCurrent(), try_catch);
|
304
|
+
})
|
305
|
+
|
306
|
+
// Don't call with encoding=UCS2.
|
307
|
+
NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate,
|
308
|
+
const char* buf,
|
309
|
+
size_t len,
|
310
|
+
enum encoding encoding = BINARY);
|
311
|
+
|
312
|
+
// The input buffer should be in host endianness.
|
313
|
+
NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate,
|
314
|
+
const uint16_t* buf,
|
315
|
+
size_t len);
|
316
|
+
|
317
|
+
NODE_DEPRECATED("Use Encode(isolate, ...)",
|
318
|
+
inline v8::Local<v8::Value> Encode(
|
319
|
+
const void* buf,
|
320
|
+
size_t len,
|
321
|
+
enum encoding encoding = BINARY) {
|
322
|
+
v8::Isolate* isolate = v8::Isolate::GetCurrent();
|
323
|
+
if (encoding == UCS2) {
|
324
|
+
assert(reinterpret_cast<uintptr_t>(buf) % sizeof(uint16_t) == 0 &&
|
325
|
+
"UCS2 buffer must be aligned on two-byte boundary.");
|
326
|
+
const uint16_t* that = static_cast<const uint16_t*>(buf);
|
327
|
+
return Encode(isolate, that, len / sizeof(*that));
|
328
|
+
}
|
329
|
+
return Encode(isolate, static_cast<const char*>(buf), len, encoding);
|
330
|
+
})
|
331
|
+
|
332
|
+
// Returns -1 if the handle was not valid for decoding
|
333
|
+
NODE_EXTERN ssize_t DecodeBytes(v8::Isolate* isolate,
|
334
|
+
v8::Local<v8::Value>,
|
335
|
+
enum encoding encoding = BINARY);
|
336
|
+
NODE_DEPRECATED("Use DecodeBytes(isolate, ...)",
|
337
|
+
inline ssize_t DecodeBytes(
|
338
|
+
v8::Local<v8::Value> val,
|
339
|
+
enum encoding encoding = BINARY) {
|
340
|
+
return DecodeBytes(v8::Isolate::GetCurrent(), val, encoding);
|
341
|
+
})
|
342
|
+
|
343
|
+
// returns bytes written.
|
344
|
+
NODE_EXTERN ssize_t DecodeWrite(v8::Isolate* isolate,
|
345
|
+
char* buf,
|
346
|
+
size_t buflen,
|
347
|
+
v8::Local<v8::Value>,
|
348
|
+
enum encoding encoding = BINARY);
|
349
|
+
NODE_DEPRECATED("Use DecodeWrite(isolate, ...)",
|
350
|
+
inline ssize_t DecodeWrite(char* buf,
|
351
|
+
size_t buflen,
|
352
|
+
v8::Local<v8::Value> val,
|
353
|
+
enum encoding encoding = BINARY) {
|
354
|
+
return DecodeWrite(v8::Isolate::GetCurrent(), buf, buflen, val, encoding);
|
355
|
+
})
|
356
|
+
|
357
|
+
#ifdef _WIN32
|
358
|
+
NODE_EXTERN v8::Local<v8::Value> WinapiErrnoException(
|
359
|
+
v8::Isolate* isolate,
|
360
|
+
int errorno,
|
361
|
+
const char *syscall = NULL,
|
362
|
+
const char *msg = "",
|
363
|
+
const char *path = NULL);
|
364
|
+
|
365
|
+
NODE_DEPRECATED("Use WinapiErrnoException(isolate, ...)",
|
366
|
+
inline v8::Local<v8::Value> WinapiErrnoException(int errorno,
|
367
|
+
const char *syscall = NULL, const char *msg = "",
|
368
|
+
const char *path = NULL) {
|
369
|
+
return WinapiErrnoException(v8::Isolate::GetCurrent(),
|
370
|
+
errorno,
|
371
|
+
syscall,
|
372
|
+
msg,
|
373
|
+
path);
|
374
|
+
})
|
375
|
+
#endif
|
376
|
+
|
377
|
+
const char *signo_string(int errorno);
|
378
|
+
|
379
|
+
|
380
|
+
typedef void (*addon_register_func)(
|
381
|
+
v8::Local<v8::Object> exports,
|
382
|
+
v8::Local<v8::Value> module,
|
383
|
+
void* priv);
|
384
|
+
|
385
|
+
typedef void (*addon_context_register_func)(
|
386
|
+
v8::Local<v8::Object> exports,
|
387
|
+
v8::Local<v8::Value> module,
|
388
|
+
v8::Local<v8::Context> context,
|
389
|
+
void* priv);
|
390
|
+
|
391
|
+
#define NM_F_BUILTIN 0x01
|
392
|
+
#define NM_F_LINKED 0x02
|
393
|
+
|
394
|
+
struct node_module {
|
395
|
+
int nm_version;
|
396
|
+
unsigned int nm_flags;
|
397
|
+
void* nm_dso_handle;
|
398
|
+
const char* nm_filename;
|
399
|
+
node::addon_register_func nm_register_func;
|
400
|
+
node::addon_context_register_func nm_context_register_func;
|
401
|
+
const char* nm_modname;
|
402
|
+
void* nm_priv;
|
403
|
+
struct node_module* nm_link;
|
404
|
+
};
|
405
|
+
|
406
|
+
node_module* get_builtin_module(const char *name);
|
407
|
+
node_module* get_linked_module(const char *name);
|
408
|
+
|
409
|
+
extern "C" NODE_EXTERN void node_module_register(void* mod);
|
410
|
+
|
411
|
+
#ifdef _WIN32
|
412
|
+
# define NODE_MODULE_EXPORT __declspec(dllexport)
|
413
|
+
#else
|
414
|
+
# define NODE_MODULE_EXPORT __attribute__((visibility("default")))
|
415
|
+
#endif
|
416
|
+
|
417
|
+
#if defined(_MSC_VER)
|
418
|
+
#pragma section(".CRT$XCU", read)
|
419
|
+
#define NODE_C_CTOR(fn) \
|
420
|
+
static void __cdecl fn(void); \
|
421
|
+
__declspec(dllexport, allocate(".CRT$XCU")) \
|
422
|
+
void (__cdecl*fn ## _)(void) = fn; \
|
423
|
+
static void __cdecl fn(void)
|
424
|
+
#else
|
425
|
+
#define NODE_C_CTOR(fn) \
|
426
|
+
static void fn(void) __attribute__((constructor)); \
|
427
|
+
static void fn(void)
|
428
|
+
#endif
|
429
|
+
|
430
|
+
#define NODE_MODULE_X(modname, regfunc, priv, flags) \
|
431
|
+
extern "C" { \
|
432
|
+
static node::node_module _module = \
|
433
|
+
{ \
|
434
|
+
NODE_MODULE_VERSION, \
|
435
|
+
flags, \
|
436
|
+
NULL, \
|
437
|
+
__FILE__, \
|
438
|
+
(node::addon_register_func) (regfunc), \
|
439
|
+
NULL, \
|
440
|
+
NODE_STRINGIFY(modname), \
|
441
|
+
priv, \
|
442
|
+
NULL \
|
443
|
+
}; \
|
444
|
+
NODE_C_CTOR(_register_ ## modname) { \
|
445
|
+
node_module_register(&_module); \
|
446
|
+
} \
|
447
|
+
}
|
448
|
+
|
449
|
+
#define NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, priv, flags) \
|
450
|
+
extern "C" { \
|
451
|
+
static node::node_module _module = \
|
452
|
+
{ \
|
453
|
+
NODE_MODULE_VERSION, \
|
454
|
+
flags, \
|
455
|
+
NULL, \
|
456
|
+
__FILE__, \
|
457
|
+
NULL, \
|
458
|
+
(node::addon_context_register_func) (regfunc), \
|
459
|
+
NODE_STRINGIFY(modname), \
|
460
|
+
priv, \
|
461
|
+
NULL \
|
462
|
+
}; \
|
463
|
+
NODE_C_CTOR(_register_ ## modname) { \
|
464
|
+
node_module_register(&_module); \
|
465
|
+
} \
|
466
|
+
}
|
467
|
+
|
468
|
+
#define NODE_MODULE(modname, regfunc) \
|
469
|
+
NODE_MODULE_X(modname, regfunc, NULL, 0)
|
470
|
+
|
471
|
+
#define NODE_MODULE_CONTEXT_AWARE(modname, regfunc) \
|
472
|
+
NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0)
|
473
|
+
|
474
|
+
#define NODE_MODULE_CONTEXT_AWARE_BUILTIN(modname, regfunc) \
|
475
|
+
NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, NM_F_BUILTIN) \
|
476
|
+
|
477
|
+
/*
|
478
|
+
* For backward compatibility in add-on modules.
|
479
|
+
*/
|
480
|
+
#define NODE_MODULE_DECL /* nothing */
|
481
|
+
|
482
|
+
/* Called after the event loop exits but before the VM is disposed.
|
483
|
+
* Callbacks are run in reverse order of registration, i.e. newest first.
|
484
|
+
*/
|
485
|
+
NODE_EXTERN void AtExit(void (*cb)(void* arg), void* arg = 0);
|
486
|
+
|
487
|
+
} // namespace node
|
488
|
+
|
489
|
+
#endif // SRC_NODE_H_
|