mongoc_server_api_get_version()

Synopsis

mongoc_server_api_version_t
mongoc_server_api_get_version (const mongoc_server_api_t *api);

Fetch the declared API version as from a mongoc_server_api_t.

Parameters

Returns

Returns a mongoc_server_api_version_t with the API version declare in the mongoc_server_api_t.