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,
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

PARAMETERS

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

RETURNS

24       A    newly    allocated    array    that    must    be    freed    with
25       mongoc_server_descriptions_destroy_all().
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.23.1                           OctM2O0N,GO2C0_2T2OPOLOGY_DESCRIPTION_GET_SERVERS(3)
Impressum