summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIngo Huerner <ingo.huerner@xse.de>2013-11-14 14:04:56 +0100
committerIngo Huerner <ingo.huerner@xse.de>2013-11-14 14:04:56 +0100
commit2f2acbe254924c9b967ab7143cb92c04f043a593 (patch)
treef3f5de23ac3426ea1f958a5dd6bdf905d9d66799 /include
parent883ee527415d6e49e202a8e0532266db46530bbf (diff)
downloadpersistence-client-library-2f2acbe254924c9b967ab7143cb92c04f043a593.tar.gz
Move from mulit-threaded to single-threaded dbus communication
Diffstat (limited to 'include')
-rw-r--r--include/persistence_client_library_file.h9
-rw-r--r--include/persistence_client_library_key.h4
2 files changed, 8 insertions, 5 deletions
diff --git a/include/persistence_client_library_file.h b/include/persistence_client_library_file.h
index 8ffd48b..0df35c4 100644
--- a/include/persistence_client_library_file.h
+++ b/include/persistence_client_library_file.h
@@ -31,7 +31,7 @@ extern "C" {
#endif
-#define PERSIST_FILEAPI_INTERFACE_VERSION (0x03000000U)
+#define PERSIST_FILEAPI_INTERFACE_VERSION (0x03010000U)
#include "persistence_client_library.h"
@@ -184,6 +184,8 @@ int pclFileWriteData(int fd, const void * buffer, int buffer_size);
* @param path the path to the file
* @param size the size of the path
*
+ * @note the allocated memory for the path string will be freed in tpclFileReleasePath
+ *
* @return positive value on success, which must be used when pclFileReleasePath will be called
* On error a negative value will be returned with th follwoing error codes:
* EPERS_LOCKFS or EPERS_COMMON
@@ -195,13 +197,14 @@ int pclFileCreatePath(unsigned int ldbid, const char* resource_id, unsigned int
* @brief release a file path
*
* @param pathHandle the path to the file
- * @param path the path
+ *
+ * @note the allocated memory in pclFileCreatePath for the path will freed in the function
*
* @return positive value: success;
* On error a negative value will be returned with th follwoing error codes:
* EPERS_LOCKFS or EPERS_COMMON
*/
-int pclFileReleasePath(int pathPandle, char* path);
+int pclFileReleasePath(int pathPandle);
/** \} */
diff --git a/include/persistence_client_library_key.h b/include/persistence_client_library_key.h
index 649b449..facad06 100644
--- a/include/persistence_client_library_key.h
+++ b/include/persistence_client_library_key.h
@@ -22,7 +22,7 @@
* 27/03/13 Ingo Hürner 4.0.0 - Add registration for callback notification
* 28/05/13 Ingo Hürner 5.0.0 - Add pclInitLibrary(), pcl DeInitLibrary() incl. shutdown notification
* 05/06/13 Oliver Bach 6.0.0 - Rework of Init functions
- * 04/11/13 Ingo Hürner 7.0.0 - Added functions to unregister notifications
+ * 04/11/13 Ingo Hürner 6.1.0 - Added functions to unregister notifications
*/
/** \ingroup GEN_PERS */
/** \defgroup PERS_KEYVALUE Client: Key-value access
@@ -40,7 +40,7 @@ extern "C" {
* \{
*/
-#define PERSIST_KEYVALUEAPI_INTERFACE_VERSION (0x06020000U)
+#define PERSIST_KEYVALUEAPI_INTERFACE_VERSION (0x06010000U)
#include "persistence_client_library.h"