1MONGOC_SERVER_DESCRIPTION_NEW_COPY(3l)ibmongMoOcNGOC_SERVER_DESCRIPTION_NEW_COPY(3)
2
3
4
6 mongoc_server_description_t *
7 mongoc_server_description_new_copy (
8 const mongoc_server_description_t *description) BSON_GNUC_WARN_UNUSED_RESULT;
9
11 • description: A mongoc_server_description_t.
12
14 Performs a deep copy of description.
15
17 Returns a newly allocated copy of description that should be freed with
18 mongoc_server_description_destroy() when no longer in use. Returns NULL
19 if description is NULL.
20
22 MongoDB, Inc
23
25 2017-present, MongoDB, Inc
26
27
28
29
301.25.1 Nov 08, 2M0O2N3GOC_SERVER_DESCRIPTION_NEW_COPY(3)