Database Independent Abstraction Layer for C: libdbi Programmer's Guide
Prev | Chapter 6. Library and Interface Versions | Next

# 6.3. Determining the library version at runtime

The functions dbi_version and dbi_version_numeric provide access to the package version. The former returns the name and the version as a string (mainly for display purposes), whereas the latter returns an integer value for easy comparisons, defined as ((major*10000) + (minor * 100) + patch).

Prev | Home | Next
libdbi and libdbi-drivers versions | Up | libdbi API Reference