node-linux-arm64 18.0.0 → 18.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +311 -0
- package/README.md +19 -9
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +7 -0
- package/include/node/js_native_api.h +367 -363
- package/include/node/js_native_api_types.h +13 -4
- package/include/node/node.h +10 -0
- package/include/node/node_api.h +95 -92
- package/include/node/node_api_types.h +8 -10
- package/include/node/node_version.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/aix64-gcc-as/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/x509.h +4 -4
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/crypto.h +2 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ssl.h +11 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/x509.h +4 -4
- package/include/node/openssl/asn1_asm.h +0 -6
- package/include/node/openssl/asn1_no-asm.h +0 -6
- package/include/node/openssl/asn1t_asm.h +0 -6
- package/include/node/openssl/asn1t_no-asm.h +0 -6
- package/include/node/openssl/bio_asm.h +0 -6
- package/include/node/openssl/bio_no-asm.h +0 -6
- package/include/node/openssl/bn_conf_asm.h +0 -6
- package/include/node/openssl/bn_conf_no-asm.h +0 -6
- package/include/node/openssl/cmp_asm.h +0 -6
- package/include/node/openssl/cmp_no-asm.h +0 -6
- package/include/node/openssl/cms_asm.h +0 -6
- package/include/node/openssl/cms_no-asm.h +0 -6
- package/include/node/openssl/conf_asm.h +0 -6
- package/include/node/openssl/conf_no-asm.h +0 -6
- package/include/node/openssl/configuration_asm.h +0 -6
- package/include/node/openssl/configuration_no-asm.h +0 -6
- package/include/node/openssl/crmf_asm.h +0 -6
- package/include/node/openssl/crmf_no-asm.h +0 -6
- package/include/node/openssl/crypto_asm.h +0 -6
- package/include/node/openssl/crypto_no-asm.h +0 -6
- package/include/node/openssl/ct_asm.h +0 -6
- package/include/node/openssl/ct_no-asm.h +0 -6
- package/include/node/openssl/dso_conf_asm.h +0 -6
- package/include/node/openssl/dso_conf_no-asm.h +0 -6
- package/include/node/openssl/ecerr.h +2 -1
- package/include/node/openssl/err_asm.h +0 -6
- package/include/node/openssl/err_no-asm.h +0 -6
- package/include/node/openssl/ess_asm.h +0 -6
- package/include/node/openssl/ess_no-asm.h +0 -6
- package/include/node/openssl/fipskey_asm.h +0 -6
- package/include/node/openssl/fipskey_no-asm.h +0 -6
- package/include/node/openssl/lhash_asm.h +0 -6
- package/include/node/openssl/lhash_no-asm.h +0 -6
- package/include/node/openssl/ocsp_asm.h +0 -6
- package/include/node/openssl/ocsp_no-asm.h +0 -6
- package/include/node/openssl/opensslconf.h +15 -21
- package/include/node/openssl/opensslv_asm.h +0 -6
- package/include/node/openssl/opensslv_no-asm.h +0 -6
- package/include/node/openssl/pkcs12_asm.h +0 -6
- package/include/node/openssl/pkcs12_no-asm.h +0 -6
- package/include/node/openssl/pkcs7_asm.h +0 -6
- package/include/node/openssl/pkcs7_no-asm.h +0 -6
- package/include/node/openssl/safestack_asm.h +0 -6
- package/include/node/openssl/safestack_no-asm.h +0 -6
- package/include/node/openssl/srp_asm.h +0 -6
- package/include/node/openssl/srp_no-asm.h +0 -6
- package/include/node/openssl/ssl_asm.h +0 -6
- package/include/node/openssl/ssl_no-asm.h +0 -6
- package/include/node/openssl/ui_asm.h +0 -6
- package/include/node/openssl/ui_no-asm.h +0 -6
- package/include/node/openssl/x509_asm.h +0 -6
- package/include/node/openssl/x509_no-asm.h +0 -6
- package/include/node/openssl/x509_vfy_asm.h +0 -6
- package/include/node/openssl/x509_vfy_no-asm.h +0 -6
- package/include/node/openssl/x509v3_asm.h +0 -6
- package/include/node/openssl/x509v3_no-asm.h +0 -6
- package/include/node/v8-version.h +3 -3
- package/package.json +1 -1
- package/share/man/man1/node.1 +4 -1
- package/include/node/openssl/archs/aix64-gcc/asm/crypto/buildinf.h +0 -38
- package/include/node/openssl/archs/aix64-gcc/asm/include/progs.h +0 -507
- package/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/buildinf.h +0 -39
- package/include/node/openssl/archs/aix64-gcc/asm_avx2/include/progs.h +0 -507
- package/include/node/openssl/archs/aix64-gcc/no-asm/crypto/buildinf.h +0 -27
- package/include/node/openssl/archs/aix64-gcc/no-asm/include/progs.h +0 -507
- package/include/node/openssl/opensslconf_no-asm.h +0 -47
|
@@ -11,6 +11,14 @@
|
|
|
11
11
|
typedef uint16_t char16_t;
|
|
12
12
|
#endif
|
|
13
13
|
|
|
14
|
+
#ifndef NAPI_CDECL
|
|
15
|
+
#ifdef _WIN32
|
|
16
|
+
#define NAPI_CDECL __cdecl
|
|
17
|
+
#else
|
|
18
|
+
#define NAPI_CDECL
|
|
19
|
+
#endif
|
|
20
|
+
#endif
|
|
21
|
+
|
|
14
22
|
// JSVM API types are all opaque pointers for ABI stability
|
|
15
23
|
// typedef undefined structs instead of void* for compile time type safety
|
|
16
24
|
typedef struct napi_env__* napi_env;
|
|
@@ -100,10 +108,11 @@ typedef enum {
|
|
|
100
108
|
// * the definition of `napi_status` in doc/api/n-api.md to reflect the newly
|
|
101
109
|
// added value(s).
|
|
102
110
|
|
|
103
|
-
typedef napi_value
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
111
|
+
typedef napi_value(NAPI_CDECL* napi_callback)(napi_env env,
|
|
112
|
+
napi_callback_info info);
|
|
113
|
+
typedef void(NAPI_CDECL* napi_finalize)(napi_env env,
|
|
114
|
+
void* finalize_data,
|
|
115
|
+
void* finalize_hint);
|
|
107
116
|
|
|
108
117
|
typedef struct {
|
|
109
118
|
// One of utf8name or name should be NULL.
|
package/include/node/node.h
CHANGED
|
@@ -32,6 +32,16 @@
|
|
|
32
32
|
# define NODE_EXTERN __attribute__((visibility("default")))
|
|
33
33
|
#endif
|
|
34
34
|
|
|
35
|
+
// Declarations annotated with NODE_EXTERN_PRIVATE do not form part of
|
|
36
|
+
// the public API. They are implementation details that can and will
|
|
37
|
+
// change between releases, even in semver patch releases. Do not use
|
|
38
|
+
// any such symbol in external code.
|
|
39
|
+
#ifdef NODE_SHARED_MODE
|
|
40
|
+
#define NODE_EXTERN_PRIVATE NODE_EXTERN
|
|
41
|
+
#else
|
|
42
|
+
#define NODE_EXTERN_PRIVATE
|
|
43
|
+
#endif
|
|
44
|
+
|
|
35
45
|
#ifdef BUILDING_NODE_EXTENSION
|
|
36
46
|
# undef BUILDING_V8_SHARED
|
|
37
47
|
# undef BUILDING_UV_SHARED
|
package/include/node/node_api.h
CHANGED
|
@@ -28,8 +28,8 @@ struct uv_loop_s; // Forward declaration.
|
|
|
28
28
|
#define NAPI_NO_RETURN
|
|
29
29
|
#endif
|
|
30
30
|
|
|
31
|
-
typedef napi_value
|
|
32
|
-
|
|
31
|
+
typedef napi_value(NAPI_CDECL* napi_addon_register_func)(napi_env env,
|
|
32
|
+
napi_value exports);
|
|
33
33
|
|
|
34
34
|
typedef struct napi_module {
|
|
35
35
|
int nm_version;
|
|
@@ -46,13 +46,13 @@ typedef struct napi_module {
|
|
|
46
46
|
#if defined(_MSC_VER)
|
|
47
47
|
#if defined(__cplusplus)
|
|
48
48
|
#define NAPI_C_CTOR(fn) \
|
|
49
|
-
static void
|
|
49
|
+
static void NAPI_CDECL fn(void); \
|
|
50
50
|
namespace { \
|
|
51
51
|
struct fn##_ { \
|
|
52
52
|
fn##_() { fn(); } \
|
|
53
53
|
} fn##_v_; \
|
|
54
54
|
} \
|
|
55
|
-
static void
|
|
55
|
+
static void NAPI_CDECL fn(void)
|
|
56
56
|
#else // !defined(__cplusplus)
|
|
57
57
|
#pragma section(".CRT$XCU", read)
|
|
58
58
|
// The NAPI_C_CTOR macro defines a function fn that is called during CRT
|
|
@@ -62,10 +62,10 @@ typedef struct napi_module {
|
|
|
62
62
|
// optimized. See for details:
|
|
63
63
|
// https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-initialization?view=msvc-170
|
|
64
64
|
#define NAPI_C_CTOR(fn) \
|
|
65
|
-
static void
|
|
66
|
-
__declspec(dllexport, allocate(".CRT$XCU")) void(
|
|
65
|
+
static void NAPI_CDECL fn(void); \
|
|
66
|
+
__declspec(dllexport, allocate(".CRT$XCU")) void(NAPI_CDECL * fn##_)(void) = \
|
|
67
67
|
fn; \
|
|
68
|
-
static void
|
|
68
|
+
static void NAPI_CDECL fn(void)
|
|
69
69
|
#endif // defined(__cplusplus)
|
|
70
70
|
#else
|
|
71
71
|
#define NAPI_C_CTOR(fn) \
|
|
@@ -121,102 +121,105 @@ typedef struct napi_module {
|
|
|
121
121
|
|
|
122
122
|
EXTERN_C_START
|
|
123
123
|
|
|
124
|
-
NAPI_EXTERN void napi_module_register(napi_module* mod);
|
|
124
|
+
NAPI_EXTERN void NAPI_CDECL napi_module_register(napi_module* mod);
|
|
125
125
|
|
|
126
|
-
NAPI_EXTERN NAPI_NO_RETURN void
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
NAPI_EXTERN NAPI_NO_RETURN void NAPI_CDECL
|
|
127
|
+
napi_fatal_error(const char* location,
|
|
128
|
+
size_t location_len,
|
|
129
|
+
const char* message,
|
|
130
|
+
size_t message_len);
|
|
130
131
|
|
|
131
132
|
// Methods for custom handling of async operations
|
|
132
|
-
NAPI_EXTERN napi_status
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
133
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
134
|
+
napi_async_init(napi_env env,
|
|
135
|
+
napi_value async_resource,
|
|
136
|
+
napi_value async_resource_name,
|
|
137
|
+
napi_async_context* result);
|
|
138
|
+
|
|
139
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
140
|
+
napi_async_destroy(napi_env env, napi_async_context async_context);
|
|
141
|
+
|
|
142
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
143
|
+
napi_make_callback(napi_env env,
|
|
144
|
+
napi_async_context async_context,
|
|
145
|
+
napi_value recv,
|
|
146
|
+
napi_value func,
|
|
147
|
+
size_t argc,
|
|
148
|
+
const napi_value* argv,
|
|
149
|
+
napi_value* result);
|
|
147
150
|
|
|
148
151
|
// Methods to provide node::Buffer functionality with napi types
|
|
149
|
-
NAPI_EXTERN napi_status napi_create_buffer(napi_env env,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
NAPI_EXTERN napi_status
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
152
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_create_buffer(napi_env env,
|
|
153
|
+
size_t length,
|
|
154
|
+
void** data,
|
|
155
|
+
napi_value* result);
|
|
156
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
157
|
+
napi_create_external_buffer(napi_env env,
|
|
158
|
+
size_t length,
|
|
159
|
+
void* data,
|
|
160
|
+
napi_finalize finalize_cb,
|
|
161
|
+
void* finalize_hint,
|
|
162
|
+
napi_value* result);
|
|
163
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_create_buffer_copy(napi_env env,
|
|
164
|
+
size_t length,
|
|
165
|
+
const void* data,
|
|
166
|
+
void** result_data,
|
|
167
|
+
napi_value* result);
|
|
168
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_is_buffer(napi_env env,
|
|
169
|
+
napi_value value,
|
|
170
|
+
bool* result);
|
|
171
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_get_buffer_info(napi_env env,
|
|
172
|
+
napi_value value,
|
|
173
|
+
void** data,
|
|
174
|
+
size_t* length);
|
|
171
175
|
|
|
172
176
|
// Methods to manage simple async operations
|
|
173
|
-
NAPI_EXTERN
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
NAPI_EXTERN napi_status napi_delete_async_work(napi_env env,
|
|
182
|
-
|
|
183
|
-
NAPI_EXTERN napi_status napi_queue_async_work(napi_env env,
|
|
184
|
-
|
|
185
|
-
NAPI_EXTERN napi_status napi_cancel_async_work(napi_env env,
|
|
186
|
-
|
|
177
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
178
|
+
napi_create_async_work(napi_env env,
|
|
179
|
+
napi_value async_resource,
|
|
180
|
+
napi_value async_resource_name,
|
|
181
|
+
napi_async_execute_callback execute,
|
|
182
|
+
napi_async_complete_callback complete,
|
|
183
|
+
void* data,
|
|
184
|
+
napi_async_work* result);
|
|
185
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_delete_async_work(napi_env env,
|
|
186
|
+
napi_async_work work);
|
|
187
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_queue_async_work(napi_env env,
|
|
188
|
+
napi_async_work work);
|
|
189
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_cancel_async_work(napi_env env,
|
|
190
|
+
napi_async_work work);
|
|
187
191
|
|
|
188
192
|
// version management
|
|
189
|
-
NAPI_EXTERN
|
|
190
|
-
|
|
191
|
-
const napi_node_version** version);
|
|
193
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
194
|
+
napi_get_node_version(napi_env env, const napi_node_version** version);
|
|
192
195
|
|
|
193
196
|
#if NAPI_VERSION >= 2
|
|
194
197
|
|
|
195
198
|
// Return the current libuv event loop for a given environment
|
|
196
|
-
NAPI_EXTERN napi_status
|
|
197
|
-
|
|
199
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
200
|
+
napi_get_uv_event_loop(napi_env env, struct uv_loop_s** loop);
|
|
198
201
|
|
|
199
202
|
#endif // NAPI_VERSION >= 2
|
|
200
203
|
|
|
201
204
|
#if NAPI_VERSION >= 3
|
|
202
205
|
|
|
203
|
-
NAPI_EXTERN napi_status napi_fatal_exception(napi_env env,
|
|
206
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_fatal_exception(napi_env env,
|
|
207
|
+
napi_value err);
|
|
204
208
|
|
|
205
|
-
NAPI_EXTERN napi_status napi_add_env_cleanup_hook(
|
|
206
|
-
|
|
207
|
-
void* arg);
|
|
209
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_add_env_cleanup_hook(
|
|
210
|
+
napi_env env, void(NAPI_CDECL* fun)(void* arg), void* arg);
|
|
208
211
|
|
|
209
|
-
NAPI_EXTERN napi_status napi_remove_env_cleanup_hook(
|
|
210
|
-
|
|
211
|
-
void* arg);
|
|
212
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_remove_env_cleanup_hook(
|
|
213
|
+
napi_env env, void(NAPI_CDECL* fun)(void* arg), void* arg);
|
|
212
214
|
|
|
213
|
-
NAPI_EXTERN napi_status
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
215
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
216
|
+
napi_open_callback_scope(napi_env env,
|
|
217
|
+
napi_value resource_object,
|
|
218
|
+
napi_async_context context,
|
|
219
|
+
napi_callback_scope* result);
|
|
217
220
|
|
|
218
|
-
NAPI_EXTERN napi_status
|
|
219
|
-
|
|
221
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
222
|
+
napi_close_callback_scope(napi_env env, napi_callback_scope scope);
|
|
220
223
|
|
|
221
224
|
#endif // NAPI_VERSION >= 3
|
|
222
225
|
|
|
@@ -224,7 +227,7 @@ NAPI_EXTERN napi_status napi_close_callback_scope(napi_env env,
|
|
|
224
227
|
|
|
225
228
|
#ifndef __wasm32__
|
|
226
229
|
// Calling into JS from other threads
|
|
227
|
-
NAPI_EXTERN napi_status
|
|
230
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
228
231
|
napi_create_threadsafe_function(napi_env env,
|
|
229
232
|
napi_value func,
|
|
230
233
|
napi_value async_resource,
|
|
@@ -237,24 +240,24 @@ napi_create_threadsafe_function(napi_env env,
|
|
|
237
240
|
napi_threadsafe_function_call_js call_js_cb,
|
|
238
241
|
napi_threadsafe_function* result);
|
|
239
242
|
|
|
240
|
-
NAPI_EXTERN napi_status napi_get_threadsafe_function_context(
|
|
243
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_get_threadsafe_function_context(
|
|
241
244
|
napi_threadsafe_function func, void** result);
|
|
242
245
|
|
|
243
|
-
NAPI_EXTERN napi_status
|
|
246
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
244
247
|
napi_call_threadsafe_function(napi_threadsafe_function func,
|
|
245
248
|
void* data,
|
|
246
249
|
napi_threadsafe_function_call_mode is_blocking);
|
|
247
250
|
|
|
248
|
-
NAPI_EXTERN napi_status
|
|
251
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
249
252
|
napi_acquire_threadsafe_function(napi_threadsafe_function func);
|
|
250
253
|
|
|
251
|
-
NAPI_EXTERN napi_status napi_release_threadsafe_function(
|
|
254
|
+
NAPI_EXTERN napi_status NAPI_CDECL napi_release_threadsafe_function(
|
|
252
255
|
napi_threadsafe_function func, napi_threadsafe_function_release_mode mode);
|
|
253
256
|
|
|
254
|
-
NAPI_EXTERN napi_status
|
|
257
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
255
258
|
napi_unref_threadsafe_function(napi_env env, napi_threadsafe_function func);
|
|
256
259
|
|
|
257
|
-
NAPI_EXTERN napi_status
|
|
260
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
258
261
|
napi_ref_threadsafe_function(napi_env env, napi_threadsafe_function func);
|
|
259
262
|
#endif // __wasm32__
|
|
260
263
|
|
|
@@ -262,21 +265,21 @@ napi_ref_threadsafe_function(napi_env env, napi_threadsafe_function func);
|
|
|
262
265
|
|
|
263
266
|
#if NAPI_VERSION >= 8
|
|
264
267
|
|
|
265
|
-
NAPI_EXTERN napi_status
|
|
268
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
266
269
|
napi_add_async_cleanup_hook(napi_env env,
|
|
267
270
|
napi_async_cleanup_hook hook,
|
|
268
271
|
void* arg,
|
|
269
272
|
napi_async_cleanup_hook_handle* remove_handle);
|
|
270
273
|
|
|
271
|
-
NAPI_EXTERN napi_status
|
|
274
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
272
275
|
napi_remove_async_cleanup_hook(napi_async_cleanup_hook_handle remove_handle);
|
|
273
276
|
|
|
274
277
|
#endif // NAPI_VERSION >= 8
|
|
275
278
|
|
|
276
279
|
#ifdef NAPI_EXPERIMENTAL
|
|
277
280
|
|
|
278
|
-
NAPI_EXTERN napi_status
|
|
279
|
-
|
|
281
|
+
NAPI_EXTERN napi_status NAPI_CDECL
|
|
282
|
+
node_api_get_module_file_name(napi_env env, const char** result);
|
|
280
283
|
|
|
281
284
|
#endif // NAPI_EXPERIMENTAL
|
|
282
285
|
|
|
@@ -22,15 +22,13 @@ typedef enum {
|
|
|
22
22
|
} napi_threadsafe_function_call_mode;
|
|
23
23
|
#endif // NAPI_VERSION >= 4
|
|
24
24
|
|
|
25
|
-
typedef void
|
|
26
|
-
typedef void
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
typedef void(NAPI_CDECL* napi_async_execute_callback)(napi_env env, void* data);
|
|
26
|
+
typedef void(NAPI_CDECL* napi_async_complete_callback)(napi_env env,
|
|
27
|
+
napi_status status,
|
|
28
|
+
void* data);
|
|
29
29
|
#if NAPI_VERSION >= 4
|
|
30
|
-
typedef void
|
|
31
|
-
|
|
32
|
-
void* context,
|
|
33
|
-
void* data);
|
|
30
|
+
typedef void(NAPI_CDECL* napi_threadsafe_function_call_js)(
|
|
31
|
+
napi_env env, napi_value js_callback, void* context, void* data);
|
|
34
32
|
#endif // NAPI_VERSION >= 4
|
|
35
33
|
|
|
36
34
|
typedef struct {
|
|
@@ -42,8 +40,8 @@ typedef struct {
|
|
|
42
40
|
|
|
43
41
|
#if NAPI_VERSION >= 8
|
|
44
42
|
typedef struct napi_async_cleanup_hook_handle__* napi_async_cleanup_hook_handle;
|
|
45
|
-
typedef void
|
|
46
|
-
|
|
43
|
+
typedef void(NAPI_CDECL* napi_async_cleanup_hook)(
|
|
44
|
+
napi_async_cleanup_hook_handle handle, void* data);
|
|
47
45
|
#endif // NAPI_VERSION >= 8
|
|
48
46
|
|
|
49
47
|
#endif // SRC_NODE_API_TYPES_H_
|
|
@@ -132,6 +132,8 @@ int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen,
|
|
|
132
132
|
const char *str, const char sep);
|
|
133
133
|
unsigned char *OPENSSL_hexstr2buf(const char *str, long *buflen);
|
|
134
134
|
int OPENSSL_hexchar2int(unsigned char c);
|
|
135
|
+
int OPENSSL_strcasecmp(const char *s1, const char *s2);
|
|
136
|
+
int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n);
|
|
135
137
|
|
|
136
138
|
# define OPENSSL_MALLOC_MAX_NELEMS(type) (((1U<<(sizeof(int)*8-1))-1)/sizeof(type))
|
|
137
139
|
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 3
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.3"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.3+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "3 May 2022"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.3+quic 3 May 2022"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -1381,6 +1381,8 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
|
|
|
1381
1381
|
# define SSL_CTRL_GET_TMP_KEY 133
|
|
1382
1382
|
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
|
|
1383
1383
|
# define SSL_CTRL_SET_RETRY_VERIFY 136
|
|
1384
|
+
# define SSL_CTRL_GET_VERIFY_CERT_STORE 137
|
|
1385
|
+
# define SSL_CTRL_GET_CHAIN_CERT_STORE 138
|
|
1384
1386
|
# define SSL_CERT_SET_FIRST 1
|
|
1385
1387
|
# define SSL_CERT_SET_NEXT 2
|
|
1386
1388
|
# define SSL_CERT_SET_SERVER 3
|
|
@@ -1442,10 +1444,14 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
|
|
|
1442
1444
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))
|
|
1443
1445
|
# define SSL_CTX_set1_verify_cert_store(ctx,st) \
|
|
1444
1446
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))
|
|
1447
|
+
# define SSL_CTX_get0_verify_cert_store(ctx,st) \
|
|
1448
|
+
SSL_CTX_ctrl(ctx,SSL_CTRL_GET_VERIFY_CERT_STORE,0,(char *)(st))
|
|
1445
1449
|
# define SSL_CTX_set0_chain_cert_store(ctx,st) \
|
|
1446
1450
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))
|
|
1447
1451
|
# define SSL_CTX_set1_chain_cert_store(ctx,st) \
|
|
1448
1452
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))
|
|
1453
|
+
# define SSL_CTX_get0_chain_cert_store(ctx,st) \
|
|
1454
|
+
SSL_CTX_ctrl(ctx,SSL_CTRL_GET_CHAIN_CERT_STORE,0,(char *)(st))
|
|
1449
1455
|
# define SSL_set0_chain(s,sk) \
|
|
1450
1456
|
SSL_ctrl(s,SSL_CTRL_CHAIN,0,(char *)(sk))
|
|
1451
1457
|
# define SSL_set1_chain(s,sk) \
|
|
@@ -1468,10 +1474,15 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
|
|
|
1468
1474
|
SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))
|
|
1469
1475
|
# define SSL_set1_verify_cert_store(s,st) \
|
|
1470
1476
|
SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))
|
|
1477
|
+
#define SSL_get0_verify_cert_store(s,st) \
|
|
1478
|
+
SSL_ctrl(s,SSL_CTRL_GET_VERIFY_CERT_STORE,0,(char *)(st))
|
|
1471
1479
|
# define SSL_set0_chain_cert_store(s,st) \
|
|
1472
1480
|
SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))
|
|
1473
1481
|
# define SSL_set1_chain_cert_store(s,st) \
|
|
1474
1482
|
SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))
|
|
1483
|
+
#define SSL_get0_chain_cert_store(s,st) \
|
|
1484
|
+
SSL_ctrl(s,SSL_CTRL_GET_CHAIN_CERT_STORE,0,(char *)(st))
|
|
1485
|
+
|
|
1475
1486
|
# define SSL_get1_groups(s, glist) \
|
|
1476
1487
|
SSL_ctrl(s,SSL_CTRL_GET_GROUPS,0,(int*)(glist))
|
|
1477
1488
|
# define SSL_CTX_set1_groups(ctx, glist, glistlen) \
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/x509.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
|
7
7
|
*
|
|
8
8
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
@@ -552,11 +552,11 @@ int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type,
|
|
|
552
552
|
X509 *X509_load_http(const char *url, BIO *bio, BIO *rbio, int timeout);
|
|
553
553
|
X509_CRL *X509_CRL_load_http(const char *url, BIO *bio, BIO *rbio, int timeout);
|
|
554
554
|
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
555
|
-
# include <openssl/
|
|
555
|
+
# include <openssl/http.h> /* OSSL_HTTP_REQ_CTX_nbio_d2i */
|
|
556
556
|
# define X509_http_nbio(rctx, pcert) \
|
|
557
|
-
|
|
557
|
+
OSSL_HTTP_REQ_CTX_nbio_d2i(rctx, pcert, ASN1_ITEM_rptr(X509))
|
|
558
558
|
# define X509_CRL_http_nbio(rctx, pcrl) \
|
|
559
|
-
|
|
559
|
+
OSSL_HTTP_REQ_CTX_nbio_d2i(rctx, pcrl, ASN1_ITEM_rptr(X509_CRL))
|
|
560
560
|
# endif
|
|
561
561
|
|
|
562
562
|
# ifndef OPENSSL_NO_STDIO
|
|
@@ -132,6 +132,8 @@ int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen,
|
|
|
132
132
|
const char *str, const char sep);
|
|
133
133
|
unsigned char *OPENSSL_hexstr2buf(const char *str, long *buflen);
|
|
134
134
|
int OPENSSL_hexchar2int(unsigned char c);
|
|
135
|
+
int OPENSSL_strcasecmp(const char *s1, const char *s2);
|
|
136
|
+
int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n);
|
|
135
137
|
|
|
136
138
|
# define OPENSSL_MALLOC_MAX_NELEMS(type) (((1U<<(sizeof(int)*8-1))-1)/sizeof(type))
|
|
137
139
|
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 3
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.3"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.3+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "3 May 2022"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.3+quic 3 May 2022"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -1381,6 +1381,8 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
|
|
|
1381
1381
|
# define SSL_CTRL_GET_TMP_KEY 133
|
|
1382
1382
|
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
|
|
1383
1383
|
# define SSL_CTRL_SET_RETRY_VERIFY 136
|
|
1384
|
+
# define SSL_CTRL_GET_VERIFY_CERT_STORE 137
|
|
1385
|
+
# define SSL_CTRL_GET_CHAIN_CERT_STORE 138
|
|
1384
1386
|
# define SSL_CERT_SET_FIRST 1
|
|
1385
1387
|
# define SSL_CERT_SET_NEXT 2
|
|
1386
1388
|
# define SSL_CERT_SET_SERVER 3
|
|
@@ -1442,10 +1444,14 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
|
|
|
1442
1444
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))
|
|
1443
1445
|
# define SSL_CTX_set1_verify_cert_store(ctx,st) \
|
|
1444
1446
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))
|
|
1447
|
+
# define SSL_CTX_get0_verify_cert_store(ctx,st) \
|
|
1448
|
+
SSL_CTX_ctrl(ctx,SSL_CTRL_GET_VERIFY_CERT_STORE,0,(char *)(st))
|
|
1445
1449
|
# define SSL_CTX_set0_chain_cert_store(ctx,st) \
|
|
1446
1450
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))
|
|
1447
1451
|
# define SSL_CTX_set1_chain_cert_store(ctx,st) \
|
|
1448
1452
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))
|
|
1453
|
+
# define SSL_CTX_get0_chain_cert_store(ctx,st) \
|
|
1454
|
+
SSL_CTX_ctrl(ctx,SSL_CTRL_GET_CHAIN_CERT_STORE,0,(char *)(st))
|
|
1449
1455
|
# define SSL_set0_chain(s,sk) \
|
|
1450
1456
|
SSL_ctrl(s,SSL_CTRL_CHAIN,0,(char *)(sk))
|
|
1451
1457
|
# define SSL_set1_chain(s,sk) \
|
|
@@ -1468,10 +1474,15 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
|
|
|
1468
1474
|
SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))
|
|
1469
1475
|
# define SSL_set1_verify_cert_store(s,st) \
|
|
1470
1476
|
SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))
|
|
1477
|
+
#define SSL_get0_verify_cert_store(s,st) \
|
|
1478
|
+
SSL_ctrl(s,SSL_CTRL_GET_VERIFY_CERT_STORE,0,(char *)(st))
|
|
1471
1479
|
# define SSL_set0_chain_cert_store(s,st) \
|
|
1472
1480
|
SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))
|
|
1473
1481
|
# define SSL_set1_chain_cert_store(s,st) \
|
|
1474
1482
|
SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))
|
|
1483
|
+
#define SSL_get0_chain_cert_store(s,st) \
|
|
1484
|
+
SSL_ctrl(s,SSL_CTRL_GET_CHAIN_CERT_STORE,0,(char *)(st))
|
|
1485
|
+
|
|
1475
1486
|
# define SSL_get1_groups(s, glist) \
|
|
1476
1487
|
SSL_ctrl(s,SSL_CTRL_GET_GROUPS,0,(int*)(glist))
|
|
1477
1488
|
# define SSL_CTX_set1_groups(ctx, glist, glistlen) \
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/x509.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 1995-
|
|
5
|
+
* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
|
7
7
|
*
|
|
8
8
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
@@ -552,11 +552,11 @@ int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type,
|
|
|
552
552
|
X509 *X509_load_http(const char *url, BIO *bio, BIO *rbio, int timeout);
|
|
553
553
|
X509_CRL *X509_CRL_load_http(const char *url, BIO *bio, BIO *rbio, int timeout);
|
|
554
554
|
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
555
|
-
# include <openssl/
|
|
555
|
+
# include <openssl/http.h> /* OSSL_HTTP_REQ_CTX_nbio_d2i */
|
|
556
556
|
# define X509_http_nbio(rctx, pcert) \
|
|
557
|
-
|
|
557
|
+
OSSL_HTTP_REQ_CTX_nbio_d2i(rctx, pcert, ASN1_ITEM_rptr(X509))
|
|
558
558
|
# define X509_CRL_http_nbio(rctx, pcrl) \
|
|
559
|
-
|
|
559
|
+
OSSL_HTTP_REQ_CTX_nbio_d2i(rctx, pcrl, ASN1_ITEM_rptr(X509_CRL))
|
|
560
560
|
# endif
|
|
561
561
|
|
|
562
562
|
# ifndef OPENSSL_NO_STDIO
|
|
@@ -132,6 +132,8 @@ int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen,
|
|
|
132
132
|
const char *str, const char sep);
|
|
133
133
|
unsigned char *OPENSSL_hexstr2buf(const char *str, long *buflen);
|
|
134
134
|
int OPENSSL_hexchar2int(unsigned char c);
|
|
135
|
+
int OPENSSL_strcasecmp(const char *s1, const char *s2);
|
|
136
|
+
int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n);
|
|
135
137
|
|
|
136
138
|
# define OPENSSL_MALLOC_MAX_NELEMS(type) (((1U<<(sizeof(int)*8-1))-1)/sizeof(type))
|
|
137
139
|
|