mongoc_client_encryption_encrypt_text_substring_opts_destroy

Synopsis

void
mongoc_client_encryption_encrypt_text_substring_opts_destroy(mongoc_client_encryption_encrypt_text_substring_opts_t *opts);

Added in version 2.2.0.

Frees a mongoc_client_encryption_encrypt_text_substring_opts_t <> created with mongoc_client_encryption_encrypt_text_substring_opts_new() <>.

The "TextPreview" algorithm is in preview and should be used for experimental workloads only. These features are unstable and their security is not guaranteed until released as Generally Available (GA). The GA version of these features may not be backwards compatible with the preview version.

Parameters

See also:

mongoc_client_encryption_encrypt_text_substring_opts_new() <>

Author

MongoDB, Inc

Info

Mar 04, 2026 2.2.3 libmongoc