diff options
author | Max Kellermann <max@duempel.org> | 2013-01-03 00:24:45 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-03 01:04:18 +0100 |
commit | d3293b889d20433adede6a248582ce778e1c87b8 (patch) | |
tree | 005c50fe1c81aae34aea2cd320e1f12e09a3c3aa /src/DatabaseGlue.cxx | |
parent | b4b0b34e5a131f02f723f40cf9566cc43e37cf85 (diff) | |
download | mpd-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.cxx | 6 |
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); |