MONGOC_CLIENT...UFFIX_OPTS_NEW(3)
β¨ MONGOC_CLIENT...UFFIX_OPTS_NEW(3) β¨
okay bestie, so this one lives in libmongoc and it's honestly the most "tiny little helper that slays" energy ever. It's a constructor β it makes a brand-new options struct for you, all fresh and sparkly, zero setup required. π
πΈ SYNOPSIS πΈ
mongoc_client_encryption_encrypt_string_suffix_opts_t *
mongoc_client_encryption_encrypt_string_suffix_opts_new(void);
That's it. No args. No nothing. It takes void and it serves. π
Changed in version 2.4.0: renamed from the now-deprecated text API. So if you're out here still repping the old text API, bestieβ¦ it's giving deprecated. The new name is the moment, iykyk. β¨
π RETURNS π
It hands you back a fresh new mongoc_client_encryption_encrypt_string_suffix_opts_t β like, a whole new one, just for you. π«Ά
Important, no cap: you must free it with mongoc_client_encryption_encrypt_string_suffix_opts_destroy(). That's not optional, that's not a vibe, that's the rules. Little struct, big cleanup responsibility. Don't leave it hanging. π
π¦ SEE ALSO π¦
mongoc_client_encryption_encrypt_string_suffix_opts_destroy()β the one that cleans up after the party π§Ήmongoc_client_encryption_encrypt_string_opts_set_suffix()β the one that actually does something with your suffix π
π AUTHOR π
MongoDB, Inc β icons only, fr fr. π
β COPYRIGHT β
2009-present, MongoDB, Inc. β yeah, they've been at this a minute. Respect. π
and that's the whole page, bestie!! short, sweet, and fully iconic. π
libmongoc version 2.5.6, dated Oct 09, 2026 β go forth, allocate responsibly, and remember to destroy your opts. mwah πβ¨
π¦ 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