mongoc_uri_new - Man Page

mongoc_uri_new()

Synopsis

mongoc_uri_t *
mongoc_uri_new (const char *uri_string) BSON_GNUC_WARN_UNUSED_RESULT;

Parameters

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

Info

Sep 08, 2022 1.23.0 libmongoc