1MONGOC_TOPOLOGY_DESCRIPTION_NEW_COPYl(i3b)moMnOgNoGcOC_TOPOLOGY_DESCRIPTION_NEW_COPY(3)
2
3
4
6 mongoc_topology_description_t *
7 mongoc_topology_description_new_copy (
8 const mongoc_topology_description_t *description)
9 BSON_GNUC_WARN_UNUSED_RESULT;
10
12 • description: A mongoc_topology_description_t.
13
15 Performs a deep copy of description.
16
18 Returns a newly allocated copy of description that should be freed with
19 mongoc_topology_description_destroy() when no longer in use. Returns
20 NULL if description is NULL.
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.25.1 Nov 08,MO2N0G2O3C_TOPOLOGY_DESCRIPTION_NEW_COPY(3)