From ee4cc41fafaac0a2d76c1c791f6d43a6b6d937a7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 16 Aug 2005 01:29:28 +0000 Subject: * start implementing error handling in avahi-client * doxygen document timeval.h * add two more AVAHI_GCC_SENTINELs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@350 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 2cdda5f..b367ffb 100644 --- a/avahi-common/error.h +++ b/avahi-common/error.h @@ -56,6 +56,7 @@ enum { AVAHI_ERR_NOT_CONNECTED = -23, /**< Could not get a connection to the daemon */ 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 */ /**** **** IF YOU ADD A NEW ERROR CODE HERE, PLEASE DON'T FORGET TO ADD @@ -66,7 +67,7 @@ enum { **** Also remember to update the MAX value below. ****/ - AVAHI_ERR_MAX = -26 + AVAHI_ERR_MAX = -27 }; /** Return a human readable error string for the specified error code */ -- cgit