The maxdb_get_client_info() function is used to return a string representing the client version being used in the MaxDB extension.
/* We don't need a connection to determine
the version of MaxDB client library */
printf("Client library version: %s\n", maxdb_get_client_info());
The above examples would produce the following output:
Client library version: libSQLDBC <...>