bson_get_major_version (3) - Linux Manuals
bson_get_major_version: Get the first number in libbson's MAJOR.MINOR.MICRO release version.
NAME
bson_get_major_version() - Get the first number in libbson's MAJOR.MINOR.MICRO release version.SYNOPSIS
int bson_get_major_version (void);
DESCRIPTION
Get the first number in libbson's MAJOR.MINOR.MICRO release version.
RETURNS
The value of BSON_MAJOR_VERSION when Libbson was compiled.
COLOPHON
This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.