]> git.meshlink.io Git - catta/blobdiff - avahi-core/publish.h
add support for service subtypes: avahi_server_add_service_subtype()
[catta] / avahi-core / publish.h
index 4143bb35e4689fce7d1bca91f4a1e3abbe7b599e..aa9eae022374970805ee669b9127d4ba154bb55c 100644 (file)
@@ -208,6 +208,18 @@ 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)*/