mongoc_uri_option_is_bool man page

mongoc_uri_option_is_bool() — Returns true if the option is a known MongoDB URI option of boolean type. For example, "ssl=false" is a valid MongoDB URI option, so mongoc_uri_option_is_bool ("ssl") is true.

Synopsis

bool
mongoc_uri_option_is_bool (const char *option);

Parameters

option
The name of an option, case insensitive.

Description

Returns true if the option is a known MongoDB URI option of boolean type. For example, "ssl=false" is a valid MongoDB URI option, so mongoc_uri_option_is_bool ("ssl") is true.

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐10‐20 MongoDB C Driver