mongoc_uri_new(3)
| MONGOC_URI_NEW(3) | libmongoc | MONGOC_URI_NEW(3) |
SYNOPSIS
mongoc_uri_t * mongoc_uri_new (const char *uri_string);
PARAMETERS
- •
- uri_string: A string containing a URI.
DESCRIPTION
Calls mongoc_uri_new_with_error() <>.
RETURNS
A newly allocated mongoc_uri_t <> if successful. Otherwise NULL, using MONGOC_WARNING on error.
Warning:
Failure to handle the result of this function is a
programming error.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
| February 10, 2026 | 1.30.7 |
