aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.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_wlan.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_wlan.c')
-rw-r--r--src/transport/plugin_transport_wlan.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c
index 298d55653..a376a2642 100644
--- a/src/transport/plugin_transport_wlan.c
+++ b/src/transport/plugin_transport_wlan.c
@@ -1057,6 +1057,7 @@ create_macendpoint (struct Plugin *plugin,
1057 return pos; 1057 return pos;
1058} 1058}
1059 1059
1060
1060/** 1061/**
1061 * Function obtain the network type for a session 1062 * Function obtain the network type for a session
1062 * 1063 *
@@ -1065,12 +1066,14 @@ create_macendpoint (struct Plugin *plugin,
1065 * @return the network type in HBO or GNUNET_SYSERR 1066 * @return the network type in HBO or GNUNET_SYSERR
1066 */ 1067 */
1067static enum GNUNET_ATS_Network_Type 1068static enum GNUNET_ATS_Network_Type
1068wlan_get_network (void *cls, void *session) 1069wlan_get_network (void *cls,
1070 struct Session *session)
1069{ 1071{
1070 GNUNET_assert (NULL != session); 1072 GNUNET_assert (NULL != session);
1071 return GNUNET_ATS_NET_WLAN; 1073 return GNUNET_ATS_NET_WLAN;
1072} 1074}
1073 1075
1076
1074/** 1077/**
1075 * Creates a new outbound session the transport service will use to send data to the 1078 * Creates a new outbound session the transport service will use to send data to the
1076 * peer 1079 * peer