MONGOC_CLIENT...PTION_OPTS_NEW(3)
β¨ mongoc_client_encryption_opts_new β¨
okay so bestie, welcome to the libmongoc manual π this one's a tiny little function page, like a lil snack, but it's important so stay with me π
πΈ SYNOPSIS πΈ
mongoc_client_encryption_opts_t *
mongoc_client_encryption_opts_new (void);
that's it. no arguments, no options, no flags. she takes void and she takes names. literally the simplest signature of all time π¦
π RETURNS π
it hands you back a brand-new mongoc_client_encryption_opts_t β¨
and this is the part where you gotta listen, bestie π β that fresh little struct is yours to clean up, and the way you do that is with mongoc_client_encryption_opts_destroy(). so if you make one, you destroy one. no leaving her stranded, no leaks, we don't do that here π
π¨ fr fr do not just drop it and walk away β mongoc_client_encryption_opts_destroy() is the ONLY way she goes out. that's the whole vibe check on this page π«Ά
π AUTHOR π
MongoDB, Inc π
π COPYRIGHT π
2009-present, MongoDB, Inc. π
so yeah that's the whole page, short and iconic π version 2.5.6, dated Oct 09, 2026 β mwah, love that for us, go forth and free your opts πβ¨π
π¦ 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