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/dbus.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'avahi-common/dbus.c') diff --git a/avahi-common/dbus.c b/avahi-common/dbus.c index cebf56d..3ea7cbd 100644 --- a/avahi-common/dbus.c +++ b/avahi-common/dbus.c @@ -83,7 +83,10 @@ static const char * const table[- AVAHI_ERR_MAX] = { AVAHI_DBUS_ERR_DNS_NOTZONE, AVAHI_DBUS_ERR_INVALID_RDATA, AVAHI_DBUS_ERR_INVALID_DNS_CLASS, - AVAHI_DBUS_ERR_INVALID_DNS_TYPE + AVAHI_DBUS_ERR_INVALID_DNS_TYPE, + AVAHI_DBUS_ERR_NOT_SUPPORTED, + + AVAHI_DBUS_ERR_NOT_PERMITTED }; int avahi_error_dbus_to_number(const char *s) { -- cgit