Provided by: libmongoc-doc_1.16.1-1build2_all 

NAME
mongoc_topology_description_get_servers - mongoc_topology_description_get_servers()
SYNOPSIS
mongoc_server_description_t **
mongoc_topology_description_get_servers (
const mongoc_topology_description_t *td, size_t *n);
Fetches an array of mongoc_server_description_t structs for all known servers in the topology.
PARAMETERS
• td: A mongoc_topology_description_t.
• n: Receives the length of the descriptions array.
RETURNS
A newly allocated array that must be freed with mongoc_server_descriptions_destroy_all.
AUTHOR
MongoDB, Inc
COPYRIGHT
2017-present, MongoDB, Inc
1.16.1 Mar 03, 2020 MONGOC_TOPOLOGY_DESCRIPTION_GET_SERVERS(3)