mongoc_uri_copy man page

mongoc_uri_copy ā€” mongoc_uri_copy()

Synopsis

mongoc_uri_t *
mongoc_uri_copy (const mongoc_uri_t *uri);

Parameters

Description

Copies the entire contents of a URI.

Returns

A newly allocated mongoc_uri_t that should be freed with mongoc_uri_destroy().

Author

MongoDB, Inc

Info

Nov 17, 2017 1.8.2 MongoDB C Driver