X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fcore.h;h=39a1db6d7f4cede07d8abfb02502059866cc610f;hb=38b45921cd1d33119f1c06979a57bcfe982e22da;hp=a41aee63bf7525f85f97c42f46d70cb04d0bdd5d;hpb=8f1c6544deb351d9df51114c7f6e5f25e026f73e;p=catta diff --git a/avahi-core/core.h b/avahi-core/core.h index a41aee6..39a1db6 100644 --- a/avahi-core/core.h +++ b/avahi-core/core.h @@ -438,7 +438,8 @@ typedef enum { AVAHI_DOMAIN_BROWSER_REGISTER_DEFAULT, /**< Browse for the default registering domain */ AVAHI_DOMAIN_BROWSER_BROWSE, /**< Browse for a list of available browsing domains */ AVAHI_DOMAIN_BROWSER_BROWSE_DEFAULT, /**< Browse for the default browsing domain */ - AVAHI_DOMAIN_BROWSER_BROWSE_LEGACY /**< Legacy browse domain - see DNS-SD spec for more information */ + AVAHI_DOMAIN_BROWSER_BROWSE_LEGACY, /**< Legacy browse domain - see DNS-SD spec for more information */ + AVAHI_DOMAIN_BROWSER_MAX } AvahiDomainBrowserType; /** A local domain browsing object. May be used to enumerate domains used on the local LAN */ @@ -500,9 +501,9 @@ typedef void (*AvahiServiceBrowserCallback)( AvahiIfIndex interface, AvahiProtocol protocol, AvahiBrowserEvent event, - const gchar *name, /**< Service name, e.g. "Lennart's Files" */ - const gchar *type, /**< DNS-SD type, e.g. "_http._tcp" */ - const gchar *domain, /**< Domain of this service, e.g. "local" */ + const gchar *name /**< Service name, e.g. "Lennart's Files" */, + const gchar *type /**< DNS-SD type, e.g. "_http._tcp" */, + const gchar *domain /**< Domain of this service, e.g. "local" */, gpointer userdata); /** Create a new AvahiServiceBrowser object. */ @@ -510,7 +511,7 @@ AvahiServiceBrowser *avahi_service_browser_new( AvahiServer *server, AvahiIfIndex interface, AvahiProtocol protocol, - const gchar *service_type, /** DNS-SD service type, e.g. "_http._tcp" */ + const gchar *service_type /** DNS-SD service type, e.g. "_http._tcp" */, const gchar *domain, AvahiServiceBrowserCallback callback, gpointer userdata);