mongoc_auto_encryption_opts_new()#

Synopsis#

mongoc_auto_encryption_opts_t *
mongoc_auto_encryption_opts_new (void);

Create a new mongoc_auto_encryption_opts_t.

Caller must set the required options:

Caller may set optionally set the following:

This options struct is used to enable auto encryption with mongoc_client_enable_auto_encryption().

Returns#

A new mongoc_auto_encryption_opts_t, which must be destroyed with mongoc_auto_encryption_opts_destroy().