From f5a4db2039532ef93fbb3d98fa048be9d74a83fe Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 16 May 2005 01:01:43 +0000 Subject: * case insensitive name comparisons * corectly handle RRsets * make addresses unique * return to probe state on conflict * a bunch of fixes detected while testing against the Apple Bonjour Conformance Test * a fix in avahi_record_lexicographical_cmp() regarding TXT records * API for choosing alternative host and service names * remove a bunch of unused crap from cache.c and server.c * flush cache when an interface becomes unavailable git-svn-id: file:///home/lennart/svn/public/avahi/trunk@72 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/core.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'avahi-core/core.h') diff --git a/avahi-core/core.h b/avahi-core/core.h index 42e6ee0..98f36b2 100644 --- a/avahi-core/core.h +++ b/avahi-core/core.h @@ -51,6 +51,9 @@ typedef void (*AvahiEntryGroupCallback) (AvahiServer *s, AvahiEntryGroup *g, Ava AvahiServer *avahi_server_new(GMainContext *c); void avahi_server_free(AvahiServer* s); +const gchar* avahi_server_get_domain(AvahiServer *s); +const gchar* avahi_server_get_host_name(AvahiServer *s); + const AvahiRecord *avahi_server_iterate(AvahiServer *s, AvahiEntryGroup *g, void **state); void avahi_server_dump(AvahiServer *s, FILE *f); @@ -151,7 +154,6 @@ void avahi_server_add_service_strlst( typedef enum { AVAHI_SUBSCRIPTION_NEW, AVAHI_SUBSCRIPTION_REMOVE, - AVAHI_SUBSCRIPTION_CHANGE } AvahiSubscriptionEvent; typedef struct AvahiSubscription AvahiSubscription; -- cgit