Type Alias MDB_crypto_hooks

Source
pub type MDB_crypto_hooks = Option<unsafe extern "C" fn() -> *mut MDB_crypto_funcs>;
Expand description

The function that returns the #MDB_crypto_funcs structure.

The command line tools expect this function to be named “MDB_crypto”. It must be exported by the dynamic module so that the tools can use it.

§Returns

A pointer to a #MDB_crypto_funcs structure.

Aliased Type§

enum MDB_crypto_hooks {
    None,
    Some(unsafe extern "C" fn() -> *mut MDB_crypto_funcs),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn() -> *mut MDB_crypto_funcs)

Some value of type T.