1MONGOC_URI_NEW(3)                  libmongoc                 MONGOC_URI_NEW(3)
2
3
4

SYNOPSIS

6          mongoc_uri_t *
7          mongoc_uri_new (const char *uri_string) BSON_GNUC_WARN_UNUSED_RESULT;
8

PARAMETERS

10uri_string: A string containing a URI.
11

DESCRIPTION

13       Calls mongoc_uri_new_with_error().
14

RETURNS

16       A  newly  allocated  mongoc_uri_t  if successful. Otherwise NULL, using
17       MONGOC_WARNING on error.
18
19       WARNING:
20          Failure to handle the result of this function is a  programming  er‐
21          ror.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.25.1                           Nov 08, 2023                MONGOC_URI_NEW(3)
Impressum