database: return GError on failure

This commit is contained in:
Max Kellermann
2011-09-09 23:28:27 +02:00
parent 2119a16e24
commit 68875ba600
4 changed files with 41 additions and 23 deletions

View File

@@ -62,10 +62,10 @@ int db_walk(const char *name,
int (*forEachDir)(struct directory *, void *), void *data);
bool
db_check(void);
db_check(GError **error_r);
bool
db_save(void);
db_save(GError **error_r);
bool
db_load(GError **error);