summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_bluetooth.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-07-13 15:33:30 +0000
committerChristian Grothoff <christian@grothoff.org>2013-07-13 15:33:30 +0000
commitee21a783ec2bb31b26a508d12ffad5d8b3c866e9 (patch)
tree93b4b89131605a3cde1bdd599c94e0eba37ae6f7 /src/transport/plugin_transport_bluetooth.c
parent9fa742ef8a7b4299f20292107dbe7a40fc08e2bf (diff)
-add dv_get_network to DV API, improve signature to use 'struct Session *' instead of 'void *'
Diffstat (limited to 'src/transport/plugin_transport_bluetooth.c')
-rw-r--r--src/transport/plugin_transport_bluetooth.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_bluetooth.c b/src/transport/plugin_transport_bluetooth.c
index 57de3022b..3f432b90e 100644
--- a/src/transport/plugin_transport_bluetooth.c
+++ b/src/transport/plugin_transport_bluetooth.c
@@ -1024,6 +1024,7 @@ create_macendpoint (struct Plugin *plugin,
return pos;
}
+
/**
* Function obtain the network type for a session
*
@@ -1032,10 +1033,11 @@ create_macendpoint (struct Plugin *plugin,
* @return the network type in HBO or GNUNET_SYSERR
*/
static enum GNUNET_ATS_Network_Type
-bluetooth_get_network (void *cls, void *session)
+bluetooth_get_network (void *cls,
+ struct Session *session)
{
- GNUNET_assert (NULL != session);
- return GNUNET_ATS_NET_BT;
+ GNUNET_assert (NULL != session);
+ return GNUNET_ATS_NET_BT;
}