diff options
Diffstat (limited to 'src/database.h')
-rw-r--r-- | src/database.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/database.h b/src/database.h index f0f225108..bb2ccce70 100644 --- a/src/database.h +++ b/src/database.h @@ -27,9 +27,11 @@ struct directory; /** * Initialize the database library. + * + * @param path the absolute path of the database file */ void -db_init(void); +db_init(const char *path); void db_finish(void); @@ -37,12 +39,8 @@ db_finish(void); /** * Clear the database. */ -static inline void -db_clear(void) -{ - db_finish(); - db_init(); -} +void +db_clear(void); struct directory * db_get_root(void); |