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);
11

PARAMETERS

13       · uri: 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  mon‐
20       goc_uri_destroy(). May return NULL on invalid host.
21

AUTHOR

23       MongoDB, Inc
24
26       2017-present, MongoDB, Inc
27
28
29
30
311.17.4                           Feb 04, 2021               MONGOC_URI_COPY(3)
Impressum