Type Alias MDB_str2key_func
Source pub type MDB_str2key_func = Option<unsafe extern "C" fn(passwd: *const c_char, key: *mut MDB_val) -> c_int>;
Expand description
A function for converting a string into an encryption key.
§Arguments
passwd (direction in) - The string to be converted.
key (direction in, out) - The resulting key. The caller must
provide the space for the key.
§Returns
0 on success, non-zero on failure.
enum MDB_str2key_func {
None,
Some(unsafe extern "C" fn(_: *const i8, _: *mut MDB_val) -> i32),
}