aboutsummaryrefslogtreecommitdiff
path: root/src/service/transport/transport_api_cmd_backchannel_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/transport/transport_api_cmd_backchannel_check.c')
-rw-r--r--src/service/transport/transport_api_cmd_backchannel_check.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/service/transport/transport_api_cmd_backchannel_check.c b/src/service/transport/transport_api_cmd_backchannel_check.c
index f23230798..6fa61adb7 100644
--- a/src/service/transport/transport_api_cmd_backchannel_check.c
+++ b/src/service/transport/transport_api_cmd_backchannel_check.c
@@ -67,7 +67,7 @@ struct CheckState
67 /** 67 /**
68 * The testing system of this node. 68 * The testing system of this node.
69 */ 69 */
70 const struct GNUNET_TESTING_System *tl_system; 70 const struct GNUNET_TESTBED_System *tl_system;
71 71
72 // Label of the cmd which started the test system. 72 // Label of the cmd which started the test system.
73 const char *create_label; 73 const char *create_label;
@@ -402,7 +402,7 @@ backchannel_check_run (void *cls,
402{ 402{
403 struct CheckState *cs = cls; 403 struct CheckState *cs = cls;
404 const struct GNUNET_TESTING_Command *system_cmd; 404 const struct GNUNET_TESTING_Command *system_cmd;
405 const struct GNUNET_TESTING_System *tl_system; 405 const struct GNUNET_TESTBED_System *tl_system;
406 const struct GNUNET_TESTING_Command *peer1_cmd; 406 const struct GNUNET_TESTING_Command *peer1_cmd;
407 const struct GNUNET_TRANSPORT_ApplicationHandle *ah; 407 const struct GNUNET_TRANSPORT_ApplicationHandle *ah;
408 struct GNUNET_CONTAINER_MultiShortmapIterator *node_it; 408 struct GNUNET_CONTAINER_MultiShortmapIterator *node_it;
@@ -467,7 +467,8 @@ backchannel_check_run (void *cls,
467 node_it = GNUNET_CONTAINER_multishortmap_iterator_create ( 467 node_it = GNUNET_CONTAINER_multishortmap_iterator_create (
468 namespace->nodes); 468 namespace->nodes);
469 while (GNUNET_YES == GNUNET_CONTAINER_multishortmap_iterator_next (node_it, 469 while (GNUNET_YES == GNUNET_CONTAINER_multishortmap_iterator_next (node_it,
470 &node_key, 470 &node_key
471 ,
471 (const 472 (const
472 void**) 473 void**)
473 &node)) 474 &node))
@@ -544,10 +545,10 @@ GNUNET_TRANSPORT_cmd_backchannel_check (const char *label,
544 cs->node_n = node_n; 545 cs->node_n = node_n;
545 cs->namespace_n = namespace_n; 546 cs->namespace_n = namespace_n;
546 547
547 return GNUNET_TESTING_command_new (cs, 548 return GNUNET_TESTING_command_new_ac (cs,
548 label, 549 label,
549 &backchannel_check_run, 550 &backchannel_check_run,
550 &backchannel_check_cleanup, 551 &backchannel_check_cleanup,
551 &backchannel_check_traits, 552 &backchannel_check_traits,
552 &cs->ac); 553 &cs->ac);
553} 554}