From 1a0fb70d743f900859d9278c6ae01cfc2a993dad Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 25 Sep 2005 19:57:10 +0000 Subject: add a bunch of new errors codes git-svn-id: file:///home/lennart/svn/public/avahi/trunk@604 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-common/error.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'avahi-common/error.h') diff --git a/avahi-common/error.h b/avahi-common/error.h index f8d6c35..2b06c5a 100644 --- a/avahi-common/error.h +++ b/avahi-common/error.h @@ -59,6 +59,11 @@ enum { AVAHI_ERR_NO_MEMORY = -24, /**< Memory exhausted */ AVAHI_ERR_INVALID_OBJECT = -25, /**< The object passed to this function was invalid */ AVAHI_ERR_NO_DAEMON = -26, /**< Daemon not running */ + AVAHI_ERR_INVALID_INTERFACE = -27, /**< Invalid interface */ + AVAHI_ERR_INVALID_PROTOCOL = -28, /**< Invalid protocol */ + AVAHI_ERR_INVALID_FLAGS = -29, /**< Invalid flags */ + AVAHI_ERR_NOT_FOUND = -30, /**< Not found */ + AVAHI_ERR_INVALID_CONFIG = -31, /**< Configuration error */ /**** **** IF YOU ADD A NEW ERROR CODE HERE, PLEASE DON'T FORGET TO ADD @@ -68,7 +73,7 @@ enum { **** Also remember to update the MAX value below. ****/ - AVAHI_ERR_MAX = -27 + AVAHI_ERR_MAX = -32 }; /** Return a human readable error string for the specified error code */ -- cgit