MONGOC_CLIENT...CRYPT_OPTS_NEW(3)

✨ MONGOC_CLIENT...CRYPT_OPTS_NEW(3) ✨

okay bestie so this one is from libmongoc (the manual page is literally called mongoc_client_encryption_encrypt_opts_new(3), iykyk) and honestly? she's a tiny little icon. a lil one-liner of a function that just shows up, hands you a fresh options struct, and peaces out. no cap. πŸ’…


🌸 SYNOPSIS 🌸

like, here's the whole vibe, character for character:

mongoc_client_encryption_encrypt_opts_t *
mongoc_client_encryption_encrypt_opts_new (void);

it takes literally nothing (void, main character energy β€” no arguments, no drama) and it gives you back a pointer to a mongoc_client_encryption_encrypt_opts_t. slay. πŸŽ€


πŸ¦‹ RETURNS πŸ¦‹

so when you call her, you get a brand spanking new mongoc_client_encryption_encrypt_opts_t πŸ’–

⚠️ but bestie listen to me β€” you must free it with mongoc_client_encryption_encrypt_opts_destroy(). that's not optional, that's a lifestyle. no leaking on my watch, fr fr. 🫢

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” the ones who brought you this whole situation. πŸ’œ


2009-present, MongoDB, Inc. β€” that's the whole copyright line, keep it cute, keep it exact. ⭐


and that's the tea, bestie β˜•πŸ§š version 2.5.6, dated Oct 09, 2026 β€” go forth, allocate responsibly, and remember to destroy your opts πŸ’€βœ¨

πŸ“¦ where this page comes from