1MONGOC_URI_COPY(3)                 libmongoc                MONGOC_URI_COPY(3)
2
3
4

NAME

6       mongoc_uri_copy - mongoc_uri_copy()
7

SYNOPSIS

9          mongoc_uri_t *
10          mongoc_uri_copy (const mongoc_uri_t *uri) BSON_GNUC_WARN_UNUSED_RESULT;
11

PARAMETERS

13uri: A mongoc_uri_t.
14

DESCRIPTION

16       Copies the entire contents of a URI.
17

RETURNS

19       A   newly   allocated   mongoc_uri_t   that   should   be   freed  with
20       mongoc_uri_destroy(). May return NULL on invalid host.
21

AUTHOR

23       MongoDB, Inc
24
26       2017-present, MongoDB, Inc
27
28
29
30
311.24.3                           Aug 17, 2023               MONGOC_URI_COPY(3)
Impressum