<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/wordinfo.c">
<Name>LQTpFlushWIDCache</Name>
<Class>Database/Files
<Purpose>
<P>Writes any pending entries in the WID file cache out to disk.
This must be done before closing the database or exiting the running
program if any changes have been made.</P>
<P>When a database is opened, LQTpFlushWIDCache is registered as an
action to be performed on an LQT_CloseDatabase or LQT_SyncDatabase,
so it should not be necessary to call this function directly.</P>
<P>The ignored argument is for compatibility with LQT_AddActionOnClose,
as is the return value.
<SeeAlso>
LQT_SyncDatabase
LQT_CloseDatabase
LQT_AddActionOnClose
</Function>
<Decl>
LIBRARY int
LQTpFlushWIDCache(db)
    t_LQTEXT_Database *db;
</Decl>
</Entry>
