MONGOC_CLIENT...SHARED_VERSION(3)
MONGOC_CLIENT...SHARED_VERSION(3) π
Okay bestie, welcome to this lil slice of the libmongoc manual β¨ We're talking about getting the loaded crypt_shared version from an explicit encryption object, and it's honestly pretty straightforward.
πΈ SYNOPSIS πΈ
const char*
mongoc_client_encryption_get_crypt_shared_version (mongoc_client_encryption_t const *enc);
This gets you the version string of the crypt_shared that's loaded for the given explicit encryption object. If no crypt_shared library is loaded, the returned pointer will be NULL. No cap. π«Ά
π PARAMETERS π
encβ a livemongoc_client_encryption_tπ
π RETURNS π
You get a pointer to a null-terminated character array string designating the version of crypt_shared that was loaded for enc. Iconic. β¨
If no crypt_shared library is loaded, the returned pointer will be NULL β that's the vibe check, bestie.
The pointed-to array must not be modified or freed. Like, hands off. π The returned pointer is only valid for the lifetime of enc.
π SEE ALSO π
mongoc_client_get_crypt_shared_version()β go peek at this one too, iykyk π
βοΈ AUTHOR βοΈ
MongoDB, Inc
Β©οΈ COPYRIGHT Β©οΈ
2009-present, MongoDB, Inc.
Stay hydrated, bestie β this page is from libmongoc 2.5.6, dated Oct 09, 2026 ππ
π¦ 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