summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_plugins.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-07-09 12:40:15 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-07-09 12:40:15 +0000
commitc89d8a68bd97261f491927ebd32269d82eb9e581 (patch)
tree23fa964f5c4daaabc6038666174b218ef51cb2db /src/transport/gnunet-service-transport_plugins.h
parentc57f5000a2a3996f025af403e5ea5e124ffa6cb1 (diff)
new function for plugins to signal inbound session,
have to extend plugins
Diffstat (limited to 'src/transport/gnunet-service-transport_plugins.h')
-rw-r--r--src/transport/gnunet-service-transport_plugins.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_plugins.h b/src/transport/gnunet-service-transport_plugins.h
index ef20e4539..2dc91de73 100644
--- a/src/transport/gnunet-service-transport_plugins.h
+++ b/src/transport/gnunet-service-transport_plugins.h
@@ -41,6 +41,7 @@
*
* @param recv_cb function to call when data is received
* @param address_cb function to call when our public addresses changed
+ * @param session_start_cb function to call when a session was created
* @param session_end_cb function to call when a session was terminated
* @param address_type_cb function to call when a address type is requested
* @param metric_update_cb function to call when address metrics change
@@ -48,6 +49,7 @@
void
GST_plugins_load (GNUNET_TRANSPORT_PluginReceiveCallback recv_cb,
GNUNET_TRANSPORT_AddressNotification address_cb,
+ GNUNET_TRANSPORT_SessionStart session_start_cb,
GNUNET_TRANSPORT_SessionEnd session_end_cb,
GNUNET_TRANSPORT_AddressToType address_type_cb,
GNUNET_TRANSPORT_UpdateAddressMetrics metric_update_cb);