X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Fcsdk%2Fsecurity%2Finclude%2Finternal%2Fsecureresourcemanager.h;h=cc9c531e62307d6e7978bdab8088f54e29a5e207;hb=3c093548382bb2542c87a67e6e5fa32552c29cb3;hp=7976452be8042c6b1882f6f3d73209babc43ec43;hpb=edcfc3d2329da7b914771c0dcff5f42c9b74fd93;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/csdk/security/include/internal/secureresourcemanager.h b/resource/csdk/security/include/internal/secureresourcemanager.h index 7976452..cc9c531 100644 --- a/resource/csdk/security/include/internal/secureresourcemanager.h +++ b/resource/csdk/security/include/internal/secureresourcemanager.h @@ -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)