1MONGOC_TOPOLOGY_DESCRIPTION_GET_SERVlEiMRbOSmN(oG3nO)gCo_cTOPOLOGY_DESCRIPTION_GET_SERVERS(3)
2
3
4
6 mongoc_server_description_t **
7 mongoc_topology_description_get_servers (
8 const mongoc_topology_description_t *td,
9 size_t *n) BSON_GNUC_WARN_UNUSED_RESULT;
10
11 Fetches an array of mongoc_server_description_t structs for all known
12 servers in the topology.
13
15 • td: A mongoc_topology_description_t.
16
17 • n: Receives the length of the descriptions array.
18
20 A newly allocated array that must be freed with
21 mongoc_server_descriptions_destroy_all().
22
24 MongoDB, Inc
25
27 2017-present, MongoDB, Inc
28
29
30
31
321.25.1 NovM0O8N,GO2C0_2T3OPOLOGY_DESCRIPTION_GET_SERVERS(3)