aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-04 21:18:40 +0100
committerMax Kellermann <max@duempel.org>2009-01-04 21:18:40 +0100
commit200ef56d4dfbcead7e20d036352f20cd67612772 (patch)
tree8c7ff1fdd3c5a6aff671d9752059be951107c8d5 /src/database.h
parent82166b715c2e8b39eb20d179c95aa982335ad07c (diff)
downloadmpd-200ef56d4dfbcead7e20d036352f20cd67612772.tar.gz
mpd-200ef56d4dfbcead7e20d036352f20cd67612772.tar.xz
mpd-200ef56d4dfbcead7e20d036352f20cd67612772.zip
database: use stdbool
Make db_load(), db_save() and db_check() return bool instead of int.
Diffstat (limited to 'src/database.h')
-rw-r--r--src/database.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/database.h b/src/database.h
index 238ddb374..fdeab420a 100644
--- a/src/database.h
+++ b/src/database.h
@@ -21,6 +21,7 @@
#define MPD_DATABASE_H
#include <sys/time.h>
+#include <stdbool.h>
struct directory;
@@ -56,13 +57,13 @@ int db_walk(const char *name,
int (*forEachSong)(struct song *, void *),
int (*forEachDir)(struct directory *, void *), void *data);
-int
+bool
db_check(void);
-int
+bool
db_save(void);
-int
+bool
db_load(void);
time_t