-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [sc-44563] Wrap Encryption related APIs (#170)
* Add Encryption enum * Enable encryption on arrays
- Loading branch information
Showing
5 changed files
with
266 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
use crate::capi_enum::tiledb_encryption_type_t; | ||
use crate::capi_return_t; | ||
|
||
extern "C" { | ||
pub fn tiledb_encryption_type_to_str( | ||
encryption_type: tiledb_encryption_type_t, | ||
str_: *mut *const ::std::os::raw::c_char, | ||
) -> capi_return_t; | ||
|
||
pub fn tiledb_encryption_type_from_str( | ||
str_: *const ::std::os::raw::c_char, | ||
encryption_type: *mut tiledb_encryption_type_t, | ||
) -> capi_return_t; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters