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. π
π COPYRIGHT π
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
- 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