<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/lqrverno.c">
<Name>LQT_CheckDatabaseVersion</Name>
<Class>Database/Database
<Purpose>
Checks that the current database is compatible with this version of
the library.  Some versions of liblqtext may have a backwards
compatibility mode, which this function will enable.
This routine is called automatically whenever an lq-text database
is opened.
<Notes>
The liblqtext library is capable of maintaining backward
compatibility with earlier versions; for example, Release 1.13 
could read a database created with Release 1.12; this feature is
not presently included, however.  In practice, it's almost always
possible to index the data again rather than using backwards
compatibility modes, and performance is usually then better.
<Errors>
Fatal error if the database is incompatible with the current version
of the lqtext library.
</Function>
<Decl>
API void
LQT_CheckDatabaseVersion(db)
    t_LQTEXT_Database *db;
</Decl>
</Entry>
