/**
* Handler for channel ack messages.
*
- * @param t Tunnel this channel is to be created in.
+ * @param ch Channel this channel is to be created in.
* @param msg Message.
* @param fwd Is this FWD traffic? GNUNET_YES : GNUNET_NO;
*/
/**
* Handler for channel destroy messages.
*
- * @param t Tunnel this channel is to be destroyed of.
+ * @param ch Channel this channel is to be destroyed of.
* @param msg Message.
* @param fwd Is this FWD traffic? GNUNET_YES : GNUNET_NO;
*/
GML_shutdown (void);
/**
- * Get a chennel from a client
+ * Get a channel from a client.
*
- * @param client the client to check
- * @param chid Channel ID
+ * @param c Client to check.
+ * @param chid Channel ID, must be local (> 0x800...).
*
- * @return non-NULL if channel exists in the global DLL
+ * @return non-NULL if channel exists in the clients lists
*/
struct MeshChannel *
-GML_channel_get (struct MeshClient *client, uint32_t chid);
+GML_channel_get (struct MeshClient *c, uint32_t chid);
/**
* Add a channel to a client
* Initialize the peer subsystem.
*
* @param c Configuration.
- * @param id Peer identity
*/
void
GMP_init (const struct GNUNET_CONFIGURATION_Handle *c)
* Initialize the tunnel subsystem.
*
* @param c Configuration handle.
- * @param id Peer identity.
* @param key ECC private key, to derive all other keys and do crypto.
*/
void
GMT_get_next_chid (struct MeshTunnel3 *t);
/**
- * Send ACK on one or more channels due to buffer in connections..
+ * 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)
*
* Iterates all connections of the tunnel and sends ACKs appropriately.
*
- * @param ch Channel which has some free buffer space.
+ * @param t Tunnel which has some free buffer space.
* @param fwd Is this in for FWD traffic? (ACK goes dest->root)
*/
void