aboutsummaryrefslogtreecommitdiff
path: root/src/DatabaseGlue.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DatabaseGlue.hxx')
-rw-r--r--src/DatabaseGlue.hxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/DatabaseGlue.hxx b/src/DatabaseGlue.hxx
index b38ba595..ea26f324 100644
--- a/src/DatabaseGlue.hxx
+++ b/src/DatabaseGlue.hxx
@@ -23,9 +23,24 @@
#include "gcc.h"
#include "gerror.h"
+struct config_param;
class Database;
/**
+ * Initialize the database library.
+ *
+ * @param param the database configuration block
+ */
+bool
+DatabaseGlobalInit(const config_param *param, GError **error_r);
+
+void
+DatabaseGlobalDeinit(void);
+
+bool
+DatabaseGlobalOpen(GError **error);
+
+/**
* Returns the global #Database instance. May return NULL if this MPD
* configuration has no database (no music_directory was configured).
*/