diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-10-17 00:20:33 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-10-17 00:20:33 +0000 |
commit | 41f2725b37437a585ce285051bdae06f4919dc3b (patch) | |
tree | 1820274ac232dd46b907f98e9119be04eba43feb /avahi-common/defs.h | |
parent | 58ca874e460691615b131ad8692165a12f14bd09 (diff) |
* implement record updating through the new flags AVAHI_PUBLISH_UPDATE
* add new helper function avahi_server_update_service_txt() to ease TXT record updating for services
* other minor cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@790 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/defs.h')
-rw-r--r-- | avahi-common/defs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/avahi-common/defs.h b/avahi-common/defs.h index d12ed64..41e4daa 100644 --- a/avahi-common/defs.h +++ b/avahi-common/defs.h @@ -161,7 +161,8 @@ 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_IS_PROXY = 64 /**< For service records: this is a proxy for another host. This modifies behaviour of avahi_server_is_service_local() */ + AVAHI_PUBLISH_IS_PROXY = 64, /**< For service records: this is a proxy for another host. This modifies behaviour of avahi_server_is_service_local() */ + AVAHI_PUBLISH_UPDATE = 128 /**< Update existing records instead of adding new ones */ } AvahiPublishFlags; /** Some flags for lookup functions */ |