replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / csdk / security / provisioning / include / internal / otmcontextlist.h
index 81e92f8..e69de7a 100644 (file)
@@ -65,7 +65,14 @@ OCStackResult AddOTMContext(OTMContext_t* ctx, const char* addr, uint16_t port);
  *
  * @return OTMContext in case of context found, otherwise NULL.
  */
-const OTMContext_t* GetOTMContext(const char* addr, uint16_t port);
+OTMContext_t* GetOTMContext(const char* addr, uint16_t port);
+
+
+/**
+ * API to delete all OTM context from list.
+ * NOTE : This API should be invoked after OCStop API.
+ */
+void DeleteOTMContextList();
 
 #ifdef __cplusplus
 }