From 344b709813a8f3cf80ce76ecd60b30559e4830a3 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sun, 27 Mar 2022 17:12:23 +0200 Subject: [PATCH] Don't ignore .rsp file. --- .gitignore | 1 - Scripts/GenBindings.rsp | 95 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 Scripts/GenBindings.rsp diff --git a/.gitignore b/.gitignore index 8afdcb6..a76ab03 100644 --- a/.gitignore +++ b/.gitignore @@ -84,7 +84,6 @@ StyleCopReport.xml *.ipdb *.pgc *.pgd -*.rsp *.sbr *.tlb *.tli diff --git a/Scripts/GenBindings.rsp b/Scripts/GenBindings.rsp new file mode 100644 index 0000000..cb8e124 --- /dev/null +++ b/Scripts/GenBindings.rsp @@ -0,0 +1,95 @@ +--file-directory +D:/usr/include/ + +--config +generate-helper-types +multi-file +latest-codegen +generate-macro-bindings +unix-types +log-potential-typedef-remappings + +--exclude +randombytes_salsa20_implementation +CRYPTO_ALIGN +SODIUM_C99 +SODIUM_MIN +sodium_base64_ENCODED_LEN + +--file +sodium.h +sodium/core.h +sodium/crypto_aead_aes256gcm.h +sodium/crypto_aead_chacha20poly1305.h +sodium/crypto_aead_xchacha20poly1305.h +sodium/crypto_auth.h +sodium/crypto_auth_hmacsha256.h +sodium/crypto_auth_hmacsha512.h +sodium/crypto_auth_hmacsha512256.h +sodium/crypto_box.h +sodium/crypto_box_curve25519xchacha20poly1305.h +sodium/crypto_box_curve25519xsalsa20poly1305.h +sodium/crypto_core_ed25519.h +sodium/crypto_core_hchacha20.h +sodium/crypto_core_hsalsa20.h +sodium/crypto_core_ristretto255.h +sodium/crypto_core_salsa20.h +sodium/crypto_core_salsa208.h +sodium/crypto_core_salsa2012.h +sodium/crypto_generichash.h +sodium/crypto_generichash_blake2b.h +sodium/crypto_hash.h +sodium/crypto_hash_sha256.h +sodium/crypto_hash_sha512.h +sodium/crypto_kdf.h +sodium/crypto_kdf_blake2b.h +sodium/crypto_kx.h +sodium/crypto_onetimeauth.h +sodium/crypto_onetimeauth_poly1305.h +sodium/crypto_pwhash.h +sodium/crypto_pwhash_argon2i.h +sodium/crypto_pwhash_argon2id.h +sodium/crypto_pwhash_scryptsalsa208sha256.h +sodium/crypto_scalarmult.h +sodium/crypto_scalarmult_curve25519.h +sodium/crypto_scalarmult_ed25519.h +sodium/crypto_scalarmult_ristretto255.h +sodium/crypto_secretbox.h +sodium/crypto_secretbox_xchacha20poly1305.h +sodium/crypto_secretbox_xsalsa20poly1305.h +sodium/crypto_secretstream_xchacha20poly1305.h +sodium/crypto_shorthash.h +sodium/crypto_shorthash_siphash24.h +sodium/crypto_sign.h +sodium/crypto_sign_ed25519.h +sodium/crypto_sign_edwards25519sha512batch.h +sodium/crypto_stream.h +sodium/crypto_stream_chacha20.h +sodium/crypto_stream_salsa20.h +sodium/crypto_stream_salsa208.h +sodium/crypto_stream_salsa2012.h +sodium/crypto_stream_xchacha20.h +sodium/crypto_stream_xsalsa20.h +sodium/crypto_verify_16.h +sodium/crypto_verify_32.h +sodium/crypto_verify_64.h +sodium/export.h +sodium/randombytes.h +sodium/randombytes_internal_random.h +sodium/randombytes_sysrandom.h +sodium/runtime.h +sodium/utils.h +sodium/version.h + +--namespace +SpaceWizards.Sodium.Interop + +--output +SpaceWizards.Sodium.Interop/Generated + +--libraryPath +libsodium + +--remap +crypto_aead_aes256gcm_state_=crypto_aead_aes256gcm_state +crypto_auth_hmacsha512_state=crypto_auth_hmacsha512256_state \ No newline at end of file