Scroll to navigation

MONGOC_URI_OPTION_IS_INT32(3) Library Functions Manual MONGOC_URI_OPTION_IS_INT32(3)

NAME

mongoc_uri_option_is_int32() - Returns true if the option is a known MongoDB URI option of integer type. For example, "socketTimeoutMS=100" is a valid MongoDB URI option, so mongoc_uri_option_is_int32 ("connectTimeoutMS") is true.

SYNOPSIS


bool mongoc_uri_option_is_int32 (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 integer type. For example, "socketTimeoutMS=100" is a valid MongoDB URI option, so mongoc_uri_option_is_int32 ("connectTimeoutMS") is true.

COLOPHON

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