gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r30137 - gnunet/src/mesh
Date: Fri, 11 Oct 2013 14:26:22 +0200

Author: bartpolot
Date: 2013-10-11 14:26:21 +0200 (Fri, 11 Oct 2013)
New Revision: 30137

Modified:
   gnunet/src/mesh/gnunet-service-mesh_connection.c
Log:
- use new API functions


Modified: gnunet/src/mesh/gnunet-service-mesh_connection.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_connection.c    2013-10-11 12:23:57 UTC 
(rev 30136)
+++ gnunet/src/mesh/gnunet-service-mesh_connection.c    2013-10-11 12:26:21 UTC 
(rev 30137)
@@ -1097,7 +1097,7 @@
 
   LOG (GNUNET_ERROR_TYPE_DEBUG, "  via peer %s\n",
               GNUNET_i2s (peer));
-  pi = peer_get (peer);
+  pi = GMP_get (peer);
   if (get_next_hop (c) == pi)
   {
     LOG (GNUNET_ERROR_TYPE_DEBUG, "  SYNACK\n");
@@ -1122,7 +1122,7 @@
   p = c->path;
   if (NULL != p)
   {
-    path_add_to_peers (p, GNUNET_YES);
+    GMP_add_path_to_all (p, GNUNET_YES);
   }
   else
   {
@@ -1144,7 +1144,7 @@
   if (GMC_is_terminal (c, GNUNET_YES))
   {
     LOG (GNUNET_ERROR_TYPE_DEBUG, "  Connection ACK for us!\n");
-    GMC_change_state (c, MESH_CONNECTION_READY);
+    connection_change_state (c, MESH_CONNECTION_READY);
     GMT_change_state (c->t, MESH_TUNNEL3_READY);
     GMT_send_queued_data (c->t, GNUNET_NO);
     return GNUNET_OK;
@@ -1364,7 +1364,7 @@
   }
   GNUNET_STATISTICS_update (stats, "# messages forwarded", 1, GNUNET_NO);
 
-  send_prebuilt_message_connection (&msg->header, c, NULL, fwd);
+  GMC_send_prebuilt_message (&msg->header, c, NULL, fwd);
 
   return GNUNET_OK;
 }




reply via email to

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