aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_transport_plugin.h
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/include/gnunet_transport_plugin.h
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/include/gnunet_transport_plugin.h')
-rw-r--r--src/include/gnunet_transport_plugin.h5
1 files changed, 2 insertions, 3 deletions
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,
497 497
498 498
499/** 499/**
500 * Function obtain the network type for a session 500 * Function to obtain the network type for a session
501 * 501 *
502 * @param cls closure ('struct Plugin*') 502 * @param cls closure ('struct Plugin*')
503 * @param session the session 503 * @param session the session
504 * @return the network type 504 * @return the network type
505 */ 505 */
506typedef enum GNUNET_ATS_Network_Type (*GNUNET_TRANSPORT_GetNetworkType) (void *cls, 506typedef enum GNUNET_ATS_Network_Type (*GNUNET_TRANSPORT_GetNetworkType) (void *cls,
507 void *session); 507 struct Session *session);
508 508
509 509
510/** 510/**
@@ -571,7 +571,6 @@ struct GNUNET_TRANSPORT_PluginFunctions
571 */ 571 */
572 GNUNET_TRANSPORT_CreateSession get_session; 572 GNUNET_TRANSPORT_CreateSession get_session;
573 573
574
575 /** 574 /**
576 * Function to obtain the network type for a session 575 * Function to obtain the network type for a session
577 */ 576 */