MONGOC_CLIENT...X_OPTS_DESTROY(3)
π 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β amongoc_client_encryption_encrypt_string_prefix_opts_tyou 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 π
π COPYRIGHT π
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
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms