Provided by: libmongoc-doc_1.9.2+dfsg-1build1_all 

NAME
mongoc_uri_new - mongoc_uri_new()
SYNOPSIS
mongoc_uri_t *
mongoc_uri_new (const char *uri_string) BSON_GNUC_WARN_UNUSED_RESULT;
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
2018, MongoDB, Inc
1.9.3-dev Feb 05, 2018 MONGOC_URI_NEW(3)