Function mongocrypt_sys::mongocrypt_crypt_shared_lib_version
source ยท pub unsafe extern "C" fn mongocrypt_crypt_shared_lib_version(
crypt: *const mongocrypt_t,
) -> u64
Expand description
@brief Obtain a 64-bit constant encoding the version of the loaded crypt_shared library, if available.
@param[in] crypt The mongocrypt_t object after a successul call to mongocrypt_init.
@return A 64-bit encoded version number, with the version encoded as four sixteen-bit integers, or zero if no crypt_shared library was loaded.
The version is encoded as four 16-bit numbers, from high to low:
- Major version
- Minor version
- Revision
- Reserved
For example, version 6.2.1 would be encoded as: 0x0006โ0002โ0001โ0000