X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fpublish.h;h=aa9eae022374970805ee669b9127d4ba154bb55c;hb=d322a943be5387a539f8f3ea3a19a7e2ed5a55a2;hp=c75c0678628be1cdbdbfc1ebe2a964e8e62aa310;hpb=424aefe8a431b79496672799dc4f4430fa935252;p=catta diff --git a/avahi-core/publish.h b/avahi-core/publish.h index c75c067..aa9eae0 100644 --- a/avahi-core/publish.h +++ b/avahi-core/publish.h @@ -208,10 +208,23 @@ int avahi_server_add_service_strlst( uint16_t port, AvahiStringList *strlst); +/** Add a subtype for an already existing service */ +int avahi_server_add_service_subtype( + AvahiServer *s, + AvahiSEntryGroup *g, + AvahiIfIndex interface, + AvahiProtocol protocol, + AvahiPublishFlags flags, + const char *name, /**< Specify the name of main service you already added here */ + const char *type, /**< Specify the main type of the service you already added here */ + const char *domain, /**< Specify the main type of the service you already added here */ + const char *subtype /**< The new subtype for the specified service */ ); + /** The type of DNS server */ typedef enum { AVAHI_DNS_SERVER_RESOLVE, /**< Unicast DNS servers for normal resolves (_domain._udp)*/ - AVAHI_DNS_SERVER_UPDATE /**< Unicast DNS servers for updates (_dns-update._udp)*/ + AVAHI_DNS_SERVER_UPDATE, /**< Unicast DNS servers for updates (_dns-update._udp)*/ + AVAHI_DNS_SERVER_MAX } AvahiDNSServerType; /** Publish the specified unicast DNS server address via mDNS. You may