summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_plugins.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-12-14 08:53:29 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-12-14 08:53:29 +0000
commit2a46bac24eaca8ce16d12359e88f4a9d3cf49c28 (patch)
tree832a1ebc38fd60e512fa69688f94abda5019741b /src/transport/gnunet-service-transport_plugins.h
parent47bd57c6a129474f51001cf02d15a04340d9b834 (diff)
removing ats functions from plugins, instead provide callback function
Diffstat (limited to 'src/transport/gnunet-service-transport_plugins.h')
-rw-r--r--src/transport/gnunet-service-transport_plugins.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_plugins.h b/src/transport/gnunet-service-transport_plugins.h
index 3cca3ce10..04bb5ea22 100644
--- a/src/transport/gnunet-service-transport_plugins.h
+++ b/src/transport/gnunet-service-transport_plugins.h
@@ -42,12 +42,13 @@
* @param recv_cb function to call when data is received
* @param address_cb function to call when our public addresses changed
* @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
*/
void
GST_plugins_load (GNUNET_TRANSPORT_PluginReceiveCallback recv_cb,
GNUNET_TRANSPORT_AddressNotification address_cb,
- GNUNET_TRANSPORT_SessionEnd session_end_cb);
-
+ GNUNET_TRANSPORT_SessionEnd session_end_cb,
+ GNUNET_TRANSPORT_AddressToType address_type_cb);
/**
* Unload all plugins