You can call the mysql_get_client_version() function to return the OBClient version as an integer.
Syntax
unsigned long
mysql_get_client_version(void)
Return values
The OBClient version is returned as an integer.
Errors
None.
Notes
The function value is the OBClient version. The value is in the format of XYYZZ, where X is the major version, YY is the release level or minor version, and ZZ is the sub-version within the release level.
major_version*10000 + release_level*100 + sub_version
For example, 5.6.71 is returned as 50671.