From fbce111b069aa1e4c701ed37ee1d9f6d6cefaac5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 6 Nov 2005 02:08:32 +0000 Subject: * add two new configuration file options: "disable-publishing" and "disable-user-service-publishing" * add two new errors: NOT_PERMITTED and NOT_SUPPORTED * add two new publishing flags: AVAHI_PUBLISH_USE_MULTICAST, AVAHI_PUBLISH_USE_WIDE_AREA * return NOT_SUPPORTED when user tries to add RRs in wide area domains - for now git-svn-id: file:///home/lennart/svn/public/avahi/trunk@930 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-common/error.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'avahi-common/error.h') diff --git a/avahi-common/error.h b/avahi-common/error.h index 0c3320d..91e32d7 100644 --- a/avahi-common/error.h +++ b/avahi-common/error.h @@ -83,6 +83,9 @@ enum { AVAHI_ERR_INVALID_RDATA = -46, /**< Invalid RDATA */ AVAHI_ERR_INVALID_DNS_CLASS = -47, /**< Invalid DNS class */ AVAHI_ERR_INVALID_DNS_TYPE = -48, /**< Invalid DNS type */ + AVAHI_ERR_NOT_SUPPORTED = -49, /**< Not supported */ + + AVAHI_ERR_NOT_PERMITTED = -50, /**< Operation not permitted */ /**** **** IF YOU ADD A NEW ERROR CODE HERE, PLEASE DON'T FORGET TO ADD @@ -92,7 +95,7 @@ enum { **** Also remember to update the MAX value below. ****/ - AVAHI_ERR_MAX = -49 + AVAHI_ERR_MAX = -51 }; /** Return a human readable error string for the specified error code */ -- cgit