From 3632da5dea3a2e961729664d17808d98bfc2b325 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 24 Nov 2005 00:07:12 +0000 Subject: Map DBUS specific errors to Avahi counterparts git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1026 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-common/error.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'avahi-common/error.h') diff --git a/avahi-common/error.h b/avahi-common/error.h index d6c4620..8060ebc 100644 --- a/avahi-common/error.h +++ b/avahi-common/error.h @@ -86,6 +86,7 @@ enum { AVAHI_ERR_NOT_SUPPORTED = -49, /**< Not supported */ AVAHI_ERR_NOT_PERMITTED = -50, /**< Operation not permitted */ + AVAHI_ERR_INVALID_ARGUMENT = -51, /**< Invalid argument */ /**** **** IF YOU ADD A NEW ERROR CODE HERE, PLEASE DON'T FORGET TO ADD @@ -95,7 +96,7 @@ enum { **** Also remember to update the MAX value below. ****/ - AVAHI_ERR_MAX = -51 + AVAHI_ERR_MAX = -52 }; /** Return a human readable error string for the specified error code */ -- cgit