Database API
Database API — Functions for controlling database state.
|
|
Description
These API functions are for micro-management of database state, and in general
are not needed for a normal leaftag consumer.
Details
lt_db_set_filename ()
void lt_db_set_filename (const char *filename);
Set the database file. This should only be used if your application should
use a database other than the primary one.
filename : |
The filename of the database
|
lt_db_init ()
void lt_db_init (void);
Initialize the database connection.
lt_db_uninit ()
void lt_db_uninit (void);
Shut down the database connection.
lt_db_is_initted ()
gboolean lt_db_is_initted (void);
Check whether the database is opened.
Returns : |
whether or not the database connection is active.
|