From d3293b889d20433adede6a248582ce778e1c87b8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 3 Jan 2013 00:24:45 +0100 Subject: database.h: move prototypes to DatabaseGlue.hxx --- src/DatabaseGlue.hxx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/DatabaseGlue.hxx') diff --git a/src/DatabaseGlue.hxx b/src/DatabaseGlue.hxx index b38ba595..ea26f324 100644 --- a/src/DatabaseGlue.hxx +++ b/src/DatabaseGlue.hxx @@ -23,8 +23,23 @@ #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). -- cgit v1.2.3