aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/database.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/database.h b/src/database.h
index 66423f46f..3e834ab84 100644
--- a/src/database.h
+++ b/src/database.h
@@ -25,6 +25,7 @@
#include <sys/time.h>
#include <stdbool.h>
+struct config_param;
struct directory;
/**
@@ -32,19 +33,13 @@ struct directory;
*
* @param path the absolute path of the database file
*/
-void
-db_init(const char *path);
+bool
+db_init(const struct config_param *path, GError **error_r);
void
db_finish(void);
/**
- * Clear the database.
- */
-void
-db_clear(void);
-
-/**
* Returns the root directory object. Returns NULL if there is no
* configured music directory.
*/