diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/persistence_client_library_file.h | 9 | ||||
-rw-r--r-- | include/persistence_client_library_key.h | 4 |
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" |