aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_tunnel.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-11-29 02:35:20 +0000
committerBart Polot <bart@net.in.tum.de>2013-11-29 02:35:20 +0000
commit57e891155ce700cd22b11708dd36e9e1741b6796 (patch)
tree0fd0bdde2d5b54691ca24f958ce64a8a0b3960c4 /src/mesh/gnunet-service-mesh_tunnel.h
parentbe7b16f744d7c840498874f57dacfe9403080056 (diff)
downloadgnunet-57e891155ce700cd22b11708dd36e9e1741b6796.tar.gz
gnunet-57e891155ce700cd22b11708dd36e9e1741b6796.zip
- use force flag to avoid connections dropping channel management data
- multiple bugfixes with channel shutdown
Diffstat (limited to 'src/mesh/gnunet-service-mesh_tunnel.h')
-rw-r--r--src/mesh/gnunet-service-mesh_tunnel.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesh/gnunet-service-mesh_tunnel.h b/src/mesh/gnunet-service-mesh_tunnel.h
index 8fabe0155..1a48bf280 100644
--- a/src/mesh/gnunet-service-mesh_tunnel.h
+++ b/src/mesh/gnunet-service-mesh_tunnel.h
@@ -394,16 +394,17 @@ GMT_cancel (struct MeshTunnel3Queue *q);
394 * @param t Tunnel on which this message is transmitted. 394 * @param t Tunnel on which this message is transmitted.
395 * @param ch Channel on which this message is transmitted. 395 * @param ch Channel on which this message is transmitted.
396 * @param fwd Is this a fwd message on @c ch? 396 * @param fwd Is this a fwd message on @c ch?
397 * @param force Force the tunnel to take the message (buffer overfill).
397 * @param cont Continuation to call once message is really sent. 398 * @param cont Continuation to call once message is really sent.
398 * @param cls Closure for @c cont. 399 * @param cont_cls Closure for @c cont.
399 * 400 *
400 * @return Handle to cancel message. NULL if @c cont is NULL. 401 * @return Handle to cancel message. NULL if @c cont is NULL.
401 */ 402 */
402struct MeshTunnel3Queue * 403struct MeshTunnel3Queue *
403GMT_send_prebuilt_message (const struct GNUNET_MessageHeader *message, 404GMT_send_prebuilt_message (const struct GNUNET_MessageHeader *message,
404 struct MeshTunnel3 *t, 405 struct MeshTunnel3 *t,
405 struct MeshChannel *ch, int fwd, 406 struct MeshChannel *ch, int fwd, int force,
406 GMT_sent cont, void *cls); 407 GMT_sent cont, void *cont_cls);
407 408
408/** 409/**
409 * Is the tunnel directed towards the local peer? 410 * Is the tunnel directed towards the local peer?