Manpage logo

mongoc_uri_copy -

SYNOPSIS  PARAMETERS  DESCRIPTION  RETURNS  AUTHOR  COPYRIGHT 

SYNOPSIS

mongoc_uri_t *
mongoc_uri_copy (const mongoc_uri_t *uri) BSON_GNUC_WARN_UNUSED_RESULT;

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(). May return NULL on invalid host.

AUTHOR

MongoDB, Inc

COPYRIGHT

2017-present, MongoDB, Inc


Updated 2026-06-01 - jenkler.se | uex.se