From f64412a688e9dfd8e0ced460168fd9d4e3539ff2 Mon Sep 17 00:00:00 2001 From: Ingo Huerner Date: Thu, 7 May 2015 17:57:59 +0200 Subject: Updated header documentation; fixed a problem when dbus connection is NULL --- include/persistence_client_library_key.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/persistence_client_library_key.h') 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); -- cgit v1.2.1