diff options
author | Max Kellermann <max@duempel.org> | 2011-09-13 20:54:27 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-13 20:54:27 +0200 |
commit | b4430839a3413893a027f7a0fc5494af8198e1bb (patch) | |
tree | c35a7d8ba0c12b84b4b9af7385a989e15a27698b /src/db_error.h | |
parent | 412cf974a4cf3693cc643ab8ce0c1d733b7e8047 (diff) | |
download | mpd-b4430839a3413893a027f7a0fc5494af8198e1bb.tar.gz mpd-b4430839a3413893a027f7a0fc5494af8198e1bb.tar.xz mpd-b4430839a3413893a027f7a0fc5494af8198e1bb.zip |
database: generate GError when database is disabled
Diffstat (limited to '')
-rw-r--r-- | src/db_error.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/db_error.h b/src/db_error.h index 35051c40c..d3be582cf 100644 --- a/src/db_error.h +++ b/src/db_error.h @@ -23,6 +23,12 @@ #include <glib.h> enum db_error { + /** + * The database is disabled, i.e. none is configured in this + * MPD instance. + */ + DB_DISABLED, + DB_NOT_FOUND, }; |