API int
LQT_CloseDatabase
(theDatabase)
t_LQTEXT_Database *theDatabase;
Purpose
Closes the current lq-text database. Any actions that have been registered with LQT_AddActionOnClose are performed, including the ones that liblqtext has registered. It is not necessary to call LQT_SyncDatabase before closing a database, as LQT_CloseDatabase does this. All pending data is flushed, and all file descriptors that have been opened by liblqtext functions are closed. Currently, not all allocated memory is freed, but any such memory is not lost, because it will be reused on a subsequent call to LQT_OpenDatabase.Returns
zero.