summaryrefslogtreecommitdiff
path: root/include/persistence_client_library_key.h
diff options
context:
space:
mode:
authorIngo Huerner <ingo_huerner@mentor.com>2015-05-07 17:57:59 +0200
committerIngo Huerner <ingo_huerner@mentor.com>2015-05-07 17:57:59 +0200
commitf64412a688e9dfd8e0ced460168fd9d4e3539ff2 (patch)
tree7e1a74701fc93a768af05e2951c6188a8be3e792 /include/persistence_client_library_key.h
parent10de54dcd68ca69da6ac7b504ac344678c3911be (diff)
downloadpersistence-client-library-f64412a688e9dfd8e0ced460168fd9d4e3539ff2.tar.gz
Updated header documentation; fixed a problem when dbus connection is NULL
Diffstat (limited to 'include/persistence_client_library_key.h')
-rw-r--r--include/persistence_client_library_key.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/persistence_client_library_key.h b/include/persistence_client_library_key.h
index 37de33e..8493103 100644
--- a/include/persistence_client_library_key.h
+++ b/include/persistence_client_library_key.h
@@ -222,7 +222,7 @@ int pclKeyHandleUnRegisterNotifyOnChange(int key_handle, pclChangeNotifyCallback
* @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_MAX_BUFF_SIZE ::EPERS_NOTIFY_SIG ::EPERS_DB_VALUE_SIZE ::EPERS_DB_KEY_SIZE
- * ::EPERS_NOPRCTABLE ::EPERS_DB_VALUE_SIZE ::EPERS_RESOURCE_READ_ONLY
+ * ::EPERS_NOPRCTABLE ::EPERS_DB_VALUE_SIZE ::EPERS_RESOURCE_READ_ONLY ::EPERS_SHUTDOWN_NO_TRUSTED ::EPERS_COMMON ::EPERS_NOT_INITIALIZED
*/
int pclKeyHandleWriteData(int key_handle, unsigned char* buffer, int buffer_size);
@@ -240,7 +240,9 @@ int pclKeyHandleWriteData(int key_handle, unsigned char* buffer, int buffer_size
*
* @return positive value (0 or greater): the bytes read;
* On error a negative value will be returned with th following error codes:
- * ::EPERS_LOCKFS ::EPERS_NOT_INITIALIZED ::EPERS_BADPOL ::EPERS_NOPLUGINFUNCT
+ * ::EPERS_LOCKFS ::EPERS_NOT_INITIALIZED ::EPERS_BADPOL ::EPERS_NOPLUGINFUNCT ::EPERS_SHUTDOWN_NO_TRUSTED
+ * ::EPERS_COMMON
+ *
*/
int pclKeyReadData(unsigned int ldbid, const char* resource_id, unsigned int user_no, unsigned int seat_no, unsigned char* buffer, int buffer_size);
@@ -299,7 +301,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_NOT_RESP_APP
+ * ::EPERS_NOTIFY_SIG ::EPERS_RESOURCE_READ_ONLY ::EPERS_NOT_RESP_APP ::EPERS_SHUTDOWN_NO_TRUSTED
*/
int pclKeyWriteData(unsigned int ldbid, const char* resource_id, unsigned int user_no, unsigned int seat_no, unsigned char* buffer, int buffer_size);