MONGOC_CLIENT...PTS_SET_SUFFIX(3)
π MONGOC_CLIENT_ENCRYPT_STRING_OPTS_SET_SUFFIX(3) β¨
okay so bestie, welcome to the libmongoc corner of the universe π¦ β this one's a little setter function and honestly it's giving "quiet luxury" because it does exactly one thing and does it flawlessly. no cap.
β¨ SYNOPSIS β¨
void
mongoc_client_encryption_encrypt_string_opts_set_suffix(
mongoc_client_encryption_encrypt_string_opts_t *opts,
mongoc_client_encryption_encrypt_string_suffix_opts_t *sopts);
so like, important lore drop π β Changed in version 2.4.0: this got renamed from the now-deprecated text API. so if you're out here still using the old text APIβ¦ not me judging, but it's deprecated, girlie π. move on, it's what the girlies do.
what does it do tho? it sets the suffix options for string search encryption. literally that's it. iconic behavior, no notes. π
πΈ PARAMETERS πΈ
optsβ amongoc_client_encryption_encrypt_string_opts_t. yes, that whole mouthful. this is the one getting its suffix options set. π«Άsoptsβ amongoc_client_encryption_encrypt_string_suffix_opts_tthat you're setting as the suffix options. main character energy tbh.
π SEE ALSO π
like, go read these too, iykyk π
mongoc_client_encryption_encrypt_string_opts_new()mongoc_client_encryption_encrypt_string_suffix_opts_new()
π AUTHOR π
MongoDB, Inc β fr fr, the whole house. π β¨
π COPYRIGHT π
2009-present, MongoDB, Inc. β that's a long run bestie, we love longevity π¦
lowkey a whole vibe check: this function returns void, so there's no exit status to check, no error to panic over, no signal drama. it just sets the thing and goes home. we stan a low-maintenance icon π
okay that's the whole page, love u, go encrypt some strings responsibly πβ
β libmongoc 2.5.6, dated Oct 09, 2026 ππ§ 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