gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r31209 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r31209 - gnunet/src/mesh
Date: Mon, 9 Dec 2013 14:29:25 +0100

Author: bartpolot
Date: 2013-12-09 14:29:25 +0100 (Mon, 09 Dec 2013)
New Revision: 31209

Modified:
   gnunet/src/mesh/gnunet-service-mesh_channel.c
   gnunet/src/mesh/gnunet-service-mesh_peer.c
   gnunet/src/mesh/gnunet-service-mesh_tunnel.c
   gnunet/src/mesh/gnunet-service-mesh_tunnel.h
Log:
- doxygen


Modified: gnunet/src/mesh/gnunet-service-mesh_channel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_channel.c       2013-12-09 12:54:49 UTC 
(rev 31208)
+++ gnunet/src/mesh/gnunet-service-mesh_channel.c       2013-12-09 13:29:25 UTC 
(rev 31209)
@@ -1192,7 +1192,7 @@
  *
  * @param ch Channel to test.
  *
- * @return #GNUNET_YES if channel is loopback, #NGUNET_NO otherwise.
+ * @return #GNUNET_YES if channel is loopback, #GNUNET_NO otherwise.
  */
 static int
 is_loopback (const struct MeshChannel *ch)

Modified: gnunet/src/mesh/gnunet-service-mesh_peer.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_peer.c  2013-12-09 12:54:49 UTC (rev 
31208)
+++ gnunet/src/mesh/gnunet-service-mesh_peer.c  2013-12-09 13:29:25 UTC (rev 
31209)
@@ -969,7 +969,6 @@
  * @param size Size of the message.
  * @param c Connection this message belongs to (cannot be NULL).
  * @param fwd Is this a message going root->dest? (FWD ACK are NOT FWD!)
- * @param force Force the tunnel to take the message (buffer overfill).
  * @param cont Continuation to be called once CORE has taken the message.
  * @param cont_cls Closure for @c cont.
  *

Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2013-12-09 12:54:49 UTC 
(rev 31208)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2013-12-09 13:29:25 UTC 
(rev 31209)
@@ -1512,7 +1512,7 @@
  * @param cstate New connection state.
  */
 void
-GMT_change_cstate (struct MeshTunnel3* t, enum MeshTunnel3CState state)
+GMT_change_cstate (struct MeshTunnel3* t, enum MeshTunnel3CState cstate)
 {
   if (NULL == t)
     return;
@@ -1521,12 +1521,12 @@
               GMP_2s (t->peer), cstate2s (t->cstate));
   LOG (GNUNET_ERROR_TYPE_DEBUG,
               "Tunnel %s cstate is now %s\n",
-              GMP_2s (t->peer), cstate2s (state));
+              GMP_2s (t->peer), cstate2s (cstate));
   if (myid != GMP_get_short_id (t->peer) &&
       MESH_TUNNEL3_READY != t->cstate &&
-      MESH_TUNNEL3_READY == state)
+      MESH_TUNNEL3_READY == cstate)
   {
-    t->cstate = state;
+    t->cstate = cstate;
     if (MESH_TUNNEL3_KEY_OK == t->estate)
     {
       LOG (GNUNET_ERROR_TYPE_DEBUG, "  triggered send queued data\n");
@@ -1538,9 +1538,9 @@
       rekey_tunnel (t, NULL);
     }
   }
-  t->cstate = state;
+  t->cstate = cstate;
 
-  if (MESH_TUNNEL3_READY == state && 3 <= GMT_count_connections (t))
+  if (MESH_TUNNEL3_READY == cstate && 3 <= GMT_count_connections (t))
   {
     GMP_stop_search (t->peer);
   }
@@ -2119,6 +2119,7 @@
  *
  * @param cls Closure (TunnelQueue handle).
  * @param c Connection this message was on.
+ * @param q Connection queue handle (unused).
  * @param type Type of message sent.
  * @param fwd Was this a FWD going message?
  * @param size Size of the message.

Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.h
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.h        2013-12-09 12:54:49 UTC 
(rev 31208)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.h        2013-12-09 13:29:25 UTC 
(rev 31209)
@@ -192,7 +192,7 @@
  * @param cstate New connection state.
  */
 void
-GMT_change_cstate (struct MeshTunnel3* t, enum MeshTunnel3CState state);
+GMT_change_cstate (struct MeshTunnel3* t, enum MeshTunnel3CState cstate);
 
 
 /**




reply via email to

[Prev in Thread] Current Thread [Next in Thread]