1MONGOC_URI_COPY(3) libmongoc MONGOC_URI_COPY(3)
23
4
SYNOPSIS
6mongoc_uri_t *
7mongoc_uri_copy (const mongoc_uri_t *uri) BSON_GNUC_WARN_UNUSED_RESULT;
8
PARAMETERS
10• uri: A mongoc_uri_t.
11
DESCRIPTION
13Copies the entire contents of a URI.
14
RETURNS
16A newly allocated mongoc_uri_t that should be freed with
17mongoc_uri_destroy(). May return NULL on invalid host.
18
AUTHOR
20MongoDB, Inc
21
COPYRIGHT
232017-present, MongoDB, Inc
2425
26
27
28
1.25.1 Nov 08, 2023 MONGOC_URI_COPY(3)