Function mongocrypt_sys::mongocrypt_new

source ยท
pub unsafe extern "C" fn mongocrypt_new() -> *mut mongocrypt_t
Expand description

Allocate a new @ref mongocrypt_t object.

Set options using mongocrypt_setopt_* functions, then initialize with @ref mongocrypt_init. When done with the @ref mongocrypt_t, free with @ref mongocrypt_destroy.

@returns A new @ref mongocrypt_t object.