[PATCH 28/32] Changed HEALTH_MANAGER_INTERFACE to HEALTH_MANAGER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 health/hdp.c       |    6 +++---
 health/hdp_types.h |    7 ++++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/health/hdp.c b/health/hdp.c
index bb03ffa..58d0394 100644
--- a/health/hdp.c
+++ b/health/hdp.c
@@ -964,11 +964,11 @@ int hdp_adapter_register(DBusConnection *conn, struct btd_adapter *btd_adapter)
 	adapter = g_new0(struct hdp_adapter, 1);
 
 	DBG("HDP init");
-	if (!g_dbus_register_interface(conn, path, HEALTH_MANAGER_INTERFACE,
+	if (!g_dbus_register_interface(conn, path, HEALTH_MANAGER,
 					hdp_methods, NULL, NULL,
 					adapter, hdp_path_unregister)) {
 		error("Failed to register %s interface to %s",
-						HEALTH_MANAGER_INTERFACE, path);
+						HEALTH_MANAGER, path);
 		g_free(adapter);
 		return -1;
 	}
@@ -988,7 +988,7 @@ void hdp_adapter_unregister(struct btd_adapter *btd_adapter)
 
 	g_dbus_unregister_interface(adapter->conn,
 			adapter_get_path(btd_adapter),
-			HEALTH_MANAGER_INTERFACE);
+			HEALTH_MANAGER);
 	dbus_connection_unref(adapter->conn);
 	btd_adapter_unref(adapter->btd_adapter);
 	adapters = g_slist_remove(adapters, adapter);
diff --git a/health/hdp_types.h b/health/hdp_types.h
index abbfbf3..aff116e 100644
--- a/health/hdp_types.h
+++ b/health/hdp_types.h
@@ -42,9 +42,10 @@
 
 #define HDP_ERROR		g_quark_from_static_string("hdp-error-quark")
 
-#define HEALTH_MANAGER_INTERFACE	"org.bluez.HealthAdapter"
-#define HEALTH_DEVICE			"org.bluez.HealthDevice"
-#define HEALTH_LINK			"org.bluez.HealthLink"
+#define HEALTH_MANAGER		"org.bluez.HealthAdapter"
+#define HEALTH_DEVICE		"org.bluez.HealthDevice"
+#define HEALTH_LINK		"org.bluez.HealthLink"
+#define HEALTH_AGENT		"org.bluez.HealthAgent"
 
 #define HDP_NO_PREFERENCE_DC	0x00
 #define HDP_RELIABLE_DC		0x01
-- 
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux