database.h: move prototypes to DatabaseGlue.hxx

This commit is contained in:
Max Kellermann
2013-01-03 00:24:45 +01:00
parent b4b0b34e5a
commit d3293b889d
5 changed files with 23 additions and 21 deletions

View File

@@ -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).