mongoc_server_description_new_copy man page

mongoc_server_description_new_copy — mongoc_server_description_new_copy()

Synopsis

mongoc_server_description_t *
mongoc_server_description_new_copy (
   const mongoc_server_description_t *description);

Parameters

Description

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

Returns

A copy of the original server description.

Author

MongoDB, Inc

Info

Sep 15, 2017 1.8.0 MongoDB C Driver