summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIngo Huerner <ingo.huerner@xse.de>2015-01-08 13:19:20 +0100
committerIngo Huerner <ingo.huerner@xse.de>2015-01-08 13:19:20 +0100
commite026de7ddd7ef60abb5213f046db20cf7dffcb51 (patch)
treeb3244c3df3b6b901c7b962b0f542228eee86c90b /include
parent2fc0d0f76225e8c318a5c7e9995ceda8201ec1f7 (diff)
downloadpersistence-client-library-e026de7ddd7ef60abb5213f046db20cf7dffcb51.tar.gz
Removed compiler warnings; added check for shared data if application is allowed to modify
Diffstat (limited to 'include')
-rw-r--r--include/persistence_client_library_error_def.h2
-rw-r--r--include/persistence_client_library_key.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/persistence_client_library_error_def.h b/include/persistence_client_library_error_def.h
index 7677e51..7a9d80d 100644
--- a/include/persistence_client_library_error_def.h
+++ b/include/persistence_client_library_error_def.h
@@ -119,6 +119,8 @@ extern "C" {
#define EPERS_SHUTDOWN_NO_PERMIT (-42)
/// not a trusted application,no access to persistence data
#define EPERS_SHUTDOWN_NO_TRUSTED (-43)
+/// not the responsible application to modify shared data
+#define EPERS_NOT_RESP_APP (-44)
/// requested handle is not valid. \since PCL v7.0.3
#define EPERS_INVALID_HANDLE (-1000)
diff --git a/include/persistence_client_library_key.h b/include/persistence_client_library_key.h
index e0a8889..338e3e9 100644
--- a/include/persistence_client_library_key.h
+++ b/include/persistence_client_library_key.h
@@ -298,7 +298,7 @@ int pclKeyUnRegisterNotifyOnChange( unsigned int ldbid, const char * resource_
* @return positive value (0 or greater): the bytes written;
* On error a negative value will be returned with the following error codes:
* ::EPERS_LOCKFS ::EPERS_BADPOL ::EPERS_BUFLIMIT ::EPERS_DB_VALUE_SIZE ::EPERS_DB_KEY_SIZE
- * ::EPERS_NOTIFY_SIG ::EPERS_RESOURCE_READ_ONLY
+ * ::EPERS_NOTIFY_SIG ::EPERS_RESOURCE_READ_ONLY ::EPERS_NOT_RESP_APP
*/
int pclKeyWriteData(unsigned int ldbid, const char* resource_id, unsigned int user_no, unsigned int seat_no, unsigned char* buffer, int buffer_size);