diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-10 23:17:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-10 23:17:45 +0000 |
commit | 854e1e4d0d1fcfa9812336ebfae76538a9197351 (patch) | |
tree | 83bbf1e3e17cc7400ea85d21e9177bff522b1f11 /src/include/gnunet_transport_plugin.h | |
parent | da6e72d97f0125825d5348d12b75b39efc7d2b39 (diff) | |
download | gnunet-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.h | 6 |
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 | ||