mongoc_uri_copy
mongoc_uri_copy()
- Provided by: libmongoc-doc (Version: 1.21.0-1build1)
- Source: mongo-c-driver
- Report a bug
mongoc_uri_copy()
mongoc_uri_t * mongoc_uri_copy (const mongoc_uri_t *uri) BSON_GNUC_WARN_UNUSED_RESULT;
Copies the entire contents of a URI.
A newly allocated mongoc_uri_t that should be freed with mongoc_uri_destroy(). May return NULL on invalid host.
MongoDB, Inc
2017-present, MongoDB, Inc