summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIngo Huerner <ingo.huerner@xse.de>2014-11-07 14:21:27 +0100
committerIngo Huerner <ingo.huerner@xse.de>2014-11-07 14:21:27 +0100
commita318b50bdedb370a6cf83a87720f1bd92f132eb3 (patch)
tree97931c02933788a24a46f162092d4b1389d80817 /include
parentadbfc3e8b2fa6ab4962667624c008b36e24d7bf9 (diff)
downloadpersistence-client-library-a318b50bdedb370a6cf83a87720f1bd92f132eb3.tar.gz
Rework of application security check; if a not trusted application tries to access persistent data, the error code EPERS_SHUTDOWN_NO_TRUSTED will be returned
Diffstat (limited to 'include')
-rw-r--r--include/persistence_client_library_error_def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/persistence_client_library_error_def.h b/include/persistence_client_library_error_def.h
index f8e184b..7677e51 100644
--- a/include/persistence_client_library_error_def.h
+++ b/include/persistence_client_library_error_def.h
@@ -19,6 +19,7 @@
*
* @par change history
* Date Author Version
+ * 07/11/14 Ingo Huerner 1.0.1 - Added trusted application error
* 29/04/14 Ingo Huerner 1.0.0 - Added cancel shutdown errors
*
*/
@@ -116,6 +117,8 @@ extern "C" {
#define EPERS_SHUTDOWN_MAX_CANCEL (-40)
/// not permitted to use this function
#define EPERS_SHUTDOWN_NO_PERMIT (-42)
+/// not a trusted application,no access to persistence data
+#define EPERS_SHUTDOWN_NO_TRUSTED (-43)
/// requested handle is not valid. \since PCL v7.0.3
#define EPERS_INVALID_HANDLE (-1000)