pub unsafe extern "C" fn mongocrypt_setopt_encrypted_field_config_map(
    crypt: *mut mongocrypt_t,
    efc_map: *mut mongocrypt_binary_t,
) -> bool
Expand description

Set a local EncryptedFieldConfigMap for encryption.

@param[in] crypt The @ref mongocrypt_t object. @param[in] efc_map A BSON document representing the EncryptedFieldConfigMap supplied by the user. The keys are collection namespaces and values are EncryptedFieldConfigMap documents. The viewed data copied. It is valid to destroy @p efc_map with @ref mongocrypt_binary_destroy immediately after. @pre @p crypt has not been initialized. @returns A boolean indicating success. If false, an error status is set. Retrieve it with @ref mongocrypt_status