1MONGOC_TOPOLOGY_DESCRIPTION_NEW_COPYl(i3b)moMnOgNoGcOC_TOPOLOGY_DESCRIPTION_NEW_COPY(3)
2
3
4
6 mongoc_topology_description_new_copy - mongoc_topology_descrip‐
7 tion_new_copy()
8
10 mongoc_topology_description_t *
11 mongoc_topology_description_new_copy (
12 const mongoc_topology_description_t *description)
13 BSON_GNUC_WARN_UNUSED_RESULT;
14
16 • description: A mongoc_topology_description_t.
17
19 Performs a deep copy of description.
20
22 Returns a newly allocated copy of description that should be freed with
23 mongoc_topology_description_destroy() when no longer in use. Returns
24 NULL if description is NULL.
25
27 MongoDB, Inc
28
30 2017-present, MongoDB, Inc
31
32
33
34
351.23.1 Oct 20,MO2N0G2O2C_TOPOLOGY_DESCRIPTION_NEW_COPY(3)