From 41f2725b37437a585ce285051bdae06f4919dc3b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 17 Oct 2005 00:20:33 +0000 Subject: * 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 --- avahi-common/defs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'avahi-common') 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 */ -- cgit