From ee21a783ec2bb31b26a508d12ffad5d8b3c866e9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 13 Jul 2013 15:33:30 +0000 Subject: -add dv_get_network to DV API, improve signature to use 'struct Session *' instead of 'void *' --- src/include/gnunet_transport_plugin.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/include/gnunet_transport_plugin.h') diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index 456bd1ada..1579980ea 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h @@ -497,14 +497,14 @@ typedef int (*GNUNET_TRANSPORT_StringToAddress) (void *cls, /** - * Function obtain the network type for a session + * Function to obtain the network type for a session * * @param cls closure ('struct Plugin*') * @param session the session * @return the network type */ typedef enum GNUNET_ATS_Network_Type (*GNUNET_TRANSPORT_GetNetworkType) (void *cls, - void *session); + struct Session *session); /** @@ -571,7 +571,6 @@ struct GNUNET_TRANSPORT_PluginFunctions */ GNUNET_TRANSPORT_CreateSession get_session; - /** * Function to obtain the network type for a session */ -- cgit v1.2.3