diff options
author | Max Kellermann <max@duempel.org> | 2009-03-02 15:42:21 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-02 15:42:21 +0100 |
commit | c0ffec2fd1add50dae44c9e73a3c47d7d3998d15 (patch) | |
tree | b08b5949ba8274139f358c61dd0a3071035ac1a8 /src/database.h | |
parent | eb5b3ce553cc7de68235c65863651a52283c2fe1 (diff) | |
download | mpd-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.h | 4 |
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); |