pub unsafe extern "C" fn mongocrypt_crypt_shared_lib_version_string(
    crypt: *const mongocrypt_t,
    len: *mut u32,
) -> *const c_char
Expand description

Obtain a nul-terminated version string of the loaded crypt_shared dynamic library, if available.

If no crypt_shared was successfully loaded, this function returns NULL.

@param[in] crypt The mongocrypt_t object after a successful call to mongocrypt_init. @param[out] len An optional output parameter to which the length of the returned string is written. If provided and no crypt_shared library was loaded, zero is written to *len.

@return A nul-terminated string of the dynamically loaded crypt_shared library.

@note For a numeric value that can be compared against, use @ref mongocrypt_crypt_shared_lib_version.