aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabaseGlue.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 00:24:45 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 01:04:18 +0100
commitd3293b889d20433adede6a248582ce778e1c87b8 (patch)
tree005c50fe1c81aae34aea2cd320e1f12e09a3c3aa /src/DatabaseGlue.cxx
parentb4b0b34e5a131f02f723f40cf9566cc43e37cf85 (diff)
downloadmpd-d3293b889d20433adede6a248582ce778e1c87b8.tar.gz
mpd-d3293b889d20433adede6a248582ce778e1c87b8.tar.xz
mpd-d3293b889d20433adede6a248582ce778e1c87b8.zip
database.h: move prototypes to DatabaseGlue.hxx
Diffstat (limited to 'src/DatabaseGlue.cxx')
-rw-r--r--src/DatabaseGlue.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DatabaseGlue.cxx b/src/DatabaseGlue.cxx
index e0f39f7b9..86810c2bd 100644
--- a/src/DatabaseGlue.cxx
+++ b/src/DatabaseGlue.cxx
@@ -51,7 +51,7 @@ static bool db_is_open;
static bool is_simple;
bool
-db_init(const struct config_param *param, GError **error_r)
+DatabaseGlobalInit(const config_param *param, GError **error_r)
{
assert(db == NULL);
assert(!db_is_open);
@@ -72,7 +72,7 @@ db_init(const struct config_param *param, GError **error_r)
}
void
-db_finish(void)
+DatabaseGlobalDeinit(void)
{
if (db_is_open)
db->Close();
@@ -142,7 +142,7 @@ db_save(GError **error_r)
}
bool
-db_load(GError **error)
+DatabaseGlobalOpen(GError **error)
{
assert(db != NULL);
assert(!db_is_open);