summaryrefslogtreecommitdiffstats
path: root/avahi-core/publish.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-11 00:18:57 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-11 00:18:57 +0000
commitc1d9b9cffd6f756339c1d98a2d2914d49195cb41 (patch)
treebb10933474096a1f6913b3b83fbb3a4bda0878c0 /avahi-core/publish.h
parentfa8febc102b08ad9c5ff4732dfa5dbfda7361874 (diff)
add support for service subtypes: avahi_server_add_service_subtype()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@714 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/publish.h')
-rw-r--r--avahi-core/publish.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/avahi-core/publish.h b/avahi-core/publish.h
index 4143bb3..aa9eae0 100644
--- a/avahi-core/publish.h
+++ b/avahi-core/publish.h
@@ -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)*/