diff options
Diffstat (limited to 'src/include/gnunet_transport_plugin.h')
-rw-r--r-- | src/include/gnunet_transport_plugin.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index 3fb6e2e08..d8c4ec4e5 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h | |||
@@ -283,11 +283,17 @@ struct GNUNET_TRANSPORT_PluginEnvironment | |||
283 | * GNUNET_SYSERR if the target disconnected; | 283 | * GNUNET_SYSERR if the target disconnected; |
284 | * disconnect will ALSO be signalled using | 284 | * disconnect will ALSO be signalled using |
285 | * the ReceiveCallback. | 285 | * the ReceiveCallback. |
286 | * @param size_payload bytes of payload from transport service in message | ||
287 | * @param size_on_wire bytes required on wire for transmission, | ||
288 | * 0 if result == GNUNET_SYSERR | ||
286 | */ | 289 | */ |
287 | typedef void (*GNUNET_TRANSPORT_TransmitContinuation) (void *cls, | 290 | typedef void (*GNUNET_TRANSPORT_TransmitContinuation) (void *cls, |
288 | const struct | 291 | const struct |
289 | GNUNET_PeerIdentity * | 292 | GNUNET_PeerIdentity * |
290 | target, int result); | 293 | target, |
294 | int result, | ||
295 | size_t size_payload, | ||
296 | size_t size_on_wire); | ||
291 | 297 | ||
292 | /** | 298 | /** |
293 | * The new send function with just the session and no address | 299 | * The new send function with just the session and no address |