aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_unix.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_unix.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_unix.c')
-rw-r--r--src/transport/plugin_transport_unix.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c
index afa19d0e8..88df45223 100644
--- a/src/transport/plugin_transport_unix.c
+++ b/src/transport/plugin_transport_unix.c
@@ -732,6 +732,7 @@ session_timeout (void *cls,
732 disconnect_session (s); 732 disconnect_session (s);
733} 733}
734 734
735
735/** 736/**
736 * Function obtain the network type for a session 737 * Function obtain the network type for a session
737 * 738 *
@@ -740,10 +741,11 @@ session_timeout (void *cls,
740 * @return the network type in HBO or GNUNET_SYSERR 741 * @return the network type in HBO or GNUNET_SYSERR
741 */ 742 */
742static enum GNUNET_ATS_Network_Type 743static enum GNUNET_ATS_Network_Type
743unix_get_network (void *cls, void *session) 744unix_get_network (void *cls,
745 struct Session *session)
744{ 746{
745 GNUNET_assert (NULL != session); 747 GNUNET_assert (NULL != session);
746 return GNUNET_ATS_NET_LOOPBACK; 748 return GNUNET_ATS_NET_LOOPBACK;
747} 749}
748 750
749 751