MONGOC_CLIENT...X_OPTS_DESTROY(3)

πŸ“¦ version 2.2.2, in ubuntu resolute

πŸ’– MONGOC_CLIENT...X_OPTS_DESTROY(3) πŸ’–

okay bestie, welcome to the libmongoc corner of the manual, where we learn how to clean up after ourselves like the responsible main characters we are ✨

This page is all about mongoc_client_encryption_encrypt_text_prefix_opts_destroy β€” yes the name is a whole paragraph, no I did not make it up, and yes it is iconic in its own chaotic way πŸŽ€


🌸 SYNOPSIS 🌸

void
mongoc_client_encryption_encrypt_text_prefix_opts_destroy(mongoc_client_encryption_encrypt_text_prefix_opts_t *opts);

Added in version 2.2.0. πŸ¦‹

So here's the tea: this function frees a mongoc_client_encryption_encrypt_text_prefix_opts_t that you made earlier with mongoc_client_encryption_encrypt_text_prefix_opts_new(). You built it, you destroy it. Balance. Periodt. πŸ’…

⚠️ REAL TALK TIME: 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. So like… play with it, don't build your whole life on it, iykyk 😭

🧚 PARAMETERS 🧚

  • opts β€” A mongoc_client_encryption_encrypt_text_prefix_opts_t to destroy. That's it, that's the whole vibe check. Give it the thing, it goes bye-bye πŸ‘‘πŸ«Ά

See also:

  • mongoc_client_encryption_encrypt_text_prefix_opts_new()

🌈 AUTHOR 🌈

MongoDB, Inc β€” the literal icons who wrote all this πŸ’œ

2009-present, MongoDB, Inc.


okay that's the whole page, you ate that reading session fr fr πŸ“βœ¨ this was libmongoc, version 2.2.2, dated Feb 13, 2026 β€” love u, go free your opts, and remember: every _new() deserves a _destroy() πŸŽ€πŸ’–

πŸ“¦ where this page comes from