Fix @detail comments for dnssd_service_add_txt_record 02/116802/1
authorchleun.moon <chleun.moon@samsung.com>
Tue, 28 Feb 2017 09:02:11 +0000 (18:02 +0900)
committerchleun.moon <chleun.moon@samsung.com>
Tue, 28 Feb 2017 09:02:19 +0000 (18:02 +0900)
dnssd_service_add_txt_record() has been fixed to allow to call before dnssd_register_local_service()

Change-Id: Iabbb14f825ab6f50bb5f032b56810a76b509150e
Signed-off-by: cheoleun <chleun.moon@samsung.com>
include/dns-sd.h

index 3fe6b28cb2ba02d08818d2fbe681a4274906fa5a..684e2b34457b0c4dfe6eee9981faf238ba41719d 100644 (file)
@@ -224,14 +224,13 @@ int dnssd_service_set_port(dnssd_service_h local_service, int port);
 
 /**
  * @brief Adds the TXT record.
- * @details TXT record should be added after registering local service using
- *          dnssd_register_local_service(). TXT record gives additional
- *          information about the service. Some services discovered via
- *          dnssd_start_browsing_service() may need more than just IP address
- *          and port number to completely identify the service instance. For
- *          example, A web server typically has multiple pages, each identified
- *          by its own URL. So additional data is stored in a TXT record. Check
- *          Section 6 of http://files.dns-sd.org/draft-cheshire-dnsext-dns-sd.txt
+ * @details TXT record gives additional information about the service.
+ *          Some services discovered via dnssd_start_browsing_service() may
+ *          need more than just IP address and port number to completely
+ *          identify the service instance. For example, A web server typically
+ *          has multiple pages, each identified by its own URL.
+ *          So additional data is stored in a TXT record. Check Section 6 of
+ *          http://files.dns-sd.org/draft-cheshire-dnsext-dns-sd.txt
  *          for details. TXT record of known service types can be found at
  *          http://www.dns-sd.org/ServiceTypes.html. TXT record is stored in a
  *          structured form using key/value pairs.