summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-07-30 20:12:20 +0000
committerLennart Poettering <lennart@poettering.net>2007-07-30 20:12:20 +0000
commitb671bd2201bf8e0a0af9f8da72ae80c3218d3000 (patch)
treeff7fcd8c38fd04bb0e7e90b86e94bd0f433c2d20
parent672a9ae57083ba3022dad773e49792bc11c75e1c (diff)
Document in avahi_entry_group_add_service() that Avahi service names need to be shorter than 63 characters, as requested by RĂ©mi Cardona
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1502 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-client/publish.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-client/publish.h b/avahi-client/publish.h
index 1e40b18..1efc85f 100644
--- a/avahi-client/publish.h
+++ b/avahi-client/publish.h
@@ -90,7 +90,7 @@ int avahi_entry_group_add_service(
AvahiIfIndex interface /**< The interface this service shall be announced on. We recommend to pass AVAHI_IF_UNSPEC here, to announce on all interfaces. */,
AvahiProtocol protocol /**< The protocol this service shall be announced with, i.e. MDNS over IPV4 or MDNS over IPV6. We recommend to pass AVAHI_PROTO_UNSPEC here, to announce this service on all protocols the daemon supports. */,
AvahiPublishFlags flags /**< Usually 0, unless you know what you do */,
- const char *name /**< The name for the new service. May not be NULL. */,
+ const char *name /**< The name for the new service. Must be valid service name. i.e. a string shorter than 63 characters and valid UTF-8. May not be NULL. */,
const char *type /**< The service type for the new service, such as _http._tcp. May not be NULL. */,
const char *domain /**< The domain to register this domain in. We recommend to pass NULL here, to let the daemon decide */,
const char *host /**< The host this services is residing on. We recommend to pass NULL here, the daemon will than automatically insert the local host name in that case */,