# create tag version information
m4_define([pers_client_library_tag_version_major], [0])
-m4_define([pers_client_library_tag_version_minor], [4])
+m4_define([pers_client_library_tag_version_minor], [5])
m4_define([pers_client_library_tag_version_micro], [0])
m4_define([pers_client_library_tag_version], [pers_client_library_tag_version_major().pers_client_library_tag_version_minor().pers_client_library_tag_version_micro()])
# create library version information
m4_define([pers_client_library_version_current], [3])
-m4_define([pers_client_library_version_revision], [0])
+m4_define([pers_client_library_version_revision], [1])
m4_define([pers_client_library_version_age], [0])
m4_define([pers_client_library_version], [pers_client_library_version_current():pers_client_library_version_revision():pers_client_library_version_age()])
*
* @param ldbid logical database ID
* @param resource_id the resource ID
- * @param user_no the user ID
+ * @param user_no the user ID; user_no=0 can not be used as user-ID beacause ‘0’ is defined as System/node
* @param seat_no the seat number
*
* @return positive value: the POSIX file descriptor;
*
* @param ldbid logical database ID
* @param resource_id the resource ID
- * @param user_no the user ID
+ * @param user_no the user ID; user_no=0 can not be used as user-ID beacause ‘0’ is defined as System/node
* @param seat_no the seat number
*
* @return positive value: success;
*
* @param ldbid logical database ID
* @param resource_id the resource ID
- * @param user_no the user ID
+ * @param user_no the user ID; user_no=0 can not be used as user-ID beacause ‘0’ is defined as System/node
* @param seat_no the seat number
*
* @return positive value: success; On error a negative value will be returned with th follwoing error codes:
*
* @param ldbid logical database ID
* @param resource_id the resource ID
- * @param user_no the user ID
+ * @param user_no the user ID; user_no=0 can not be used as user-ID beacause ‘0’ is defined as System/node
* @param seat_no the seat number
*
* @return positive value: the size; On error a negative value will be returned with th follwoing error codes:
*
* @param ldbid logical database ID
* @param resource_id the resource ID
- * @param user_no the user ID
+ * @param user_no the user ID; user_no=0 can not be used as user-ID beacause ‘0’ is defined as System/node
* @param seat_no the seat number
*
* @return positive value: the key handle to access the value;
*
* @param ldbid logical database ID
* @param resource_id the resource ID
- * @param user_no the user ID
+ * @param user_no the user ID; user_no=0 can not be used as user-ID beacause ‘0’ is defined as System/node
* @param seat_no the seat number
* @param buffer the buffer to read the persistent data
* @param buffer_size size of buffer for reading
*
* @param ldbid logical database ID of the resource to monitor
* @param resource_id the resource ID
- * @param user_no the user ID
+ * @param user_no the user ID; user_no=0 can not be used as user-ID beacause ‘0’ is defined as System/node
* @param seat_no the seat number
*
* @return positive value: registration OK; On error a negative value will be returned with th follwoing error codes:
*
* @param ldbid logical database ID
* @param resource_id the resource ID
- * @param user_no the user ID
+ * @param user_no the user ID; user_no=0 can not be used as user-ID beacause ‘0’ is defined as System/node
* @param seat_no the seat number
* @param buffer the buffer containing the persistent data to write
* @param buffer_size the number of bytes to write (default max size is set to 16kB)
-#define ENABLE_DBUS_INTERFACE 0
+#define ENABLE_DBUS_INTERFACE 1
extern char* __progname;
// register for messages
if ( (TRUE==dbus_connection_register_object_path(conn, "/org/genivi/persistence/adminconsumer", &vtable, userData))
- && (TRUE==dbus_connection_register_object_path(conn, "/com/contiautomotive/NodeStateManager/LifecycleConsumer", &vtable2, userData))
+ && (TRUE==dbus_connection_register_object_path(conn, "/org/genivi/NodeStateManager/LifeCycleConsumer", &vtable2, userData))
&& (TRUE==dbus_connection_register_fallback(conn, "/", &vtableFallback, userData)) )
{
if (TRUE!=dbus_connection_set_watch_functions(conn, addWatch, removeWatch, watchToggled, NULL, NULL))
while (0!=bContinue);
}
dbus_connection_unregister_object_path(conn, "/org/genivi/persistence/adminconsumer");
- dbus_connection_unregister_object_path(conn, "/com/contiautomotive/NodeStateManager/LifecycleConsumer");
+ dbus_connection_unregister_object_path(conn, "/org/genivi/NodeStateManager/LifeCycleConsumer");
dbus_connection_unregister_object_path(conn, "/");
}
close(gEfds);
DBusHandlerResult result = DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
//printf("handleObjectPathMessage '%s' -> '%s'\n", dbus_message_get_interface(message), dbus_message_get_member(message));
- if((0==strncmp("com.contiautomotive.NodeStateManager.LifecycleConsumer", dbus_message_get_interface(message), 20)))
+ if((0==strncmp("org.genivi.NodeStateManager.LifeCycleConsumer", dbus_message_get_interface(message), 20)))
{
- if((0==strncmp("NSMLifecycleRequest", dbus_message_get_member(message), 18)))
+ if((0==strncmp("LifecycleRequest", dbus_message_get_member(message), 18)))
{
result = msg_lifecycleRequest(connection, message);
}
dbus_error_init (&error);
DBusConnection* conn = get_dbus_connection();
- const char* objName = "/com/contiautomotive/NodeStateManager/LifecycleConsumer";
+ const char* objName = "/org/genivi/NodeStateManager/LifeCycleConsumer";
const char* busName = dbus_bus_get_unique_name(conn);
- DBusMessage* message = dbus_message_new_method_call("com.contiautomotive.NodeStateManager.Consumer", // destination
- "/com/contiautomotive/NodeStateManager/Consumer", // path
- "com.contiautomotive.NodeStateManager.Consumer", // interface
+ DBusMessage* message = dbus_message_new_method_call("org.genivi.NodeStateManager.Consumer", // destination
+ "/org/genivi/NodeStateManager/Consumer", // path
+ "org.genivi.NodeStateManager.Consumer", // interface
method); // method
if(message != NULL)
{
DBusConnection* conn = get_dbus_connection();
- DBusMessage* message = dbus_message_new_method_call("com.contiautomotive.NodeStateManager.Consumer", // destination
- "/com/contiautomotive/NodeStateManager/Consumer", // path
- "com.contiautomotive.NodeStateManager.Consumer", // interface
+ DBusMessage* message = dbus_message_new_method_call("org.genivi.NodeStateManager.Consumer", // destination
+ "/org/genivi/NodeStateManager/Consumer", // path
+ "org.genivi.NodeStateManager.Consumer", // interface
method); // method
if(message != NULL)
{