aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-10-18 20:17:17 +0000
committerBart Polot <bart@net.in.tum.de>2013-10-18 20:17:17 +0000
commitd6b03105779d2a22b5b5bf5016ad823fe7ac3485 (patch)
tree5f312e6cfe564e8a14b3b9e68d7fbc4c73c6c839
parent056f559d916d785164f40e63ca56c153ea0e9ebe (diff)
- doxygen
-rw-r--r--src/mesh/gnunet-service-mesh_channel.h4
-rw-r--r--src/mesh/gnunet-service-mesh_local.h10
-rw-r--r--src/mesh/gnunet-service-mesh_peer.c1
-rw-r--r--src/mesh/gnunet-service-mesh_tunnel.c1
-rw-r--r--src/mesh/gnunet-service-mesh_tunnel.h4
5 files changed, 9 insertions, 11 deletions
diff --git a/src/mesh/gnunet-service-mesh_channel.h b/src/mesh/gnunet-service-mesh_channel.h
index aaead6c30a..726d7c0251 100644
--- a/src/mesh/gnunet-service-mesh_channel.h
+++ b/src/mesh/gnunet-service-mesh_channel.h
@@ -274,7 +274,7 @@ GMCH_handle_create (struct MeshTunnel3 *t,
/**
* 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;
*/
@@ -286,7 +286,7 @@ GMCH_handle_ack (struct MeshChannel *ch,
/**
* 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;
*/
diff --git a/src/mesh/gnunet-service-mesh_local.h b/src/mesh/gnunet-service-mesh_local.h
index e10db1161c..0c07fedfef 100644
--- a/src/mesh/gnunet-service-mesh_local.h
+++ b/src/mesh/gnunet-service-mesh_local.h
@@ -72,15 +72,15 @@ void
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
diff --git a/src/mesh/gnunet-service-mesh_peer.c b/src/mesh/gnunet-service-mesh_peer.c
index 6f46796a22..b6a241b24e 100644
--- a/src/mesh/gnunet-service-mesh_peer.c
+++ b/src/mesh/gnunet-service-mesh_peer.c
@@ -1156,7 +1156,6 @@ GMP_queue_unlock (struct MeshPeer *peer, struct MeshConnection *c)
* Initialize the peer subsystem.
*
* @param c Configuration.
- * @param id Peer identity
*/
void
GMP_init (const struct GNUNET_CONFIGURATION_Handle *c)
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c
index d0f3df14ba..6d3c4c6e74 100644
--- a/src/mesh/gnunet-service-mesh_tunnel.c
+++ b/src/mesh/gnunet-service-mesh_tunnel.c
@@ -624,7 +624,6 @@ GMT_send_queued_data (struct MeshTunnel3 *t, int fwd)
* 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
diff --git a/src/mesh/gnunet-service-mesh_tunnel.h b/src/mesh/gnunet-service-mesh_tunnel.h
index 369713e660..81c417dbd8 100644
--- a/src/mesh/gnunet-service-mesh_tunnel.h
+++ b/src/mesh/gnunet-service-mesh_tunnel.h
@@ -312,7 +312,7 @@ MESH_ChannelNumber
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)
@@ -325,7 +325,7 @@ GMT_unchoke_channels (struct MeshTunnel3 *t, int fwd);
*
* 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