aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-02 15:42:21 +0100
committerMax Kellermann <max@duempel.org>2009-03-02 15:42:21 +0100
commitc0ffec2fd1add50dae44c9e73a3c47d7d3998d15 (patch)
treeb08b5949ba8274139f358c61dd0a3071035ac1a8 /src/database.h
parenteb5b3ce553cc7de68235c65863651a52283c2fe1 (diff)
downloadmpd-c0ffec2fd1add50dae44c9e73a3c47d7d3998d15.tar.gz
mpd-c0ffec2fd1add50dae44c9e73a3c47d7d3998d15.tar.xz
mpd-c0ffec2fd1add50dae44c9e73a3c47d7d3998d15.zip
database: db_load() returns GError
Do error reporting with GLib's GError library.
Diffstat (limited to 'src/database.h')
-rw-r--r--src/database.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/database.h b/src/database.h
index 211cdc619..57e0e4b92 100644
--- a/src/database.h
+++ b/src/database.h
@@ -20,6 +20,8 @@
#ifndef MPD_DATABASE_H
#define MPD_DATABASE_H
+#include <glib.h>
+
#include <sys/time.h>
#include <stdbool.h>
@@ -66,7 +68,7 @@ bool
db_save(void);
bool
-db_load(void);
+db_load(GError **error);
time_t
db_get_mtime(void);