summaryrefslogtreecommitdiffstats
path: root/avahi-common/defs.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-11-06 02:08:32 +0000
committerLennart Poettering <lennart@poettering.net>2005-11-06 02:08:32 +0000
commitfbce111b069aa1e4c701ed37ee1d9f6d6cefaac5 (patch)
tree73649d7fb6fc5d3742ad36ec0f1b7fc9f58b249e /avahi-common/defs.h
parent05d7275c1d856fbe911e5e6af2c63bce8e766a53 (diff)
* 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
Diffstat (limited to 'avahi-common/defs.h')
-rw-r--r--avahi-common/defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/avahi-common/defs.h b/avahi-common/defs.h
index 8167f34..18099c7 100644
--- a/avahi-common/defs.h
+++ b/avahi-common/defs.h
@@ -172,7 +172,9 @@ typedef enum {
AVAHI_PUBLISH_ALLOW_MULTIPLE = 8, /**< For raw records: Allow multiple local records of this type, even if they are intended to be unique */
AVAHI_PUBLISH_NO_REVERSE = 16, /**< For address records: don't create a reverse (PTR) entry */
AVAHI_PUBLISH_NO_COOKIE = 32, /**< For service records: do not implicitly add the local service cookie to TXT data */
- AVAHI_PUBLISH_UPDATE = 64 /**< Update existing records instead of adding new ones */
+ AVAHI_PUBLISH_UPDATE = 64, /**< Update existing records instead of adding new ones */
+ AVAHI_PUBLISH_USE_WIDE_AREA = 128, /**< Register the record using wide area DNS (i.e. unicast DNS update) */
+ AVAHI_PUBLISH_USE_MULTICAST = 256 /**< Register the record using multicast DNS */
} AvahiPublishFlags;
/** Some flags for lookup functions */