diff options
Diffstat (limited to '')
-rw-r--r-- | src/DatabaseGlue.hxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/DatabaseGlue.hxx b/src/DatabaseGlue.hxx index b38ba595a..ea26f3242 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). */ |