MONGOC_CLIENT...X_OPTS_DESTROY(3)

πŸ“¦
version 2.5.6 Β· 2 versions
, in epel 10

πŸ’… MONGOC_CLIENT...X_OPTS_DESTROY(3) ✨

okay so bestie, welcome to the libmongoc corner of the manual β€” this is the page for mongoc_client_encryption_encrypt_string_prefix_opts_destroy, and yes the name is a whole mouthful, we're gonna get through it together 🫢


🌸 SYNOPSIS 🌸

void
mongoc_client_encryption_encrypt_string_prefix_opts_destroy(mongoc_client_encryption_encrypt_string_prefix_opts_t *opts);

That's it, that's the whole signature. No return value, no drama, just vibes and a freed pointer πŸ’…

✨ heads up ✨ Changed in version 2.4.0: this got renamed from the now-deprecated text API. so if you're running old code and it looks different, that's why β€” the old text API is deprecated, bestie, we've moved on 😭

πŸŽ€ DESCRIPTION πŸŽ€

So what does this icon actually do? It frees a mongoc_client_encryption_encrypt_string_prefix_opts_t β€” and that opts struct has to be one you made with mongoc_client_encryption_encrypt_string_prefix_opts_new(). that's the assignment, no cap 🌈

basically: new it up, use it, destroy it. the circle of life but for C structs πŸ¦‹


πŸ’– PARAMETERS πŸ’–

  • opts β€” a mongoc_client_encryption_encrypt_string_prefix_opts_t you want to destroy. bye bestie πŸ‘‹
SEE ALSO: mongoc_client_encryption_encrypt_string_prefix_opts_new() β€” the one that births the thing this one sends off πŸŽ€

🌟 AUTHOR 🌟

MongoDB, Inc β€” legends, honestly πŸ‘‘

2009-present, MongoDB, Inc. 🫢


and that's the page, periodt πŸ’… go forth and free your opts responsibly, iykyk 🧚✨

libmongoc Β· version 2.5.6 Β· Oct 09, 2026 β€” mwah, love u, bye πŸŒΈπŸ’œ

πŸ“¦ where this page comes from