aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/gnunet-service-mesh_local.h')
-rw-r--r--src/mesh/gnunet-service-mesh_local.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mesh/gnunet-service-mesh_local.h b/src/mesh/gnunet-service-mesh_local.h
index e91165dec..6b126a2f7 100644
--- a/src/mesh/gnunet-service-mesh_local.h
+++ b/src/mesh/gnunet-service-mesh_local.h
@@ -141,21 +141,23 @@ GML_client_get_by_port (uint32_t port);
141 * 141 *
142 * @param c Client whose tunnel to delete. 142 * @param c Client whose tunnel to delete.
143 * @param ch Channel which should be deleted. 143 * @param ch Channel which should be deleted.
144 * @param id Channel ID.
144 */ 145 */
145void 146void
146GML_client_delete_channel (struct MeshClient *c, struct MeshChannel *ch); 147GML_client_delete_channel (struct MeshClient *c,
148 struct MeshChannel *ch,
149 MESH_ChannelNumber id);
147 150
148/** 151/**
149 * Build a local ACK message and send it to a local client, if needed. 152 * Build a local ACK message and send it to a local client, if needed.
150 * 153 *
151 * If the client was already allowed to send data, do nothing. 154 * If the client was already allowed to send data, do nothing.
152 * 155 *
153 * @param ch Channel on which to send the ACK.
154 * @param c Client to whom send the ACK. 156 * @param c Client to whom send the ACK.
155 * @param fwd Set to GNUNET_YES for FWD ACK (dest->root) 157 * @param id Channel ID to use
156 */ 158 */
157void 159void
158GML_send_ack (struct MeshChannel *ch, int fwd); 160GML_send_ack (struct MeshClient *c, MESH_ChannelNumber id);
159 161
160/** 162/**
161 * Notify the appropriate client that a new incoming channel was created. 163 * Notify the appropriate client that a new incoming channel was created.