ns_database_acquire function
- @Native<Pointer<ns_database_t> Function(Pointer<Char>, Pointer<Uint8>, Size, ns_database_encrypt_fn, ns_database_decrypt_fn, Pointer<Void>, Pointer<ns_kdf_params_t>)>(ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.Uint8>, ffi.Size, ns_database_encrypt_fn, ns_database_decrypt_fn, ffi.Pointer<ffi.Void>, ffi.Pointer<ns_kdf_params_t>)>()
Pointer<ns_database_t>
ns_database_acquire(
- Pointer<Char> filename,
- Pointer<Uint8> encryption_key,
- int encryption_key_length,
- ns_database_encrypt_fn encrypt,
- ns_database_decrypt_fn decrypt,
- Pointer<Void> encryption_user_data,
- Pointer<ns_kdf_params_t> kdf_params,
)
Implementation
@ffi.Native<
ffi.Pointer<ns_database_t> Function(
ffi.Pointer<ffi.Char>,
ffi.Pointer<ffi.Uint8>,
ffi.Size,
ns_database_encrypt_fn,
ns_database_decrypt_fn,
ffi.Pointer<ffi.Void>,
ffi.Pointer<ns_kdf_params_t>)>()
external ffi.Pointer<ns_database_t> ns_database_acquire(
ffi.Pointer<ffi.Char> filename,
ffi.Pointer<ffi.Uint8> encryption_key,
int encryption_key_length,
ns_database_encrypt_fn encrypt,
ns_database_decrypt_fn decrypt,
ffi.Pointer<ffi.Void> encryption_user_data,
ffi.Pointer<ns_kdf_params_t> kdf_params,
);