X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fcore.h;h=1cf35fc2f2cacea5955143c622eee0e40607d39d;hb=77e36045b7f13654e5dad8b80b3224dd06daede0;hp=99315898a8ac496047b29f43d3b39a5347cffeae;hpb=ee4cc41fafaac0a2d76c1c791f6d43a6b6d937a7;p=catta diff --git a/avahi-core/core.h b/avahi-core/core.h index 9931589..1cf35fc 100644 --- a/avahi-core/core.h +++ b/avahi-core/core.h @@ -24,11 +24,11 @@ /** \file core.h The Avahi Multicast DNS and DNS Service Discovery implmentation. */ -/** \example publish-service.c Example how to register a DNS-SD +/** \example core-publish-service.c Example how to register a DNS-SD * service using an embedded mDNS stack. It behaves like a network * printer registering both an IPP and a BSD LPR service. */ -/** \example browse-services.c Example how to browse for DNS-SD +/** \example core-browse-services.c Example how to browse for DNS-SD * services using an embedded mDNS stack. */ #include @@ -49,8 +49,6 @@ AVAHI_C_DECL_END #include #include -#include -#include #include #include @@ -508,7 +506,7 @@ typedef void (*AvahiSServiceResolverCallback)( AvahiSServiceResolver *r, AvahiIfIndex interface, AvahiProtocol protocol, - AvahiResolverEvent event, + AvahiResolverEvent event, /**< Is AVAHI_RESOLVER_FOUND when the service was resolved successfully, and everytime it changes. Is AVAHI_RESOLVER_TIMOUT when the service failed to resolve or disappeared. */ const char *name, /**< Service name */ const char *type, /**< Service Type */ const char *domain, @@ -518,7 +516,7 @@ typedef void (*AvahiSServiceResolverCallback)( AvahiStringList *txt, /**< TXT record data */ void* userdata); -/** Create a new AvahiSServiceResolver object */ +/** Create a new AvahiSServiceResolver object. The specified callback function will be called with the resolved service data. */ AvahiSServiceResolver *avahi_s_service_resolver_new( AvahiServer *server, AvahiIfIndex interface,