Scroll to navigation

MONGOC_URI_COPY(3) MongoDB C Driver MONGOC_URI_COPY(3)

NAME

mongoc_uri_copy - mongoc_uri_copy()

SYNOPSIS

mongoc_uri_t *
mongoc_uri_copy (const mongoc_uri_t *uri);


PARAMETERS

uri: A mongoc_uri_t.

DESCRIPTION

Copies the entire contents of a URI.

RETURNS

A newly allocated mongoc_uri_t that should be freed with mongoc_uri_destroy().

AUTHOR

MongoDB, Inc

COPYRIGHT

2017-present, MongoDB, Inc
February 23, 2019 1.14.0