[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r27786 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r27786 - gnunet/src/mesh |
Date: |
Mon, 8 Jul 2013 13:37:43 +0200 |
Author: bartpolot
Date: 2013-07-08 13:37:42 +0200 (Mon, 08 Jul 2013)
New Revision: 27786
Modified:
gnunet/src/mesh/test_mesh_local.c
gnunet/src/mesh/test_mesh_single.c
gnunet/src/mesh/test_mesh_small.c
Log:
- adapt testcases to new api
Modified: gnunet/src/mesh/test_mesh_local.c
===================================================================
--- gnunet/src/mesh/test_mesh_local.c 2013-07-08 11:37:29 UTC (rev 27785)
+++ gnunet/src/mesh/test_mesh_local.c 2013-07-08 11:37:42 UTC (rev 27786)
@@ -225,7 +225,7 @@
GNUNET_TESTING_peer_get_identity (me, &id);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "CONNECT BY PORT\n");
- t = GNUNET_MESH_tunnel_create (mesh_peer_1, NULL, &id, 1);
+ t = GNUNET_MESH_tunnel_create (mesh_peer_1, NULL, &id, 1, GNUNET_YES,
GNUNET_NO);
GNUNET_MESH_notify_transmit_ready (t, GNUNET_NO,
GNUNET_TIME_UNIT_FOREVER_REL,
sizeof (struct GNUNET_MessageHeader),
Modified: gnunet/src/mesh/test_mesh_single.c
===================================================================
--- gnunet/src/mesh/test_mesh_single.c 2013-07-08 11:37:29 UTC (rev 27785)
+++ gnunet/src/mesh/test_mesh_single.c 2013-07-08 11:37:42 UTC (rev 27786)
@@ -232,7 +232,7 @@
GNUNET_TESTING_peer_get_identity (me, &id);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "CONNECT BY PORT\n");
- t1 = GNUNET_MESH_tunnel_create (mesh, NULL, &id, 1);
+ t1 = GNUNET_MESH_tunnel_create (mesh, NULL, &id, 1, GNUNET_YES, GNUNET_NO);
GNUNET_MESH_notify_transmit_ready (t1, GNUNET_NO,
GNUNET_TIME_UNIT_FOREVER_REL,
sizeof (struct GNUNET_MessageHeader) +
DATA_SIZE,
Modified: gnunet/src/mesh/test_mesh_small.c
===================================================================
--- gnunet/src/mesh/test_mesh_small.c 2013-07-08 11:37:29 UTC (rev 27785)
+++ gnunet/src/mesh/test_mesh_small.c 2013-07-08 11:37:42 UTC (rev 27786)
@@ -631,7 +631,7 @@
{
GNUNET_SCHEDULER_cancel (disconnect_task);
}
- t = GNUNET_MESH_tunnel_create (h1, NULL, p_id[1], 1);
+ t = GNUNET_MESH_tunnel_create (h1, NULL, p_id[1], 1, GNUNET_YES, GNUNET_NO);
if (SPEED_NOBUF == test)
{
GNUNET_MESH_tunnel_buffer(t, GNUNET_NO);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r27786 - gnunet/src/mesh,
gnunet <=