summaryrefslogtreecommitdiffstats
path: root/avahi-common/error.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-09-25 19:57:10 +0000
committerLennart Poettering <lennart@poettering.net>2005-09-25 19:57:10 +0000
commit1a0fb70d743f900859d9278c6ae01cfc2a993dad (patch)
treeeea384668e5a24ffd48c73f6c06617145dddae3d /avahi-common/error.h
parent9afe364e3fbe042d0de1988426cf60c91a4d32ac (diff)
add a bunch of new errors codes
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@604 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/error.h')
-rw-r--r--avahi-common/error.h7
1 files changed, 6 insertions, 1 deletions
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 */