replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / csdk / security / include / internal / secureresourcemanager.h
index 7976452..cc9c531 100644 (file)
@@ -105,6 +105,12 @@ void SRMRegisterProvisioningResponseHandler(SPResponseCallback respHandler);
 bool SRMIsSecurityResourceURI(const char* uri);
 
 /**
+ * Check whether persistent storage is valid
+ * @return OC_STACK_OK if valid, other errors otherwise;
+ */
+OCStackResult CheckPersistentStorage(OCPersistentStorage* persistentStorageHandler);
+
+/**
  * Get the resource type from the URI.
  * @param   uri [IN] Pointers to security resource URI.
  * @return  SVR type (note that "NOT_A_SVR_RESOURCE" is returned if not a SVR)