table of contents
| MONGOC_CLIENT_ENCRYPTION_GET_CRYPT_SHARED_VERSION(3) | libmongoc | MONGOC_CLIENT_ENCRYPTION_GET_CRYPT_SHARED_VERSION(3) |
SYNOPSIS¶
const char* mongoc_client_encryption_get_crypt_shared_version (mongoc_client_encryption_t const *enc);
Obtain the version string of the crypt_shared <https://www.mongodb.com/docs/manual/core/queryable-encryption/reference/shared-library/> that is loaded for the given explicit encryption object. If no crypt_shared <https://www.mongodb.com/docs/manual/core/queryable-encryption/reference/shared-library/> library is loaded, the returned pointer will be NULL.
PARAMETERS¶
- •
- enc: A live mongoc_client_encryption_t <>
RETURNS¶
A pointer to a null-terminated character array string designating the version of crypt_shared <https://www.mongodb.com/docs/manual/core/queryable-encryption/reference/shared-library/> that was loaded for enc. If no crypt_shared <https://www.mongodb.com/docs/manual/core/queryable-encryption/reference/shared-library/> library is loaded, the returned pointer will be NULL. The pointed-to array must not be modified or freed. The returned pointer is only valid for the lifetime of enc.
See also:
- •
- mongoc_client_get_crypt_shared_version() <>
Author¶
MongoDB, Inc
Copyright¶
2009-present, MongoDB, Inc.
| November 26, 2025 | 2.2.0 |