<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/setfid.c">
<Name>LQT_WriteCurrentMaxFID</Name>
<Class>Database/Documents
<Purpose>
<P>Writes the cached value of the largest allocated FID to disk.
This routine is registered by LQT_OpenDatabase so that it is called
automatically by LQT_CloseDatabase.</P>
<P>It may also be useful to call it
directly for the purpose of debugging a new lq-text client that
updates the database, for example when running under a database.</P>
<SeeAlso>
LQT_WriteCurrentMaxWID
LQT_SyncDatabase
LQT_CloseDatabase
</Function>
<Decl>
API void
LQT_WriteCurrentMaxFID(db)
    t_LQTEXT_Database *db;
</Decl>
</Entry>
