aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_transport_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-03-10 23:17:45 +0000
committerChristian Grothoff <christian@grothoff.org>2012-03-10 23:17:45 +0000
commit854e1e4d0d1fcfa9812336ebfae76538a9197351 (patch)
tree83bbf1e3e17cc7400ea85d21e9177bff522b1f11 /src/include/gnunet_transport_plugin.h
parentda6e72d97f0125825d5348d12b75b39efc7d2b39 (diff)
downloadgnunet-854e1e4d0d1fcfa9812336ebfae76538a9197351.tar.gz
gnunet-854e1e4d0d1fcfa9812336ebfae76538a9197351.zip
add support for stub-mode for transport plugins
Diffstat (limited to 'src/include/gnunet_transport_plugin.h')
-rw-r--r--src/include/gnunet_transport_plugin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h
index 194d4d214..d5d587922 100644
--- a/src/include/gnunet_transport_plugin.h
+++ b/src/include/gnunet_transport_plugin.h
@@ -218,7 +218,11 @@ struct GNUNET_TRANSPORT_PluginEnvironment
218 218
219 /** 219 /**
220 * Function that should be called by the transport plugin 220 * Function that should be called by the transport plugin
221 * whenever a message is received. 221 * whenever a message is received. If this field is "NULL",
222 * the plugin should load in 'stub' mode and NOT fully
223 * initialize and instead only return an API with the
224 * 'address_pretty_printer', 'address_to_string' and
225 * 'string_to_address' functions.
222 */ 226 */
223 GNUNET_TRANSPORT_PluginReceiveCallback receive; 227 GNUNET_TRANSPORT_PluginReceiveCallback receive;
224 228