summaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_peers.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-08-25 10:29:17 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-08-25 10:29:17 +0000
commit9233abe82cdf18d40932d590f1c411dff47488e7 (patch)
tree69b9ca3cba9339fb6d5099c276643ef6d03c4930 /src/testbed/testbed_api_peers.c
parentd78b1ed8679e564865d86e8693939c2e9ff60c75 (diff)
downloadgnunet-9233abe82cdf18d40932d590f1c411dff47488e7.tar.gz
gnunet-9233abe82cdf18d40932d590f1c411dff47488e7.zip
operation queue renaming
Diffstat (limited to 'src/testbed/testbed_api_peers.c')
-rw-r--r--src/testbed/testbed_api_peers.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/testbed/testbed_api_peers.c b/src/testbed/testbed_api_peers.c
index 51ef66bec..25362df0d 100644
--- a/src/testbed/testbed_api_peers.c
+++ b/src/testbed/testbed_api_peers.c
@@ -408,7 +408,8 @@ GNUNET_TESTBED_peer_create_with_id_ (uint32_t unique_id,
408 opc->type = OP_PEER_CREATE; 408 opc->type = OP_PEER_CREATE;
409 opc->op = GNUNET_TESTBED_operation_create_ (opc, &opstart_peer_create, 409 opc->op = GNUNET_TESTBED_operation_create_ (opc, &opstart_peer_create,
410 &oprelease_peer_create); 410 &oprelease_peer_create);
411 GNUNET_TESTBED_operation_queue_insert_ (controller->opq_peer_create, opc->op); 411 GNUNET_TESTBED_operation_queue_insert_ (controller->opq_parallel_operations,
412 opc->op);
412 return opc->op; 413 return opc->op;
413} 414}
414 415
@@ -477,7 +478,8 @@ GNUNET_TESTBED_peer_start (struct GNUNET_TESTBED_Peer *peer)
477 opc->type = OP_PEER_START; 478 opc->type = OP_PEER_START;
478 opc->op = GNUNET_TESTBED_operation_create_ (opc, &opstart_peer_start, 479 opc->op = GNUNET_TESTBED_operation_create_ (opc, &opstart_peer_start,
479 &oprelease_peer_start); 480 &oprelease_peer_start);
480 GNUNET_TESTBED_operation_queue_insert_ (opc->c->opq_peer_create, opc->op); 481 GNUNET_TESTBED_operation_queue_insert_ (opc->c->opq_parallel_operations,
482 opc->op);
481 return opc->op; 483 return opc->op;
482} 484}
483 485
@@ -502,7 +504,8 @@ GNUNET_TESTBED_peer_stop (struct GNUNET_TESTBED_Peer *peer)
502 opc->type = OP_PEER_STOP; 504 opc->type = OP_PEER_STOP;
503 opc->op = GNUNET_TESTBED_operation_create_ (opc, &opstart_peer_stop, 505 opc->op = GNUNET_TESTBED_operation_create_ (opc, &opstart_peer_stop,
504 &oprelease_peer_stop); 506 &oprelease_peer_stop);
505 GNUNET_TESTBED_operation_queue_insert_ (opc->c->opq_peer_create, opc->op); 507 GNUNET_TESTBED_operation_queue_insert_ (opc->c->opq_parallel_operations,
508 opc->op);
506 return opc->op; 509 return opc->op;
507} 510}
508 511
@@ -532,7 +535,8 @@ GNUNET_TESTBED_peer_get_information (struct GNUNET_TESTBED_Peer *peer,
532 opc->id = opc->c->operation_counter++; 535 opc->id = opc->c->operation_counter++;
533 opc->op = GNUNET_TESTBED_operation_create_ (opc, &opstart_peer_getinfo, 536 opc->op = GNUNET_TESTBED_operation_create_ (opc, &opstart_peer_getinfo,
534 &oprelease_peer_getinfo); 537 &oprelease_peer_getinfo);
535 GNUNET_TESTBED_operation_queue_insert_ (opc->c->opq_peer_create, opc->op); 538 GNUNET_TESTBED_operation_queue_insert_ (opc->c->opq_parallel_operations,
539 opc->op);
536 return opc->op; 540 return opc->op;
537} 541}
538 542
@@ -576,7 +580,7 @@ GNUNET_TESTBED_peer_destroy (struct GNUNET_TESTBED_Peer *peer)
576 opc->type = OP_PEER_DESTROY; 580 opc->type = OP_PEER_DESTROY;
577 opc->op = GNUNET_TESTBED_operation_create_ (opc, &opstart_peer_destroy, 581 opc->op = GNUNET_TESTBED_operation_create_ (opc, &opstart_peer_destroy,
578 &oprelease_peer_destroy); 582 &oprelease_peer_destroy);
579 GNUNET_TESTBED_operation_queue_insert_ (opc->c->opq_peer_create, 583 GNUNET_TESTBED_operation_queue_insert_ (opc->c->opq_parallel_operations,
580 opc->op); 584 opc->op);
581 return opc->op; 585 return opc->op;
582} 586}
@@ -638,7 +642,7 @@ GNUNET_TESTBED_overlay_connect (void *op_cls,
638 opc->type = OP_OVERLAY_CONNECT; 642 opc->type = OP_OVERLAY_CONNECT;
639 opc->op = GNUNET_TESTBED_operation_create_ (opc, &opstart_overlay_connect, 643 opc->op = GNUNET_TESTBED_operation_create_ (opc, &opstart_overlay_connect,
640 &oprelease_overlay_connect); 644 &oprelease_overlay_connect);
641 GNUNET_TESTBED_operation_queue_insert_ (opc->c->opq_peer_create, 645 GNUNET_TESTBED_operation_queue_insert_ (opc->c->opq_parallel_operations,
642 opc->op); 646 opc->op);
643 return opc->op; 647 return opc->op;
644} 648}