mongoc_uri_copy - Man Page
mongoc_uri_copy()
Synopsis
mongoc_uri_t * mongoc_uri_copy (const mongoc_uri_t *uri);
Parameters
- uri: A mongoc_uri_t.
Description
Copies the entire contents of a URI.
Returns
A newly allocated mongoc_uri_t that should be freed with mongoc_uri_destroy(). May return NULL on invalid host.
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
Feb 04, 2021 1.17.4 libmongoc