aboutsummaryrefslogtreecommitdiff
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)
downloadgnunet-ee21a783ec2bb31b26a508d12ffad5d8b3c866e9.tar.gz
gnunet-ee21a783ec2bb31b26a508d12ffad5d8b3c866e9.zip
-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,
1024 return pos; 1024 return pos;
1025} 1025}
1026 1026
1027
1027/** 1028/**
1028 * Function obtain the network type for a session 1029 * Function obtain the network type for a session
1029 * 1030 *
@@ -1032,10 +1033,11 @@ create_macendpoint (struct Plugin *plugin,
1032 * @return the network type in HBO or GNUNET_SYSERR 1033 * @return the network type in HBO or GNUNET_SYSERR
1033 */ 1034 */
1034static enum GNUNET_ATS_Network_Type 1035static enum GNUNET_ATS_Network_Type
1035bluetooth_get_network (void *cls, void *session) 1036bluetooth_get_network (void *cls,
1037 struct Session *session)
1036{ 1038{
1037 GNUNET_assert (NULL != session); 1039 GNUNET_assert (NULL != session);
1038 return GNUNET_ATS_NET_BT; 1040 return GNUNET_ATS_NET_BT;
1039} 1041}
1040 1042
1041 1043