Function mongocrypt_sys::mongocrypt_ctx_new

source ยท
pub unsafe extern "C" fn mongocrypt_ctx_new(
    crypt: *mut mongocrypt_t,
) -> *mut mongocrypt_ctx_t
Expand description

Create a new uninitialized @ref mongocrypt_ctx_t.

Initialize the context with functions like @ref mongocrypt_ctx_encrypt_init. When done, destroy it with @ref mongocrypt_ctx_destroy.

@param[in] crypt The @ref mongocrypt_t object. @returns A new context.