summaryrefslogtreecommitdiffstats
path: root/network/manager.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-09 14:11:16 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-09 15:13:28 +0200
commit548026e08bd9b83b3685d515a916e2cf674184f3 (patch)
tree75f707ae2a4b825ae7f60cef44f54a74579e21a0 /network/manager.c
parent99c24bafe1619e6ace7e89be2ddea2e8f2eaf98f (diff)
Make device driver probe calls take UUID's instead of full records
This is preparation for allowing the device object to be correctly set up even when we don't have the full service records but only the remote UUID's.
Diffstat (limited to 'network/manager.c')
-rw-r--r--network/manager.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/network/manager.c b/network/manager.c
index 25c95837..564af2ad 100644
--- a/network/manager.c
+++ b/network/manager.c
@@ -191,8 +191,7 @@ done:
conf.security ? "true" : "false");
}
-static int network_probe(struct btd_device *device, GSList *records,
- uint16_t id)
+static int network_probe(struct btd_device *device, GSList *uuids, uint16_t id)
{
struct btd_adapter *adapter = device_get_adapter(device);
const gchar *path = device_get_path(device);
@@ -215,9 +214,9 @@ static void network_remove(struct btd_device *device, uint16_t id)
connection_unregister(path, id);
}
-static int panu_probe(struct btd_device *device, GSList *records)
+static int panu_probe(struct btd_device *device, GSList *uuids)
{
- return network_probe(device, records, BNEP_SVC_PANU);
+ return network_probe(device, uuids, BNEP_SVC_PANU);
}
static void panu_remove(struct btd_device *device)
@@ -225,9 +224,9 @@ static void panu_remove(struct btd_device *device)
network_remove(device, BNEP_SVC_PANU);
}
-static int gn_probe(struct btd_device *device, GSList *records)
+static int gn_probe(struct btd_device *device, GSList *uuids)
{
- return network_probe(device, records, BNEP_SVC_GN);
+ return network_probe(device, uuids, BNEP_SVC_GN);
}
static void gn_remove(struct btd_device *device)
@@ -235,9 +234,9 @@ static void gn_remove(struct btd_device *device)
network_remove(device, BNEP_SVC_GN);
}
-static int nap_probe(struct btd_device *device, GSList *records)
+static int nap_probe(struct btd_device *device, GSList *uuids)
{
- return network_probe(device, records, BNEP_SVC_NAP);
+ return network_probe(device, uuids, BNEP_SVC_NAP);
}
static void nap_remove(struct btd_device *device)