Move from mulit-threaded to single-threaded dbus communication
[profile/ivi/persistence-client-library.git] / include / persistence_client_library_error_def.h
index 458af90..f23c6da 100644 (file)
  * @brief          Error definition header
  * @see
  */
+/** \ingroup GEN_PERS */
+/** \defgroup PERS_GEN_ERROR Client Library: Generic errors
+ *  \{
+ */
 
 #ifdef __cplusplus
 extern "C" {
@@ -85,19 +89,24 @@ extern "C" {
 #define EPERS_DB_VALUE_SIZE      (-29)
 /// resource is not a key
 #define EPERS_RES_NO_KEY         (-30)
-/// chnage notification signal could ne be sent
-#define EPERS_NOTIFY_SIG         (-30)
-
+/// change notification signal could ne be sent
+#define EPERS_NOTIFY_SIG         (-31)
+/// client library has not been initialized
+#define EPERS_NOT_INITIALIZED  (-32)
+// max buffer size
+#define EPERS_MAX_BUFF_SIZE      (-33)
+// failed to setup dbus mainloop
+#define EPERS_DBUS_MAINLOOP     (-34)
+// failed register lifecycle dbus
+#define EPERS_REGISTER_LIFECYCLE (-35)
+// failed register admin service dbus
+#define EPERS_REGISTER_ADMIN     (-36)
+// registration on this key is not allowed
+#define EPERS_NOTIFY_NOT_ALLOWED (-37)
 
-/**
- * @brief Main dispatching loop
- *
- * @return 0
- */
-void* dbus_main_dispatching_loop(void* dataPtr);
 
 #ifdef __cplusplus
 }
 #endif
-
+/** \} */ /* End of PERS_GEN_ERROR */
 #endif /* PERSISTENCE_CLIENT_LIBRARY_ERROR_DEF_H */