* @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
/**
- * @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.
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;
__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,
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);
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;
}
__remove_service_resolve_socket(resolve_data);
DNSSD_UNLOCK;
+ __DNSSD_LOG_FUNC_EXIT__;
}
static int __dnssd_resolve_dns_service(dnssd_handle_s *dnssd_handle,