projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git]
/
resource
/
csdk
/
security
/
include
/
internal
/
secureresourcemanager.h
diff --git
a/resource/csdk/security/include/internal/secureresourcemanager.h
b/resource/csdk/security/include/internal/secureresourcemanager.h
index
7976452
..
cc9c531
100644
(file)
--- 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);
/**
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)
* 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)