summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIngo Huerner <ingo.huerner@xse.de>2014-07-02 15:46:13 +0200
committerIngo Huerner <ingo.huerner@xse.de>2014-07-02 15:46:13 +0200
commitb13802972ee82370c33a14150e480220761cac75 (patch)
tree4b239280db49e752b2c89565dffd6f16120eae5a /include
parent6ba53c043395da1c17a51dbea6ff7432731a9944 (diff)
downloadpersistence-client-library-b13802972ee82370c33a14150e480220761cac75.tar.gz
Protected global variables with mutex; minor optimizations; corrected doxygen documentation
Diffstat (limited to 'include')
-rw-r--r--include/persistence_client_library.h22
1 files changed, 16 insertions, 6 deletions
diff --git a/include/persistence_client_library.h b/include/persistence_client_library.h
index f7a835c..b63ff0f 100644
--- a/include/persistence_client_library.h
+++ b/include/persistence_client_library.h
@@ -41,12 +41,22 @@
* via a key-value and a file interface.<br>
* It also provide a plugin API to allow users to extend the client library with custom storage solutions.
*
- * @section Custom plugin configuration file
+ * @section doc Further documentation
+ * @subsection docUser User Manual
+ * There is a a user manual for the client library available,
+ * see: http://docs.projects.genivi.org/persistence-client-library/1.0/GENIVI_Persistence_Client_Library_UserManual.pdf
+ *
+ * @subsection docArch Architecture Manual
+ * For more information about the persistence architecture,
+ * see: http://docs.projects.genivi.org/persistence-client-library/1.0/GENIVI_Persistence_ArchitectureDocumentation.pdf
+ *
+ *
+ * @section plugin Custom plugin configuration file
* @attention
* The plugin configuration file has been changed!
*
* The configuration file has now the following format<br>
- * <predefinedPluginName> <pathAndLibraryName> <loadingType> <initType>
+ * &lt;predefinedPluginName&gt; &lt;pathAndLibraryName&gt; &lt;loadingType&gt; &lt;initType&gt;
*
* <b>Predefined plugin name</b><br>
* Use one of the following names:
@@ -125,7 +135,7 @@ extern "C" {
*
* @return positive value: success;
* On error a negative value will be returned with the following error codes:
- * ::EPERS_NOT_INITIALIZED, ::EPERS_INIT_DBUS_MAINLOOP,
+ * ::EPERS_NOT_INITIALIZED, ::EPERS_DBUS_MAINLOOP,
* ::EPERS_REGISTER_LIFECYCLE, ::EPERS_REGISTER_ADMIN
*/
int pclInitLibrary(const char* appname, int shutdownMode);
@@ -159,12 +169,12 @@ int pclDeinitLibrary(void);
* In the next lifecycle the application can store data again until the limit above
* has been reached.
*
- * @parm PCL_SHUTDOWN for write back data when shutdown is requested,
- * and PCL_SHUTDOWN_CANEL when shutdown cancel request has been received.
+ * @param shutdown PCL_SHUTDOWN for write back data when shutdown is requested,
+ * and PCL_SHUTDOWN_CANEL when shutdown cancel request has been received.
*
* @return positive value: success;
* On error a negative value will be returned with the following error codes:
- * ::EPERS_COMMON, ::EPERS_MAX_CANCEL_SHUTDOWN, ::EPERS_SHTDWN_NO_PERMIT
+ * ::EPERS_COMMON, ::EPERS_SHUTDOWN_MAX_CANCEL, ::EPERS_SHUTDOWN_NO_PERMIT
*/
int pclLifecycleSet(int shutdown);