Modify the link to upnp spec 47/321047/1 accepted/tizen_9.0_unified accepted/tizen/9.0/unified/20241129.021446
authorhyunuk.tak <hyunuk.tak@samsung.com>
Wed, 27 Nov 2024 04:48:45 +0000 (13:48 +0900)
committerhyunuk.tak <hyunuk.tak@samsung.com>
Wed, 27 Nov 2024 04:48:48 +0000 (13:48 +0900)
Change-Id: I5e812a78f398a5410b92b40c6bb28f99c605bf3c
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
include/ssdp.h
src/dns-sd/dns-sd.c

index 2aa77b50e4bd0fd9b38532f9bef61dbc7d2e7ad5..64cb04d6fd4387dd4976f2f47cc96bd333b4fc58 100644 (file)
@@ -123,7 +123,7 @@ int ssdp_deinitialize(void);
  * @brief Creates a SSDP local service handle.
  * @since_tizen 3.0
  * @remarks You must release @a local_service using ssdp_destroy_local_service().
- * @param[in] target The SSDP local service's target. It may be a device type or a service type specified in UPnP forum (http://upnp.org)
+ * @param[in] target The SSDP local service's target. It may be a device type or a service type specified in UPnP standard (https://openconnectivity.org/developer/specifications/upnp-resources/upnp/)
  * @param[out] local_service The SSDP local service handle
  * @return @c 0 on success,
  *         otherwise negative error value
@@ -156,7 +156,7 @@ int ssdp_destroy_local_service(ssdp_service_h local_service);
 
 
 /**
- * @brief Sets the USN (Unique Service Name) of SSDP local service. The USN format is specified in UPnP forum (http://upnp.org).
+ * @brief Sets the USN (Unique Service Name) of SSDP local service. The USN format is specified in UPnP standard (https://openconnectivity.org/developer/specifications/upnp-resources/upnp/).
  * @since_tizen 3.0
  * @remarks You must pass only unregistered @a local_service created using ssdp_create_local_service().
  *          If @a local_service is already registered, you cannot set @a usn.
index 299709cc2283c4bb1b4cb8cb01e688f3e0f6cea8..81cd034f0d5f109e4b2138aa57eacb56ab779449 100644 (file)
@@ -1187,6 +1187,7 @@ static void __dnssd_getaddrinfo_reply_cb(DNSServiceRef sd_ref,
                const struct sockaddr *address, unsigned int ttl,
                void *user_data)
 {
+       __DNSSD_LOG_FUNC_ENTER__;
        DNSSD_LOCK;
        dnssd_handle_s *dnssd_handle = NULL;
        dnssd_handle_s *local_handle = NULL;
@@ -1243,6 +1244,7 @@ static void __dnssd_getaddrinfo_reply_cb(DNSServiceRef sd_ref,
 
        __remove_service_getaddrinfo_socket(local_handle);
        DNSSD_UNLOCK;
+       __DNSSD_LOG_FUNC_EXIT__;
 }
 
 static dnssd_handle_s *__create_found_service(dnssd_handle_s *dnssd_handle, dnssd_type_e op_type,
@@ -1398,6 +1400,7 @@ static void __dnssd_resolve_reply_cb(DNSServiceRef sd_ref, unsigned int flags,
                unsigned short port, unsigned short txt_len,
                const unsigned char *txt_record, void *user_data)
 {
+       __DNSSD_LOG_FUNC_ENTER__;
        DNSSD_LOCK;
        resolve_reply_data *resolve_data = user_data;
        DNSSD_LOGD("Received Resolve Reply[%p]", resolve_data);
@@ -1405,12 +1408,14 @@ static void __dnssd_resolve_reply_cb(DNSServiceRef sd_ref, unsigned int flags,
        if (flags & kDNSServiceFlagsMoreComing) {
                DNSSD_LOGD("More results are queued");
                DNSSD_UNLOCK;
+               __DNSSD_LOG_FUNC_EXIT__;
                return;
        }
 
        if (__dnssd_check_resolve_reply_data_validity(resolve_data) == NULL) {
                DNSSD_LOGD("Invalid resolve_data[%p]", resolve_data);
                DNSSD_UNLOCK;
+               __DNSSD_LOG_FUNC_EXIT__;
                return;
        }
 
@@ -1421,6 +1426,7 @@ static void __dnssd_resolve_reply_cb(DNSServiceRef sd_ref, unsigned int flags,
 
        __remove_service_resolve_socket(resolve_data);
        DNSSD_UNLOCK;
+       __DNSSD_LOG_FUNC_EXIT__;
 }
 
 static int __dnssd_resolve_dns_service(dnssd_handle_s *dnssd_handle,