1MONGOC_TOPOLOGY_DESCRIPTION_GET_SERVlEiMRbOSmN(oG3nO)gCo_cTOPOLOGY_DESCRIPTION_GET_SERVERS(3)
2
3
4

NAME

6       mongoc_topology_description_get_servers    -   mongoc_topology_descrip‐
7       tion_get_servers()
8

SYNOPSIS

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

PARAMETERS

18td: A mongoc_topology_description_t.
19
20n: Receives the length of the descriptions array.
21

RETURNS

23       A  newly allocated array that must be freed with mongoc_server_descrip‐
24       tions_destroy_all.
25

AUTHOR

27       MongoDB, Inc
28
30       2017-present, MongoDB, Inc
31
32
33
34
351.17.6                           JunM0O3N,GO2C0_2T1OPOLOGY_DESCRIPTION_GET_SERVERS(3)
Impressum