1MONGOC_TOPOLOGY_DESCRIPTION_GET_MSoEnRgVoEDMRBOSN(CG3O)DCr_iTvOePrOLOGY_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, size_t *n);
13
14 Fetches an array of mongoc_server_description_t structs for all known
15 servers in the topology.
16
18 · td: A mongoc_topology_description_t.
19
20 · n: Receives the length of the descriptions array.
21
23 A newly allocated array that must be freed with mongoc_server_descrip‐
24 tions_destroy_all.
25
27 MongoDB, Inc
28
30 2017-present, MongoDB, Inc
31
32
33
34
351.15.2 NovM0O6N,GO2C0_1T9OPOLOGY_DESCRIPTION_GET_SERVERS(3)