SYNOPSIS intmongoc_get_major_version (void); RETURNS The value of MONGOC_MAJOR_VERSION when libmongoc was compiled. COLOPHON This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.