MONGOC_TOPOLOGY_DESCRIPTION_GET_SERVERS(3) | libmongoc | MONGOC_TOPOLOGY_DESCRIPTION_GET_SERVERS(3) |
mongoc_server_description_t ** mongoc_topology_description_get_servers ( const mongoc_topology_description_t *td, size_t *n) BSON_GNUC_WARN_UNUSED_RESULT;
Fetches an array of mongoc_server_description_t structs for all known servers in the topology.
A newly allocated array that must be freed with mongoc_server_descriptions_destroy_all().
MongoDB, Inc
2017-present, MongoDB, Inc
March 31, 2024 | 1.26.0 |