1MONGOC_URI_GET_OPTION_AS_UTF8(3)   libmongoc  MONGOC_URI_GET_OPTION_AS_UTF8(3)
2
3
4

NAME

6       mongoc_uri_get_option_as_utf8 - mongoc_uri_get_option_as_utf8()
7

SYNOPSIS

9          const char *
10          mongoc_uri_get_option_as_utf8 (const mongoc_uri_t *uri,
11                                         const char *option,
12                                         const char *fallback);
13

PARAMETERS

15       · uri: A mongoc_uri_t.
16
17       · option: The name of an option, case insensitive.
18
19       · fallback: A default value to return.
20

DESCRIPTION

22       Returns  the  value  of  the URI option if it is set and of the correct
23       type (string). This value is a pointer into the URI's internal  buffer,
24       and  is only valid until the URI is modified or freed. If the option is
25       not set, or set to an invalid type, returns fallback.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.17.4                           Feb 04, 2021 MONGOC_URI_GET_OPTION_AS_UTF8(3)
Impressum