From 83735b4aa67748253b2e3df02847ffb86c131085 Mon Sep 17 00:00:00 2001 From: Vinicius Gomes Date: Thu, 3 Apr 2008 17:37:38 +0000 Subject: hcid: creating the device object when the pair is initiated by the remote device. --- hcid/adapter.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hcid/adapter.h') diff --git a/hcid/adapter.h b/hcid/adapter.h index 9da56d3e..280c1d1c 100644 --- a/hcid/adapter.h +++ b/hcid/adapter.h @@ -115,7 +115,10 @@ struct adapter { dbus_bool_t adapter_init(DBusConnection *conn, const char *path); -struct device *adapter_get_device(struct adapter *adapter, const char *dest); +struct device *adapter_get_device(DBusConnection *conn, + struct adapter *adapter, const gchar *address); + +struct device *adapter_find_device(struct adapter *adapter, const char *dest); const char *major_class_str(uint32_t class); -- cgit