summaryrefslogtreecommitdiffstats
path: root/network/manager.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-09-04 15:03:35 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-09-04 15:03:35 +0200
commit01761bea1ce6539b97640123660c67d81c54318b (patch)
treea9eb2957891081a1ae111b6c7f53a8d2108597b2 /network/manager.c
parent0019156df63264bdb80131f947833cd2a1293994 (diff)
parent18614bd2b008cb9f3879990883c569c37b72f195 (diff)
Merge branch 'for-upstream' of git://gitorious.org/bluez/aloks-clone
Diffstat (limited to 'network/manager.c')
-rw-r--r--network/manager.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/network/manager.c b/network/manager.c
index 8067b821..d85ac48f 100644
--- a/network/manager.c
+++ b/network/manager.c
@@ -55,7 +55,7 @@ static DBusConnection *connection = NULL;
static int network_probe(struct btd_device *device, GSList *records,
uint16_t id)
{
- struct adapter *adapter = device_get_adapter(device);
+ struct btd_adapter *adapter = device_get_adapter(device);
const gchar *path = device_get_path(device);
const char *source, *destination;
bdaddr_t src, dst;
@@ -110,7 +110,7 @@ static void nap_remove(struct btd_device *device)
network_remove(device, BNEP_SVC_NAP);
}
-static int network_server_probe(struct adapter *adapter, uint16_t id)
+static int network_server_probe(struct btd_adapter *adapter, uint16_t id)
{
const gchar *path = adapter_get_path(adapter);
const char *source;
@@ -127,7 +127,7 @@ static int network_server_probe(struct adapter *adapter, uint16_t id)
return server_register(path, &src, id);
}
-static void network_server_remove(struct adapter *adapter, uint16_t id)
+static void network_server_remove(struct btd_adapter *adapter, uint16_t id)
{
const gchar *path = adapter_get_path(adapter);
@@ -136,32 +136,32 @@ static void network_server_remove(struct adapter *adapter, uint16_t id)
server_unregister(path, id);
}
-static int panu_server_probe(struct adapter *adapter)
+static int panu_server_probe(struct btd_adapter *adapter)
{
return network_server_probe(adapter, BNEP_SVC_PANU);
}
-static int gn_server_probe(struct adapter *adapter)
+static int gn_server_probe(struct btd_adapter *adapter)
{
return network_server_probe(adapter, BNEP_SVC_GN);
}
-static int nap_server_probe(struct adapter *adapter)
+static int nap_server_probe(struct btd_adapter *adapter)
{
return network_server_probe(adapter, BNEP_SVC_NAP);
}
-static void panu_server_remove(struct adapter *adapter)
+static void panu_server_remove(struct btd_adapter *adapter)
{
network_server_remove(adapter, BNEP_SVC_PANU);
}
-static void gn_server_remove(struct adapter *adapter)
+static void gn_server_remove(struct btd_adapter *adapter)
{
network_server_remove(adapter, BNEP_SVC_GN);
}
-static void nap_server_remove(struct adapter *adapter)
+static void nap_server_remove(struct btd_adapter *adapter)
{
network_server_remove(adapter, BNEP_SVC_NAP);
}