- debug
[oweals/gnunet.git] / src / mesh / gnunet-service-mesh_tunnel.h
index c5c13b28b78c320a0f0307ff15e3ba65c093fae8..e15d07988701f1e83594b2fa8b6cf87f68da056e 100644 (file)
@@ -309,6 +309,17 @@ GMT_get_destination (struct MeshTunnel3 *t);
 MESH_ChannelNumber
 GMT_get_next_chid (struct MeshTunnel3 *t);
 
+/**
+ * Send ACK on one or more connections due to buffer space to the client.
+ *
+ * Iterates all connections of the tunnel and sends ACKs appropriately.
+ *
+ * @param ch Channel which has some free buffer space.
+ * @param fwd Is this in for FWD traffic? (ACK goes dest->root)
+ */
+void
+GMT_send_acks (struct MeshTunnel3 *t, unsigned int buffer, int fwd);
+
 /**
  * Sends an already built message on a tunnel, encrypting it and
  * choosing the best connection.