aboutsummaryrefslogtreecommitdiff
path: root/src/db_error.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-13 20:54:27 +0200
committerMax Kellermann <max@duempel.org>2011-09-13 20:54:27 +0200
commitb4430839a3413893a027f7a0fc5494af8198e1bb (patch)
treec35a7d8ba0c12b84b4b9af7385a989e15a27698b /src/db_error.h
parent412cf974a4cf3693cc643ab8ce0c1d733b7e8047 (diff)
database: generate GError when database is disabled
Diffstat (limited to 'src/db_error.h')
-rw-r--r--src/db_error.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/db_error.h b/src/db_error.h
index 35051c40..d3be582c 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,
};