.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "MONGOC_URI_GET_OPTION_AS_UTF8" "3" "Oct 20, 2022" "1.23.1" "libmongoc" .SH NAME mongoc_uri_get_option_as_utf8 \- mongoc_uri_get_option_as_utf8() .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C const char * mongoc_uri_get_option_as_utf8 (const mongoc_uri_t *uri, const char *option, const char *fallback); .ft P .fi .UNINDENT .UNINDENT .SH PARAMETERS .INDENT 0.0 .IP \(bu 2 \fBuri\fP: A \fI\%mongoc_uri_t\fP\&. .IP \(bu 2 \fBoption\fP: The name of an option, case insensitive. .IP \(bu 2 \fBfallback\fP: A default value to return. .UNINDENT .SH DESCRIPTION .sp Returns the value of the URI option if it is set and of the correct type (string). This value is a pointer into the URI\(aqs internal buffer, and is only valid until the URI is modified or freed. If the option is not set, or set to an invalid type, returns \fBfallback\fP\&. .SH AUTHOR MongoDB, Inc .SH COPYRIGHT 2017-present, MongoDB, Inc .\" Generated by docutils manpage writer. .