summaryrefslogtreecommitdiffstats
path: root/avahi-common/defs.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-09-29 22:37:27 +0000
committerLennart Poettering <lennart@poettering.net>2005-09-29 22:37:27 +0000
commit2f5ff259bdb6fa7ddbb3d03dd683f3e034cddad6 (patch)
tree390ecfe6ce64c37b593d039a6a58768dbe1d5165 /avahi-common/defs.h
parent473af0094573aca62e50051344ec2fd5f6723e6d (diff)
Add new flag AVAHI_PUBLISH_IS_PROXY and activate it for static services with a host name set
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@658 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/defs.h')
-rw-r--r--avahi-common/defs.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/avahi-common/defs.h b/avahi-common/defs.h
index 06b48a6..4da597c 100644
--- a/avahi-common/defs.h
+++ b/avahi-common/defs.h
@@ -156,11 +156,12 @@ typedef enum {
typedef enum {
AVAHI_PUBLISH_NULL = 0,
AVAHI_PUBLISH_UNIQUE = 1, /**< For raw records: The RRset is intended to be unique */
- AVAHI_PUBLISH_NO_PROBE = 2, /**< For raw records: Though the RRset is intended to be unique no probes shall be sent */
- AVAHI_PUBLISH_NO_ANNOUNCE = 4, /**< For raw records: Do not announce this RR to other hosts */
- 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_PROBE = 2, /**< For raw records: Though the RRset is intended to be unique no probes shall be sent */
+ AVAHI_PUBLISH_NO_ANNOUNCE = 4, /**< For raw records: Do not announce this RR to other hosts */
+ 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_NO_COOKIE = 32, /**< For service records: do not implicitly add the local service cookie to TXT data */
+ AVAHI_PUBLISH_IS_PROXY = 64 /**< For service records: this is a proxy for another host. This modifies behaviour of avahi_server_is_service_local() */
} AvahiPublishFlags;
/** Some flags for lookup functions */
@@ -186,7 +187,7 @@ typedef enum {
AVAHI_BROWSER_REMOVE, /**< The object has been removed from the network */
AVAHI_BROWSER_CACHE_EXHAUSTED, /**< One-time event, to notify the user that all entries from the caches have been send */
AVAHI_BROWSER_ALL_FOR_NOW, /**< One-time event, to notify the user that more records will probably not show up in the near future, i.e. all cache entries have been read and all static servers been queried */
- AVAHI_BROWSER_NOT_FOUND, /**< Issued when using wide area DNS-SD to inform that a record is not existing */
+ AVAHI_BROWSER_NOT_FOUND, /**< Issued when using wide area DNS-SD to inform that a record is not existing */
AVAHI_BROWSER_FAILURE /**< Issued when using wide area DNS-SD to inform about server failures */
} AvahiBrowserEvent;