1MONGOC_TOPOLOGY_DESCRIPTION_GET_SERVlEiMRbOSmN(oG3nO)gCo_cTOPOLOGY_DESCRIPTION_GET_SERVERS(3)
2
3
4
6 mongoc_topology_description_get_servers - mongoc_topology_descrip‐
7 tion_get_servers()
8
10 mongoc_server_description_t **
11 mongoc_topology_description_get_servers (
12 const mongoc_topology_description_t *td,
13 size_t *n) BSON_GNUC_WARN_UNUSED_RESULT;
14
15 Fetches an array of mongoc_server_description_t structs for all known
16 servers in the topology.
17
19 • td: A mongoc_topology_description_t.
20
21 • n: Receives the length of the descriptions array.
22
24 A newly allocated array that must be freed with mongoc_server_descrip‐
25 tions_destroy_all.
26
28 MongoDB, Inc
29
31 2017-present, MongoDB, Inc
32
33
34
35
361.21.1 MarM0O2N,GO2C0_2T2OPOLOGY_DESCRIPTION_GET_SERVERS(3)