mongoc_server_api_version_from_string(3)

mongoc_server_api_version_from_string3

Usage

bool
mongoc_server_api_version_from_string (const char *version,
                                       mongoc_server_api_version_t *out);

Given a string version, populates out with the equivalent mongoc_server_api_version_t if version represents a valid API version.

Parameters

•

version: A string representing the version identifier.

•

out: A pointer to a mongoc_server_api_version_t.

Returns

True on success, false on failure. On success, out is populated with the converted version string. On failure, out is not altered.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.