diff options
Diffstat (limited to 'src/testbed/testbed_api.c')
-rw-r--r-- | src/testbed/testbed_api.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c index 46b8ab901..2ae0a1703 100644 --- a/src/testbed/testbed_api.c +++ b/src/testbed/testbed_api.c | |||
@@ -407,7 +407,7 @@ handle_add_host_confirm (void *cls, | |||
407 | /** | 407 | /** |
408 | * Handler for forwarded operations | 408 | * Handler for forwarded operations |
409 | * | 409 | * |
410 | * @param c the controller handle | 410 | * @param cls the controller handle |
411 | * @param opc the operation context | 411 | * @param opc the operation context |
412 | * @param msg the message | 412 | * @param msg the message |
413 | */ | 413 | */ |
@@ -432,7 +432,7 @@ handle_forwarded_operation_msg (void *cls, | |||
432 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_ADD_HOST_SUCCESS message from | 432 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_ADD_HOST_SUCCESS message from |
433 | * controller (testbed service) | 433 | * controller (testbed service) |
434 | * | 434 | * |
435 | * @param c the controller handler | 435 | * @param cls the controller handler |
436 | * @param msg message received | 436 | * @param msg message received |
437 | */ | 437 | */ |
438 | static void | 438 | static void |
@@ -536,7 +536,7 @@ handle_opsuccess ( | |||
536 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_CREATE_PEER_SUCCESS message from | 536 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_CREATE_PEER_SUCCESS message from |
537 | * controller (testbed service) | 537 | * controller (testbed service) |
538 | * | 538 | * |
539 | * @param c the controller handle | 539 | * @param cls the controller handle |
540 | * @param msg message received | 540 | * @param msg message received |
541 | */ | 541 | */ |
542 | static void | 542 | static void |
@@ -594,7 +594,7 @@ handle_peer_create_success ( | |||
594 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_PEER_EVENT message from | 594 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_PEER_EVENT message from |
595 | * controller (testbed service) | 595 | * controller (testbed service) |
596 | * | 596 | * |
597 | * @param c the controller handler | 597 | * @param cls the controller handler |
598 | * @param msg message received | 598 | * @param msg message received |
599 | */ | 599 | */ |
600 | static void | 600 | static void |
@@ -675,7 +675,7 @@ handle_peer_event (void *cls, const struct GNUNET_TESTBED_PeerEventMessage *msg) | |||
675 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_PEER_CONNECT_EVENT message from | 675 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_PEER_CONNECT_EVENT message from |
676 | * controller (testbed service) | 676 | * controller (testbed service) |
677 | * | 677 | * |
678 | * @param c the controller handler | 678 | * @param cls the controller handler |
679 | * @param msg message received | 679 | * @param msg message received |
680 | */ | 680 | */ |
681 | static void | 681 | static void |
@@ -751,7 +751,7 @@ handle_peer_conevent (void *cls, | |||
751 | * Validate #GNUNET_MESSAGE_TYPE_TESTBED_PEER_INFORMATION message from | 751 | * Validate #GNUNET_MESSAGE_TYPE_TESTBED_PEER_INFORMATION message from |
752 | * controller (testbed service) | 752 | * controller (testbed service) |
753 | * | 753 | * |
754 | * @param c the controller handler | 754 | * @param cls the controller handler |
755 | * @param msg message received | 755 | * @param msg message received |
756 | */ | 756 | */ |
757 | static int | 757 | static int |
@@ -768,7 +768,7 @@ check_peer_config ( | |||
768 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_PEER_INFORMATION message from | 768 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_PEER_INFORMATION message from |
769 | * controller (testbed service) | 769 | * controller (testbed service) |
770 | * | 770 | * |
771 | * @param c the controller handler | 771 | * @param cls the controller handler |
772 | * @param msg message received | 772 | * @param msg message received |
773 | */ | 773 | */ |
774 | static void | 774 | static void |
@@ -840,7 +840,7 @@ handle_peer_config ( | |||
840 | * Validate #GNUNET_MESSAGE_TYPE_TESTBED_OPERATION_FAIL_EVENT message from | 840 | * Validate #GNUNET_MESSAGE_TYPE_TESTBED_OPERATION_FAIL_EVENT message from |
841 | * controller (testbed service) | 841 | * controller (testbed service) |
842 | * | 842 | * |
843 | * @param c the controller handler | 843 | * @param cls the controller handler |
844 | * @param msg message received | 844 | * @param msg message received |
845 | * @return #GNUNET_OK if message is well-formed | 845 | * @return #GNUNET_OK if message is well-formed |
846 | */ | 846 | */ |
@@ -858,7 +858,7 @@ check_op_fail_event ( | |||
858 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_OPERATION_FAIL_EVENT message from | 858 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_OPERATION_FAIL_EVENT message from |
859 | * controller (testbed service) | 859 | * controller (testbed service) |
860 | * | 860 | * |
861 | * @param c the controller handler | 861 | * @param cls the controller handler |
862 | * @param msg message received | 862 | * @param msg message received |
863 | */ | 863 | */ |
864 | static void | 864 | static void |
@@ -1037,7 +1037,7 @@ check_slave_config (void *cls, | |||
1037 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_SLAVE_CONFIGURATION message from controller | 1037 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_SLAVE_CONFIGURATION message from controller |
1038 | * (testbed service) | 1038 | * (testbed service) |
1039 | * | 1039 | * |
1040 | * @param c the controller handler | 1040 | * @param cls the controller handler |
1041 | * @param msg message received | 1041 | * @param msg message received |
1042 | */ | 1042 | */ |
1043 | static void | 1043 | static void |
@@ -1099,7 +1099,7 @@ check_link_controllers_result ( | |||
1099 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_LINK_CONTROLLERS_RESULT message from controller | 1099 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_LINK_CONTROLLERS_RESULT message from controller |
1100 | * (testbed service) | 1100 | * (testbed service) |
1101 | * | 1101 | * |
1102 | * @param c the controller handler | 1102 | * @param cls the controller handler |
1103 | * @param msg message received | 1103 | * @param msg message received |
1104 | */ | 1104 | */ |
1105 | static void | 1105 | static void |
@@ -2384,7 +2384,7 @@ GNUNET_TESTBED_barrier_init_ (struct GNUNET_TESTBED_Controller *controller, | |||
2384 | * GNUNET_TESTBED_barrier_reached(). | 2384 | * GNUNET_TESTBED_barrier_reached(). |
2385 | * @param cb the callback to call when the barrier is reached or upon error. | 2385 | * @param cb the callback to call when the barrier is reached or upon error. |
2386 | * Cannot be NULL. | 2386 | * Cannot be NULL. |
2387 | * @param cls closure for the above callback | 2387 | * @param cb_cls closure for the above callback |
2388 | * @return barrier handle; NULL upon error | 2388 | * @return barrier handle; NULL upon error |
2389 | */ | 2389 | */ |
2390 | struct GNUNET_TESTBED_Barrier * | 2390 | struct GNUNET_TESTBED_Barrier * |
@@ -2392,13 +2392,13 @@ GNUNET_TESTBED_barrier_init (struct GNUNET_TESTBED_Controller *controller, | |||
2392 | const char *name, | 2392 | const char *name, |
2393 | unsigned int quorum, | 2393 | unsigned int quorum, |
2394 | GNUNET_TESTBED_barrier_status_cb cb, | 2394 | GNUNET_TESTBED_barrier_status_cb cb, |
2395 | void *cls) | 2395 | void *cb_cls) |
2396 | { | 2396 | { |
2397 | return GNUNET_TESTBED_barrier_init_ (controller, | 2397 | return GNUNET_TESTBED_barrier_init_ (controller, |
2398 | name, | 2398 | name, |
2399 | quorum, | 2399 | quorum, |
2400 | cb, | 2400 | cb, |
2401 | cls, | 2401 | cb_cls, |
2402 | GNUNET_YES); | 2402 | GNUNET_YES); |
2403 | } | 2403 | } |
2404 | 2404 | ||