- doxygen
[oweals/gnunet.git] / src / mesh / gnunet-service-mesh_tunnel.h
index e15d07988701f1e83594b2fa8b6cf87f68da056e..369713e660a86d5856c94d6403ede42e4cf60f97 100644 (file)
@@ -204,7 +204,7 @@ GMT_get_channel (struct MeshTunnel3 *t, MESH_ChannelNumber chid);
  * towards a channel of a local tunnel.
  *
  * @param t Tunnel this message came on.
- * @param msgh Message header.
+ * @param msg Message header.
  * @param fwd Is this message fwd?
  */
 void
@@ -280,6 +280,8 @@ GMT_get_state (struct MeshTunnel3 *t);
 
 /**
  * Get the total buffer space for a tunnel.
+ * 
+ * FIXME get a ch parameter in case of loopback tunnels
  *
  * @param t Tunnel.
  * @param fwd Is this for FWD traffic?
@@ -309,6 +311,15 @@ GMT_get_destination (struct MeshTunnel3 *t);
 MESH_ChannelNumber
 GMT_get_next_chid (struct MeshTunnel3 *t);
 
+/**
+ * Send ACK on one or more channels due to buffer in connections..
+ *
+ * @param t Channel which has some free buffer space.
+ * @param fwd Is this for FWD traffic? (ACK goes to root)
+ */
+void
+GMT_unchoke_channels (struct MeshTunnel3 *t, int fwd);
+
 /**
  * Send ACK on one or more connections due to buffer space to the client.
  *
@@ -318,7 +329,7 @@ GMT_get_next_chid (struct MeshTunnel3 *t);
  * @param fwd Is this in for FWD traffic? (ACK goes dest->root)
  */
 void
-GMT_send_acks (struct MeshTunnel3 *t, unsigned int buffer, int fwd);
+GMT_send_acks (struct MeshTunnel3 *t, int fwd);
 
 /**
  * Sends an already built message on a tunnel, encrypting it and