From 1ffedb586bd2fb6daa3970304fac7c5b415cd38f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 25 Sep 2005 20:12:40 +0000 Subject: * split off lookup.h and publish.h from core.h * implement wide-area DNS-SD * if multiple clients query the same records, only start the query packet sequence once * implement recursive CNAME queries * add support for resolving services without TXT or A/AAAA records * enlarge resolving timeouts to 5s * implement new browse/resolving events CACHE_EXHAUSTED/ALL_FOR_NOW * add support for resolving services without name. (i.e. for normal SRV records) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@608 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/server.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'avahi-core/server.h') diff --git a/avahi-core/server.h b/avahi-core/server.h index 7384e98..600e442 100644 --- a/avahi-core/server.h +++ b/avahi-core/server.h @@ -37,6 +37,8 @@ typedef struct AvahiEntry AvahiEntry; #include "dns.h" #include "rrlist.h" #include "hashmap.h" +#include "wide-area.h" +#include "multicast-lookup.h" #define AVAHI_MAX_LEGACY_UNICAST_REFLECT_SLOTS 100 @@ -138,9 +140,14 @@ struct AvahiServer { AvahiLegacyUnicastReflectSlot **legacy_unicast_reflect_slots; uint16_t legacy_unicast_reflect_id; + /* The last error code */ int error; + /* The local service cookie */ uint32_t local_service_cookie; + + AvahiMulticastLookupEngine *multicast_lookup_engine; + AvahiWideAreaLookupEngine *wide_area_lookup_engine; }; int avahi_server_entry_match_interface(AvahiEntry *e, AvahiInterface *i); -- cgit