DOKK / manpages / debian 11 / libmongoc-doc / mongoc_server_description_new_copy.3.en
MONGOC_SERVER_DESCRIPTION_NEW_COPY(3) libmongoc MONGOC_SERVER_DESCRIPTION_NEW_COPY(3)

mongoc_server_description_new_copy - mongoc_server_description_new_copy()

mongoc_server_description_t *
mongoc_server_description_new_copy (

const mongoc_server_description_t *description);


description: A mongoc_server_description_t.

This function copies the given server description and returns a new server description object. The caller is responsible for destroying the new copy.

A copy of the original server description.

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6