aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-10-16 12:11:18 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-10-16 12:11:18 +0000
commit0d913e95fd344754719f5bedbf1229880d50b8bf (patch)
tree8b68e113d92b80a2d5c08c18cccc0de8b25471b6 /src/include
parent0460c2688345bd68cd19f11bdb4aeaa7892cd5e4 (diff)
downloadgnunet-0d913e95fd344754719f5bedbf1229880d50b8bf.tar.gz
gnunet-0d913e95fd344754719f5bedbf1229880d50b8bf.zip
header
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_transport_plugin.h8
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 */
287typedef void (*GNUNET_TRANSPORT_TransmitContinuation) (void *cls, 290typedef 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