summaryrefslogtreecommitdiffstats
path: root/avahi-common
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-common')
-rw-r--r--avahi-common/error.c4
-rw-r--r--avahi-common/error.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/avahi-common/error.c b/avahi-common/error.c
index 8e29634..3dca208 100644
--- a/avahi-common/error.c
+++ b/avahi-common/error.c
@@ -45,7 +45,9 @@ const char *avahi_strerror(int error) {
"Too many entries",
"OS Error",
"Access denied",
- "Invalid operation"
+ "Invalid operation",
+ "An unexpected DBUS error occured",
+ "Could not get a connection to the daemon"
};
if (-error < 0 || -error >= -AVAHI_ERR_MAX)
diff --git a/avahi-common/error.h b/avahi-common/error.h
index ed7ced9..27256e6 100644
--- a/avahi-common/error.h
+++ b/avahi-common/error.h
@@ -46,7 +46,9 @@ enum {
AVAHI_ERR_OS = -19, /**< OS error */
AVAHI_ERR_ACCESS_DENIED = -20, /**< Access denied */
AVAHI_ERR_INVALID_OPERATION = -21, /**< Invalid operation */
- AVAHI_ERR_MAX = -22
+ AVAHI_ERR_DBUS_ERROR = -22, /**< An unexpected DBUS error occured */
+ AVAHI_ERR_NOT_CONNECTED = -23, /**< Could not get a connection to the daemon */
+ AVAHI_ERR_MAX = -24
};
/** Return a human readable error string for the specified error code */