API int
LQT_SyncDatabase
(theDatabase)
t_LQTEXT_Database *theDatabase;
Purpose
Syncs the current lq-text database; that is, writes any pending data blocks to disk, and closes and deletes any temporary files. You could think of this function as closing the database and then opening it again, except that it doesn't actually do that.
Any actions that have been registered with LQT_AddActionOnClose with the LQT_ON_SYNC flag are performed, including the ones that liblqtext has registered internally.
It is not necessary to call LQT_SyncDatabase before closing a database, as LQT_CloseDatabase does this.
Returns
zero.