diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-27 13:42:08 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-27 13:42:08 +0000 |
commit | 8d9e724fe53ec6ddb0a02c2c981ea8ff1379f727 (patch) | |
tree | 00a66c4d85b0a9c640af29b3f303b341bebed5d7 /src/testbed/testbed_api.c | |
parent | 3d3109aa4c8c25d9292e9e94d878121af0084d07 (diff) | |
download | gnunet-8d9e724fe53ec6ddb0a02c2c981ea8ff1379f727.tar.gz gnunet-8d9e724fe53ec6ddb0a02c2c981ea8ff1379f727.zip |
-indentation, doxygen, etc.
Diffstat (limited to 'src/testbed/testbed_api.c')
-rw-r--r-- | src/testbed/testbed_api.c | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c index a3bb3777e..ab9afd83e 100644 --- a/src/testbed/testbed_api.c +++ b/src/testbed/testbed_api.c | |||
@@ -484,12 +484,12 @@ handle_opsuccess (struct GNUNET_TESTBED_Controller *c, | |||
484 | 484 | ||
485 | 485 | ||
486 | /** | 486 | /** |
487 | * Handler for GNUNET_MESSAGE_TYPE_TESTBED_PEERCREATESUCCESS message from | 487 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_PEERCREATESUCCESS message from |
488 | * controller (testbed service) | 488 | * controller (testbed service) |
489 | * | 489 | * |
490 | * @param c the controller handle | 490 | * @param c the controller handle |
491 | * @param msg message received | 491 | * @param msg message received |
492 | * @return GNUNET_YES if we can continue receiving from service; GNUNET_NO if | 492 | * @return #GNUNET_YES if we can continue receiving from service; #GNUNET_NO if |
493 | * not | 493 | * not |
494 | */ | 494 | */ |
495 | static int | 495 | static int |
@@ -543,12 +543,12 @@ handle_peer_create_success (struct GNUNET_TESTBED_Controller *c, | |||
543 | 543 | ||
544 | 544 | ||
545 | /** | 545 | /** |
546 | * Handler for GNUNET_MESSAGE_TYPE_TESTBED_PEEREVENT message from | 546 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_PEEREVENT message from |
547 | * controller (testbed service) | 547 | * controller (testbed service) |
548 | * | 548 | * |
549 | * @param c the controller handler | 549 | * @param c the controller handler |
550 | * @param msg message received | 550 | * @param msg message received |
551 | * @return GNUNET_YES if we can continue receiving from service; GNUNET_NO if | 551 | * @return #GNUNET_YES if we can continue receiving from service; #GNUNET_NO if |
552 | * not | 552 | * not |
553 | */ | 553 | */ |
554 | static int | 554 | static int |
@@ -624,12 +624,12 @@ handle_peer_event (struct GNUNET_TESTBED_Controller *c, | |||
624 | 624 | ||
625 | 625 | ||
626 | /** | 626 | /** |
627 | * Handler for GNUNET_MESSAGE_TYPE_TESTBED_PEERCONEVENT message from | 627 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_PEERCONEVENT message from |
628 | * controller (testbed service) | 628 | * controller (testbed service) |
629 | * | 629 | * |
630 | * @param c the controller handler | 630 | * @param c the controller handler |
631 | * @param msg message received | 631 | * @param msg message received |
632 | * @return GNUNET_YES if we can continue receiving from service; GNUNET_NO if | 632 | * @return #GNUNET_YES if we can continue receiving from service; #GNUNET_NO if |
633 | * not | 633 | * not |
634 | */ | 634 | */ |
635 | static int | 635 | static int |
@@ -699,7 +699,7 @@ handle_peer_conevent (struct GNUNET_TESTBED_Controller *c, | |||
699 | 699 | ||
700 | 700 | ||
701 | /** | 701 | /** |
702 | * Handler for GNUNET_MESSAGE_TYPE_TESTBED_PEERCONFIG message from | 702 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_PEERCONFIG message from |
703 | * controller (testbed service) | 703 | * controller (testbed service) |
704 | * | 704 | * |
705 | * @param c the controller handler | 705 | * @param c the controller handler |
@@ -771,12 +771,12 @@ handle_peer_config (struct GNUNET_TESTBED_Controller *c, | |||
771 | 771 | ||
772 | 772 | ||
773 | /** | 773 | /** |
774 | * Handler for GNUNET_MESSAGE_TYPE_TESTBED_OPERATIONFAILEVENT message from | 774 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_OPERATIONFAILEVENT message from |
775 | * controller (testbed service) | 775 | * controller (testbed service) |
776 | * | 776 | * |
777 | * @param c the controller handler | 777 | * @param c the controller handler |
778 | * @param msg message received | 778 | * @param msg message received |
779 | * @return GNUNET_YES if we can continue receiving from service; GNUNET_NO if | 779 | * @return #GNUNET_YES if we can continue receiving from service; #GNUNET_NO if |
780 | * not | 780 | * not |
781 | */ | 781 | */ |
782 | static int | 782 | static int |
@@ -931,12 +931,12 @@ GNUNET_TESTBED_generate_slavegetconfig_msg_ (uint64_t op_id, uint32_t slave_id) | |||
931 | 931 | ||
932 | 932 | ||
933 | /** | 933 | /** |
934 | * Handler for GNUNET_MESSAGE_TYPE_TESTBED_SLAVECONFIG message from controller | 934 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_SLAVECONFIG message from controller |
935 | * (testbed service) | 935 | * (testbed service) |
936 | * | 936 | * |
937 | * @param c the controller handler | 937 | * @param c the controller handler |
938 | * @param msg message received | 938 | * @param msg message received |
939 | * @return GNUNET_YES if we can continue receiving from service; GNUNET_NO if | 939 | * @return #GNUNET_YES if we can continue receiving from service; #GNUNET_NO if |
940 | * not | 940 | * not |
941 | */ | 941 | */ |
942 | static int | 942 | static int |
@@ -978,12 +978,12 @@ handle_slave_config (struct GNUNET_TESTBED_Controller *c, | |||
978 | 978 | ||
979 | 979 | ||
980 | /** | 980 | /** |
981 | * Handler for GNUNET_MESSAGE_TYPE_TESTBED_SLAVECONFIG message from controller | 981 | * Handler for #GNUNET_MESSAGE_TYPE_TESTBED_SLAVECONFIG message from controller |
982 | * (testbed service) | 982 | * (testbed service) |
983 | * | 983 | * |
984 | * @param c the controller handler | 984 | * @param c the controller handler |
985 | * @param msg message received | 985 | * @param msg message received |
986 | * @return GNUNET_YES if we can continue receiving from service; GNUNET_NO if | 986 | * @return #GNUNET_YES if we can continue receiving from service; #GNUNET_NO if |
987 | * not | 987 | * not |
988 | */ | 988 | */ |
989 | static int | 989 | static int |
@@ -1558,8 +1558,7 @@ opc_free_iterator (void *cls, uint32_t key, void *value) | |||
1558 | * @param c handle to controller to stop | 1558 | * @param c handle to controller to stop |
1559 | */ | 1559 | */ |
1560 | void | 1560 | void |
1561 | GNUNET_TESTBED_controller_disconnect (struct GNUNET_TESTBED_Controller | 1561 | GNUNET_TESTBED_controller_disconnect (struct GNUNET_TESTBED_Controller *c) |
1562 | *c) | ||
1563 | { | 1562 | { |
1564 | struct MessageQueue *mq_entry; | 1563 | struct MessageQueue *mq_entry; |
1565 | 1564 | ||
@@ -1899,11 +1898,11 @@ GNUNET_TESTBED_operation_done (struct GNUNET_TESTBED_Operation *operation) | |||
1899 | /** | 1898 | /** |
1900 | * Generates configuration by uncompressing configuration in given message. The | 1899 | * Generates configuration by uncompressing configuration in given message. The |
1901 | * given message should be of the following types: | 1900 | * given message should be of the following types: |
1902 | * GNUNET_MESSAGE_TYPE_TESTBED_PEER_INFORMATION, | 1901 | * #GNUNET_MESSAGE_TYPE_TESTBED_PEER_INFORMATION, |
1903 | * GNUNET_MESSAGE_TYPE_TESTBED_SLAVE_CONFIGURATION, | 1902 | * #GNUNET_MESSAGE_TYPE_TESTBED_SLAVE_CONFIGURATION, |
1904 | * GNUNET_MESSAGE_TYPE_TESTBED_ADD_HOST, | 1903 | * #GNUNET_MESSAGE_TYPE_TESTBED_ADD_HOST, |
1905 | * GNUNET_MESSAGE_TYPE_TESTBED_LINK_CONTROLLERS, | 1904 | * #GNUNET_MESSAGE_TYPE_TESTBED_LINK_CONTROLLERS, |
1906 | * GNUNET_MESSAGE_TYPE_TESTBED_LINK_CONTROLLERS_RESULT, | 1905 | * #GNUNET_MESSAGE_TYPE_TESTBED_LINK_CONTROLLERS_RESULT, |
1907 | * | 1906 | * |
1908 | * @param msg the message containing compressed configuration | 1907 | * @param msg the message containing compressed configuration |
1909 | * @return handle to the parsed configuration; NULL upon error while parsing the message | 1908 | * @return handle to the parsed configuration; NULL upon error while parsing the message |