wrap CAcloseSslConnectionFreeEndpoint method with __TIZEN__ flag
[platform/upstream/iotivity.git] / resource / csdk / connectivity / inc / ca_adapter_net_ssl.h
index 4dd2510..1bfdecc 100644 (file)
@@ -89,6 +89,7 @@ void CAsetSslCredentialsCallback(CAgetPskCredentialsHandler credCallback);
  */
 CAResult_t CAcloseSslConnection(const CAEndpoint_t *endpoint);
 
+#ifdef __TIZEN__
 /**
  * Close the DTLS session and free endpoint.
  *
@@ -99,6 +100,7 @@ CAResult_t CAcloseSslConnection(const CAEndpoint_t *endpoint);
  * @retval  ::CA_STATUS_FAILED Operation failed.
  */
 CAResult_t CAcloseSslConnectionFreeEndpoint(CAEndpoint_t *endpoint);
+#endif //__TIZEN__
 
 /**
  * initialize mbedTLS library and other necessary initialization.