1MONGOC_URI_GET_OPTION_AS_UTF8(3) libmongoc MONGOC_URI_GET_OPTION_AS_UTF8(3)
2
3
4
6 const char *
7 mongoc_uri_get_option_as_utf8 (const mongoc_uri_t *uri,
8 const char *option,
9 const char *fallback);
10
12 • uri: A mongoc_uri_t.
13
14 • option: The name of an option, case insensitive.
15
16 • fallback: A default value to return.
17
19 Returns the value of the URI option if it is set and of the correct
20 type (string). This value is a pointer into the URI's internal buffer,
21 and is only valid until the URI is modified or freed. If the option is
22 not set, or set to an invalid type, returns fallback.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.25.1 Nov 08, 2023 MONGOC_URI_GET_OPTION_AS_UTF8(3)