MONGOC_CLIENT...PTS_SET_PREFIX(3)
β¨ SYNOPSIS β¨
okay bestie, welcome to libmongoc β yes, the whole manual, and today's main character is this little function right here:
void
mongoc_client_encryption_encrypt_string_opts_set_prefix(
mongoc_client_encryption_encrypt_string_opts_t *opts,
mongoc_client_encryption_encrypt_string_prefix_opts_t *popts);
that's it. that's the whole vibe. it returns void, it takes two pointers, and it is literally just here to attach your prefix options to your string-search-encryption options. lowkey iconic π
Changed in version 2.4.0: this got renamed from the now-deprecated text API. so if you're out here copy-pasting from a dusty old tutorial, that's why it's yelling at you π
so what does it do? Sets the prefix options for string search encryption. that's the whole job. it's giving "glue code with main character energy" π
πΈ PARAMETERS πΈ
optsβ amongoc_client_encryption_encrypt_string_opts_t. this is the one getting stuff set on it, iykyk.poptsβ amongoc_client_encryption_encrypt_string_prefix_opts_tthat you're setting as the prefix options. that's the payload, bestie π¦
π SEE ALSO π
mongoc_client_encryption_encrypt_string_opts_new()mongoc_client_encryption_encrypt_string_prefix_opts_new()
like, go make the things before you set the things, fr fr π«Ά
π AUTHOR π
MongoDB, Inc β yes, the MongoDB girlies wrote this. no cap.
π COPYRIGHT π
2009-present, MongoDB, Inc. β protected, periodt. π
and that's the page!! stay encrypted, stay slay β¨ this has been libmongoc 2.5.6, dated Oct 09, 2026 β catch you in the next manpage, 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