Version numbers and compatibility

Each structure has a member that indicates the version number. You should use this version member to hold the version of the DBTools library that your application was developed against. The current version of the DBTools library is defined when you include the dbtools.h header file.

 To assign the current version number to a structure
  • Assign the version constant to the version member of the structure before calling the DBTools function. The following line assigns the current version to a backup structure:

    backup_info.version = DB_TOOLS_VERSION_NUMBER;
 Compatibility