Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

mongoc_uri_copy - Man Page

Synopsis

mongoc_uri_t *
mongoc_uri_copy (const mongoc_uri_t *uri) BSON_GNUC_WARN_UNUSED_RESULT;

Parameters

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

Info

Jul 03, 2024 1.27.4 libmongoc