1MONGOC_URI_NEW(3) MongoDB C Driver MONGOC_URI_NEW(3)
2
3
4
6 mongoc_uri_new - mongoc_uri_new()
7
9 mongoc_uri_t *
10 mongoc_uri_new (const char *uri_string) BSON_GNUC_WARN_UNUSED_RESULT;
11
13 ยท uri_string: A string containing a URI.
14
16 Calls mongoc_uri_new_with_error.
17
19 A newly allocated mongoc_uri_t if successful. Otherwise NULL, using
20 MONGOC_WARNING on error.
21
22 WARNING:
23 Failure to handle the result of this function is a programming
24 error.
25
27 MongoDB, Inc
28
30 2017-present, MongoDB, Inc
31
32
33
34
351.13.1 Jan 24, 2019 MONGOC_URI_NEW(3)