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 🌟


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