diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
commit | 7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch) | |
tree | bdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/testbed | |
parent | 01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff) | |
download | gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip |
tighten formatting rules
Diffstat (limited to 'src/testbed')
36 files changed, 45 insertions, 26 deletions
diff --git a/src/testbed/gnunet-daemon-latency-logger.c b/src/testbed/gnunet-daemon-latency-logger.c index c35282048..be6efaedf 100644 --- a/src/testbed/gnunet-daemon-latency-logger.c +++ b/src/testbed/gnunet-daemon-latency-logger.c | |||
@@ -150,6 +150,7 @@ do_shutdown (void *cls) | |||
150 | } | 150 | } |
151 | } | 151 | } |
152 | 152 | ||
153 | |||
153 | /** | 154 | /** |
154 | * Signature of a function that is called with QoS information about an address. | 155 | * Signature of a function that is called with QoS information about an address. |
155 | * | 156 | * |
diff --git a/src/testbed/gnunet-helper-testbed.c b/src/testbed/gnunet-helper-testbed.c index f7d089d93..4c1637db6 100644 --- a/src/testbed/gnunet-helper-testbed.c +++ b/src/testbed/gnunet-helper-testbed.c | |||
@@ -616,4 +616,5 @@ main (int argc, char **argv) | |||
616 | return (GNUNET_OK == status) ? 0 : 1; | 616 | return (GNUNET_OK == status) ? 0 : 1; |
617 | } | 617 | } |
618 | 618 | ||
619 | |||
619 | /* end of gnunet-helper-testbed.c */ | 620 | /* end of gnunet-helper-testbed.c */ |
diff --git a/src/testbed/gnunet-service-test-barriers.c b/src/testbed/gnunet-service-test-barriers.c index b28f343a1..c6c42cd1f 100644 --- a/src/testbed/gnunet-service-test-barriers.c +++ b/src/testbed/gnunet-service-test-barriers.c | |||
@@ -130,7 +130,6 @@ run (void *cls, | |||
130 | } | 130 | } |
131 | 131 | ||
132 | 132 | ||
133 | |||
134 | /** | 133 | /** |
135 | * Main | 134 | * Main |
136 | */ | 135 | */ |
diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c index b34550339..21a9d0a51 100644 --- a/src/testbed/gnunet-service-testbed.c +++ b/src/testbed/gnunet-service-testbed.c | |||
@@ -836,8 +836,7 @@ client_disconnect_cb (void *cls, | |||
836 | * from stdin, but if stdin fails for some reason, this shouldn't | 836 | * from stdin, but if stdin fails for some reason, this shouldn't |
837 | * hurt for now --- might need to revise this later if we ever | 837 | * hurt for now --- might need to revise this later if we ever |
838 | * decide that master connections might be temporarily down | 838 | * decide that master connections might be temporarily down |
839 | * for some reason */ | 839 | * for some reason */// GNUNET_SCHEDULER_shutdown (); |
840 | // GNUNET_SCHEDULER_shutdown (); | ||
841 | } | 840 | } |
842 | } | 841 | } |
843 | 842 | ||
diff --git a/src/testbed/gnunet-service-testbed.h b/src/testbed/gnunet-service-testbed.h index 032dd54ed..03955327c 100644 --- a/src/testbed/gnunet-service-testbed.h +++ b/src/testbed/gnunet-service-testbed.h | |||
@@ -757,8 +757,6 @@ handle_manage_peer_service (void *cls, | |||
757 | GNUNET_TESTBED_ManagePeerServiceMessage *msg); | 757 | GNUNET_TESTBED_ManagePeerServiceMessage *msg); |
758 | 758 | ||
759 | 759 | ||
760 | |||
761 | |||
762 | /** | 760 | /** |
763 | * Check #GNUNET_MESSAGE_TYPDE_TESTBED_RECONFIGURE_PEER type messages. | 761 | * Check #GNUNET_MESSAGE_TYPDE_TESTBED_RECONFIGURE_PEER type messages. |
764 | * | 762 | * |
diff --git a/src/testbed/gnunet-service-testbed_barriers.c b/src/testbed/gnunet-service-testbed_barriers.c index 7ea1df662..ac89abc88 100644 --- a/src/testbed/gnunet-service-testbed_barriers.c +++ b/src/testbed/gnunet-service-testbed_barriers.c | |||
@@ -616,7 +616,6 @@ fwd_tout_barrier_init (void *cls) | |||
616 | } | 616 | } |
617 | 617 | ||
618 | 618 | ||
619 | |||
620 | /** | 619 | /** |
621 | * Check #GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_INIT messages. | 620 | * Check #GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_INIT messages. |
622 | * | 621 | * |
@@ -923,4 +922,5 @@ handle_barrier_status (void *cls, | |||
923 | } | 922 | } |
924 | } | 923 | } |
925 | 924 | ||
925 | |||
926 | /* end of gnunet-service-testbed_barriers.c */ | 926 | /* end of gnunet-service-testbed_barriers.c */ |
diff --git a/src/testbed/gnunet-service-testbed_cache.c b/src/testbed/gnunet-service-testbed_cache.c index 4afa06645..f87f39067 100644 --- a/src/testbed/gnunet-service-testbed_cache.c +++ b/src/testbed/gnunet-service-testbed_cache.c | |||
@@ -265,4 +265,5 @@ GST_cache_add_hello (const unsigned int peer_id, | |||
265 | entry->hello = GNUNET_copy_message (hello); | 265 | entry->hello = GNUNET_copy_message (hello); |
266 | } | 266 | } |
267 | 267 | ||
268 | |||
268 | /* end of gnunet-service-testbed_hc.c */ | 269 | /* end of gnunet-service-testbed_hc.c */ |
diff --git a/src/testbed/gnunet-service-testbed_cpustatus.c b/src/testbed/gnunet-service-testbed_cpustatus.c index ae6450176..f38b9aee6 100644 --- a/src/testbed/gnunet-service-testbed_cpustatus.c +++ b/src/testbed/gnunet-service-testbed_cpustatus.c | |||
@@ -118,6 +118,8 @@ initMachCpuStats () | |||
118 | (vm_size_t) (cpu_msg_count * sizeof(*cpu_load))); | 118 | (vm_size_t) (cpu_msg_count * sizeof(*cpu_load))); |
119 | return GNUNET_OK; | 119 | return GNUNET_OK; |
120 | } | 120 | } |
121 | |||
122 | |||
121 | #endif | 123 | #endif |
122 | 124 | ||
123 | /** | 125 | /** |
@@ -464,6 +466,7 @@ updateAgedLoad () | |||
464 | } | 466 | } |
465 | } | 467 | } |
466 | 468 | ||
469 | |||
467 | /** | 470 | /** |
468 | * Get the load of the CPU relative to what is allowed. | 471 | * Get the load of the CPU relative to what is allowed. |
469 | * @return the CPU load as a percentage of allowed | 472 | * @return the CPU load as a percentage of allowed |
@@ -489,6 +492,7 @@ disk_get_load () | |||
489 | return (int) agedIOLoad; | 492 | return (int) agedIOLoad; |
490 | } | 493 | } |
491 | 494 | ||
495 | |||
492 | /** | 496 | /** |
493 | * Get the percentage of memory used | 497 | * Get the percentage of memory used |
494 | * | 498 | * |
@@ -531,6 +535,8 @@ get_nproc () | |||
531 | closedir (dir); | 535 | closedir (dir); |
532 | return nproc; | 536 | return nproc; |
533 | } | 537 | } |
538 | |||
539 | |||
534 | #endif | 540 | #endif |
535 | 541 | ||
536 | 542 | ||
@@ -654,4 +660,5 @@ GST_stats_destroy () | |||
654 | bw = NULL; | 660 | bw = NULL; |
655 | } | 661 | } |
656 | 662 | ||
663 | |||
657 | /* end of cpustatus.c */ | 664 | /* end of cpustatus.c */ |
diff --git a/src/testbed/gnunet-service-testbed_meminfo.c b/src/testbed/gnunet-service-testbed_meminfo.c index 5afce288b..1a513db6c 100644 --- a/src/testbed/gnunet-service-testbed_meminfo.c +++ b/src/testbed/gnunet-service-testbed_meminfo.c | |||
@@ -102,13 +102,15 @@ typedef struct mem_table_struct | |||
102 | unsigned long *slot; /* slot in return struct */ | 102 | unsigned long *slot; /* slot in return struct */ |
103 | } mem_table_struct; | 103 | } mem_table_struct; |
104 | 104 | ||
105 | static int compare_mem_table_structs (const void *a, const void *b) | 105 | static int |
106 | compare_mem_table_structs (const void *a, const void *b) | ||
106 | { | 107 | { |
107 | return strcmp (((const mem_table_struct*) a)->name, ((const | 108 | return strcmp (((const mem_table_struct*) a)->name, ((const |
108 | mem_table_struct*) b)-> | 109 | mem_table_struct*) b)-> |
109 | name); | 110 | name); |
110 | } | 111 | } |
111 | 112 | ||
113 | |||
112 | /* example data, following junk, with comments added: | 114 | /* example data, following junk, with comments added: |
113 | * | 115 | * |
114 | * MemTotal: 61768 kB old | 116 | * MemTotal: 61768 kB old |
@@ -186,7 +188,8 @@ static unsigned long kb_nfs_unstable; | |||
186 | static unsigned long kb_swap_reclaimable; | 188 | static unsigned long kb_swap_reclaimable; |
187 | static unsigned long kb_swap_unreclaimable; | 189 | static unsigned long kb_swap_unreclaimable; |
188 | 190 | ||
189 | void meminfo (void) | 191 | void |
192 | meminfo (void) | ||
190 | { | 193 | { |
191 | char namebuf[16]; /* big enough to hold any row name */ | 194 | char namebuf[16]; /* big enough to hold any row name */ |
192 | mem_table_struct findme = { namebuf, NULL }; | 195 | mem_table_struct findme = { namebuf, NULL }; |
diff --git a/src/testbed/gnunet-service-testbed_oc.c b/src/testbed/gnunet-service-testbed_oc.c index 817a8b2fc..262fcfc00 100644 --- a/src/testbed/gnunet-service-testbed_oc.c +++ b/src/testbed/gnunet-service-testbed_oc.c | |||
@@ -515,6 +515,7 @@ cleanup_occ_rp2c (struct RemotePeer2Context *rp2c) | |||
515 | } | 515 | } |
516 | } | 516 | } |
517 | 517 | ||
518 | |||
518 | /** | 519 | /** |
519 | * Condition for checking if given peer is ready to be destroyed | 520 | * Condition for checking if given peer is ready to be destroyed |
520 | * | 521 | * |
@@ -645,8 +646,6 @@ GST_notify_client_disconnect_oc (struct GNUNET_SERVICE_Client *client) | |||
645 | } | 646 | } |
646 | 647 | ||
647 | 648 | ||
648 | |||
649 | |||
650 | /** | 649 | /** |
651 | * FIXME. | 650 | * FIXME. |
652 | */ | 651 | */ |
diff --git a/src/testbed/gnunet-service-testbed_peers.c b/src/testbed/gnunet-service-testbed_peers.c index 836f05464..d3d597d4f 100644 --- a/src/testbed/gnunet-service-testbed_peers.c +++ b/src/testbed/gnunet-service-testbed_peers.c | |||
@@ -148,7 +148,6 @@ static struct PeerReconfigureContext *prc_head; | |||
148 | static struct PeerReconfigureContext *prc_tail; | 148 | static struct PeerReconfigureContext *prc_tail; |
149 | 149 | ||
150 | 150 | ||
151 | |||
152 | /** | 151 | /** |
153 | * DLL head for queue of manage service requests | 152 | * DLL head for queue of manage service requests |
154 | */ | 153 | */ |
diff --git a/src/testbed/test_gnunet_helper_testbed.c b/src/testbed/test_gnunet_helper_testbed.c index caf33c71b..7c4d4bad5 100644 --- a/src/testbed/test_gnunet_helper_testbed.c +++ b/src/testbed/test_gnunet_helper_testbed.c | |||
@@ -251,4 +251,5 @@ main (int argc, char **argv) | |||
251 | return (GNUNET_OK == result) ? 0 : 1; | 251 | return (GNUNET_OK == result) ? 0 : 1; |
252 | } | 252 | } |
253 | 253 | ||
254 | |||
254 | /* end of test_gnunet_helper_testbed.c */ | 255 | /* end of test_gnunet_helper_testbed.c */ |
diff --git a/src/testbed/test_testbed_api.c b/src/testbed/test_testbed_api.c index ad71aa35e..dd270df17 100644 --- a/src/testbed/test_testbed_api.c +++ b/src/testbed/test_testbed_api.c | |||
@@ -262,7 +262,6 @@ service_connect_comp_cb (void *cls, | |||
262 | } | 262 | } |
263 | 263 | ||
264 | 264 | ||
265 | |||
266 | /** | 265 | /** |
267 | * Callback to be called when the requested peer information is available | 266 | * Callback to be called when the requested peer information is available |
268 | * | 267 | * |
@@ -460,7 +459,6 @@ status_cb (void *cls, | |||
460 | } | 459 | } |
461 | 460 | ||
462 | 461 | ||
463 | |||
464 | /** | 462 | /** |
465 | * Main run function. | 463 | * Main run function. |
466 | * | 464 | * |
@@ -513,4 +511,5 @@ main (int argc, char **argv) | |||
513 | return 0; | 511 | return 0; |
514 | } | 512 | } |
515 | 513 | ||
514 | |||
516 | /* end of test_testbed_api.c */ | 515 | /* end of test_testbed_api.c */ |
diff --git a/src/testbed/test_testbed_api_2peers_1controller.c b/src/testbed/test_testbed_api_2peers_1controller.c index de56ec88a..c854d1ccc 100644 --- a/src/testbed/test_testbed_api_2peers_1controller.c +++ b/src/testbed/test_testbed_api_2peers_1controller.c | |||
@@ -487,7 +487,6 @@ status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg_, int | |||
487 | } | 487 | } |
488 | 488 | ||
489 | 489 | ||
490 | |||
491 | /** | 490 | /** |
492 | * Main run function. | 491 | * Main run function. |
493 | * | 492 | * |
@@ -537,4 +536,5 @@ main (int argc, char **argv) | |||
537 | return 0; | 536 | return 0; |
538 | } | 537 | } |
539 | 538 | ||
539 | |||
540 | /* end of test_testbed_api_2peers_1controller.c */ | 540 | /* end of test_testbed_api_2peers_1controller.c */ |
diff --git a/src/testbed/test_testbed_api_3peers_3controllers.c b/src/testbed/test_testbed_api_3peers_3controllers.c index 1de635fd9..bf9011941 100644 --- a/src/testbed/test_testbed_api_3peers_3controllers.c +++ b/src/testbed/test_testbed_api_3peers_3controllers.c | |||
@@ -960,4 +960,5 @@ main (int argc, char **argv) | |||
960 | } | 960 | } |
961 | } | 961 | } |
962 | 962 | ||
963 | |||
963 | /* end of test_testbed_api_3peers_3controllers.c */ | 964 | /* end of test_testbed_api_3peers_3controllers.c */ |
diff --git a/src/testbed/test_testbed_api_controllerlink.c b/src/testbed/test_testbed_api_controllerlink.c index 55ec184ea..16a3f7b91 100644 --- a/src/testbed/test_testbed_api_controllerlink.c +++ b/src/testbed/test_testbed_api_controllerlink.c | |||
@@ -725,6 +725,7 @@ registration_cont (void *cls, const char *emsg) | |||
725 | } | 725 | } |
726 | } | 726 | } |
727 | 727 | ||
728 | |||
728 | /** | 729 | /** |
729 | * Callback to signal successfull startup of the controller process | 730 | * Callback to signal successfull startup of the controller process |
730 | * | 731 | * |
@@ -876,4 +877,5 @@ main (int argc, char **argv) | |||
876 | } | 877 | } |
877 | } | 878 | } |
878 | 879 | ||
880 | |||
879 | /* end of test_testbed_api_controllerlink.c */ | 881 | /* end of test_testbed_api_controllerlink.c */ |
diff --git a/src/testbed/test_testbed_api_hosts.c b/src/testbed/test_testbed_api_hosts.c index 9c2a96fb7..9e49debf7 100644 --- a/src/testbed/test_testbed_api_hosts.c +++ b/src/testbed/test_testbed_api_hosts.c | |||
@@ -179,4 +179,5 @@ main (int argc, char **argv) | |||
179 | return (GNUNET_OK == status) ? 0 : 1; | 179 | return (GNUNET_OK == status) ? 0 : 1; |
180 | } | 180 | } |
181 | 181 | ||
182 | |||
182 | /* end of test_testbed_api_hosts.c */ | 183 | /* end of test_testbed_api_hosts.c */ |
diff --git a/src/testbed/test_testbed_api_operations.c b/src/testbed/test_testbed_api_operations.c index 832a42576..aed213d49 100644 --- a/src/testbed/test_testbed_api_operations.c +++ b/src/testbed/test_testbed_api_operations.c | |||
@@ -564,4 +564,5 @@ main (int argc, char **argv) | |||
564 | return 0; | 564 | return 0; |
565 | } | 565 | } |
566 | 566 | ||
567 | |||
567 | /* end of test_testbed_api_operations.c */ | 568 | /* end of test_testbed_api_operations.c */ |
diff --git a/src/testbed/test_testbed_api_sd.c b/src/testbed/test_testbed_api_sd.c index f7c60ea4d..816f8e9a6 100644 --- a/src/testbed/test_testbed_api_sd.c +++ b/src/testbed/test_testbed_api_sd.c | |||
@@ -107,4 +107,5 @@ main (int argc, char **argv) | |||
107 | return ret; | 107 | return ret; |
108 | } | 108 | } |
109 | 109 | ||
110 | |||
110 | /* end of test_testbed_api_sd.c */ | 111 | /* end of test_testbed_api_sd.c */ |
diff --git a/src/testbed/test_testbed_api_test.c b/src/testbed/test_testbed_api_test.c index f0d8d1d25..d3fec78d9 100644 --- a/src/testbed/test_testbed_api_test.c +++ b/src/testbed/test_testbed_api_test.c | |||
@@ -82,6 +82,7 @@ do_shutdown (void *cls) | |||
82 | GNUNET_SCHEDULER_shutdown (); | 82 | GNUNET_SCHEDULER_shutdown (); |
83 | } | 83 | } |
84 | 84 | ||
85 | |||
85 | /** | 86 | /** |
86 | * shortcut to exit during failure | 87 | * shortcut to exit during failure |
87 | */ | 88 | */ |
@@ -246,4 +247,5 @@ main (int argc, char **argv) | |||
246 | return 0; | 247 | return 0; |
247 | } | 248 | } |
248 | 249 | ||
250 | |||
249 | /* end of test_testbed_api_test.c */ | 251 | /* end of test_testbed_api_test.c */ |
diff --git a/src/testbed/test_testbed_api_test_timeout.c b/src/testbed/test_testbed_api_test_timeout.c index 65cda0b33..d2f73df14 100644 --- a/src/testbed/test_testbed_api_test_timeout.c +++ b/src/testbed/test_testbed_api_test_timeout.c | |||
@@ -122,4 +122,5 @@ main (int argc, char **argv) | |||
122 | return 0; | 122 | return 0; |
123 | } | 123 | } |
124 | 124 | ||
125 | |||
125 | /* end of test_testbed_api_test.c */ | 126 | /* end of test_testbed_api_test.c */ |
diff --git a/src/testbed/test_testbed_api_testbed_run.c b/src/testbed/test_testbed_api_testbed_run.c index 66f857222..fda5c3223 100644 --- a/src/testbed/test_testbed_api_testbed_run.c +++ b/src/testbed/test_testbed_api_testbed_run.c | |||
@@ -238,4 +238,5 @@ main (int argc, char **argv) | |||
238 | return 0; | 238 | return 0; |
239 | } | 239 | } |
240 | 240 | ||
241 | |||
241 | /* end of test_testbed_api_testbed_run.c */ | 242 | /* end of test_testbed_api_testbed_run.c */ |
diff --git a/src/testbed/test_testbed_api_topology.c b/src/testbed/test_testbed_api_topology.c index 1fa13bf4f..dada7286f 100644 --- a/src/testbed/test_testbed_api_topology.c +++ b/src/testbed/test_testbed_api_topology.c | |||
@@ -76,6 +76,7 @@ do_shutdown (void *cls) | |||
76 | GNUNET_SCHEDULER_shutdown (); | 76 | GNUNET_SCHEDULER_shutdown (); |
77 | } | 77 | } |
78 | 78 | ||
79 | |||
79 | /** | 80 | /** |
80 | * Controller event callback | 81 | * Controller event callback |
81 | * | 82 | * |
@@ -184,4 +185,5 @@ main (int argc, char **argv) | |||
184 | return 0; | 185 | return 0; |
185 | } | 186 | } |
186 | 187 | ||
188 | |||
187 | /* end of test_testbed_api_topology.c */ | 189 | /* end of test_testbed_api_topology.c */ |
diff --git a/src/testbed/test_testbed_api_topology_clique.c b/src/testbed/test_testbed_api_topology_clique.c index 33569a2b9..33c21a69c 100644 --- a/src/testbed/test_testbed_api_topology_clique.c +++ b/src/testbed/test_testbed_api_topology_clique.c | |||
@@ -76,6 +76,7 @@ do_shutdown (void *cls) | |||
76 | GNUNET_SCHEDULER_shutdown (); | 76 | GNUNET_SCHEDULER_shutdown (); |
77 | } | 77 | } |
78 | 78 | ||
79 | |||
79 | /** | 80 | /** |
80 | * Controller event callback | 81 | * Controller event callback |
81 | * | 82 | * |
@@ -180,4 +181,5 @@ main (int argc, char **argv) | |||
180 | return 0; | 181 | return 0; |
181 | } | 182 | } |
182 | 183 | ||
184 | |||
183 | /* end of test_testbed_api_topology.c */ | 185 | /* end of test_testbed_api_topology.c */ |
diff --git a/src/testbed/test_testbed_underlay.c b/src/testbed/test_testbed_underlay.c index e0434379b..8b706ff83 100644 --- a/src/testbed/test_testbed_underlay.c +++ b/src/testbed/test_testbed_underlay.c | |||
@@ -86,7 +86,6 @@ overlay_connect_status (void *cls, | |||
86 | } | 86 | } |
87 | 87 | ||
88 | 88 | ||
89 | |||
90 | /** | 89 | /** |
91 | * Signature of a main function for a testcase. | 90 | * Signature of a main function for a testcase. |
92 | * | 91 | * |
diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c index 38913509b..9fe5bccdc 100644 --- a/src/testbed/testbed_api.c +++ b/src/testbed/testbed_api.c | |||
@@ -1320,8 +1320,7 @@ cleanup: | |||
1320 | * required at the chained testbed controller setup to ensure the only the | 1320 | * required at the chained testbed controller setup to ensure the only the |
1321 | * test-driver echos the status and the controller hierarchy properly | 1321 | * test-driver echos the status and the controller hierarchy properly |
1322 | * propagates the status. | 1322 | * propagates the status. |
1323 | */ | 1323 | */if ((NULL != barrier) && (GNUNET_YES == barrier->echo)) |
1324 | if ((NULL != barrier) && (GNUNET_YES == barrier->echo)) | ||
1325 | GNUNET_TESTBED_barrier_remove_ (barrier); | 1324 | GNUNET_TESTBED_barrier_remove_ (barrier); |
1326 | } | 1325 | } |
1327 | 1326 | ||
diff --git a/src/testbed/testbed_api.h b/src/testbed/testbed_api.h index 023d772a0..17cd38df3 100644 --- a/src/testbed/testbed_api.h +++ b/src/testbed/testbed_api.h | |||
@@ -105,7 +105,6 @@ enum OperationType | |||
105 | }; | 105 | }; |
106 | 106 | ||
107 | 107 | ||
108 | |||
109 | /** | 108 | /** |
110 | * Enumeration of states of OperationContext | 109 | * Enumeration of states of OperationContext |
111 | */ | 110 | */ |
@@ -309,7 +308,6 @@ struct GNUNET_TESTBED_Barrier | |||
309 | }; | 308 | }; |
310 | 309 | ||
311 | 310 | ||
312 | |||
313 | /** | 311 | /** |
314 | * Queues a message in send queue for sending to the service | 312 | * Queues a message in send queue for sending to the service |
315 | * | 313 | * |
@@ -484,7 +482,6 @@ GNUNET_TESTBED_get_slave_config_ (void *op_cls, | |||
484 | uint32_t slave_host_id); | 482 | uint32_t slave_host_id); |
485 | 483 | ||
486 | 484 | ||
487 | |||
488 | /** | 485 | /** |
489 | * Initialise a barrier and call the given callback when the required percentage | 486 | * Initialise a barrier and call the given callback when the required percentage |
490 | * of peers (quorum) reach the barrier OR upon error. | 487 | * of peers (quorum) reach the barrier OR upon error. |
@@ -520,6 +517,5 @@ void | |||
520 | GNUNET_TESTBED_barrier_remove_ (struct GNUNET_TESTBED_Barrier *barrier); | 517 | GNUNET_TESTBED_barrier_remove_ (struct GNUNET_TESTBED_Barrier *barrier); |
521 | 518 | ||
522 | 519 | ||
523 | |||
524 | #endif | 520 | #endif |
525 | /* end of testbed_api.h */ | 521 | /* end of testbed_api.h */ |
diff --git a/src/testbed/testbed_api_barriers.c b/src/testbed/testbed_api_barriers.c index 988fa7a1e..61578c1e6 100644 --- a/src/testbed/testbed_api_barriers.c +++ b/src/testbed/testbed_api_barriers.c | |||
@@ -72,7 +72,6 @@ struct GNUNET_TESTBED_BarrierWaitHandle | |||
72 | }; | 72 | }; |
73 | 73 | ||
74 | 74 | ||
75 | |||
76 | /** | 75 | /** |
77 | * Check if barrier status message is well-formed. | 76 | * Check if barrier status message is well-formed. |
78 | * | 77 | * |
@@ -261,4 +260,5 @@ GNUNET_TESTBED_barrier_wait_cancel (struct GNUNET_TESTBED_BarrierWaitHandle *h) | |||
261 | GNUNET_free (h); | 260 | GNUNET_free (h); |
262 | } | 261 | } |
263 | 262 | ||
263 | |||
264 | /* end of testbed_api_barriers.c */ | 264 | /* end of testbed_api_barriers.c */ |
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c index fdff952a0..95463e44d 100644 --- a/src/testbed/testbed_api_hosts.c +++ b/src/testbed/testbed_api_hosts.c | |||
@@ -1570,4 +1570,5 @@ GNUNET_TESTBED_host_resolve_ (struct GNUNET_TESTBED_Host *host) | |||
1570 | host->hostname = GNUNET_strdup (host->hostname); | 1570 | host->hostname = GNUNET_strdup (host->hostname); |
1571 | } | 1571 | } |
1572 | 1572 | ||
1573 | |||
1573 | /* end of testbed_api_hosts.c */ | 1574 | /* end of testbed_api_hosts.c */ |
diff --git a/src/testbed/testbed_api_operations.c b/src/testbed/testbed_api_operations.c index 185f62aa8..a406c0e0b 100644 --- a/src/testbed/testbed_api_operations.c +++ b/src/testbed/testbed_api_operations.c | |||
@@ -746,7 +746,6 @@ merge_ops (struct GNUNET_TESTBED_Operation ***old, | |||
746 | } | 746 | } |
747 | 747 | ||
748 | 748 | ||
749 | |||
750 | /** | 749 | /** |
751 | * Checks for the readiness of an operation and schedules a operation start task | 750 | * Checks for the readiness of an operation and schedules a operation start task |
752 | * | 751 | * |
@@ -1383,4 +1382,6 @@ GNUNET_TESTBED_operations_fini () | |||
1383 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1382 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1384 | "Be disciplined. Some operations were not marked as done.\n"); | 1383 | "Be disciplined. Some operations were not marked as done.\n"); |
1385 | } | 1384 | } |
1385 | |||
1386 | |||
1386 | /* end of testbed_api_operations.c */ | 1387 | /* end of testbed_api_operations.c */ |
diff --git a/src/testbed/testbed_api_peers.c b/src/testbed/testbed_api_peers.c index 8d74d956f..7bd895871 100644 --- a/src/testbed/testbed_api_peers.c +++ b/src/testbed/testbed_api_peers.c | |||
@@ -85,7 +85,6 @@ GNUNET_TESTBED_cleanup_peers_ (void) | |||
85 | } | 85 | } |
86 | 86 | ||
87 | 87 | ||
88 | |||
89 | /** | 88 | /** |
90 | * Function to call to start a peer_create type operation once all | 89 | * Function to call to start a peer_create type operation once all |
91 | * queues the operation is part of declare that the | 90 | * queues the operation is part of declare that the |
@@ -1014,5 +1013,4 @@ GNUNET_TESTBED_peer_manage_service (void *op_cls, | |||
1014 | } | 1013 | } |
1015 | 1014 | ||
1016 | 1015 | ||
1017 | |||
1018 | /* end of testbed_api_peers.c */ | 1016 | /* end of testbed_api_peers.c */ |
diff --git a/src/testbed/testbed_api_sd.c b/src/testbed/testbed_api_sd.c index 9a40464d7..59c7a3ebd 100644 --- a/src/testbed/testbed_api_sd.c +++ b/src/testbed/testbed_api_sd.c | |||
@@ -209,4 +209,5 @@ GNUNET_TESTBED_SD_deviation_factor_ (struct SDHandle *h, unsigned int amount, | |||
209 | return GNUNET_OK; | 209 | return GNUNET_OK; |
210 | } | 210 | } |
211 | 211 | ||
212 | |||
212 | /* end of testbed_api_sd.c */ | 213 | /* end of testbed_api_sd.c */ |
diff --git a/src/testbed/testbed_api_services.c b/src/testbed/testbed_api_services.c index 692fe505f..2c9a90fd4 100644 --- a/src/testbed/testbed_api_services.c +++ b/src/testbed/testbed_api_services.c | |||
@@ -287,4 +287,5 @@ GNUNET_TESTBED_service_connect (void *op_cls, struct GNUNET_TESTBED_Peer *peer, | |||
287 | return data->operation; | 287 | return data->operation; |
288 | } | 288 | } |
289 | 289 | ||
290 | |||
290 | /* end of testbed_api_services.c */ | 291 | /* end of testbed_api_services.c */ |
diff --git a/src/testbed/testbed_api_test.c b/src/testbed/testbed_api_test.c index 5b57826ba..6179a23ef 100644 --- a/src/testbed/testbed_api_test.c +++ b/src/testbed/testbed_api_test.c | |||
@@ -159,4 +159,5 @@ GNUNET_TESTBED_test_run (const char *testname, | |||
159 | return ret; | 159 | return ret; |
160 | } | 160 | } |
161 | 161 | ||
162 | |||
162 | /* end of testbed_api_test.c */ | 163 | /* end of testbed_api_test.c */ |
diff --git a/src/testbed/testbed_api_testbed.c b/src/testbed/testbed_api_testbed.c index 3c56dd024..7be8054ca 100644 --- a/src/testbed/testbed_api_testbed.c +++ b/src/testbed/testbed_api_testbed.c | |||
@@ -446,6 +446,7 @@ remove_rcop (struct GNUNET_TESTBED_RunHandle *rc, struct | |||
446 | rcop)); | 446 | rcop)); |
447 | } | 447 | } |
448 | 448 | ||
449 | |||
449 | /** | 450 | /** |
450 | * Assuming all peers have been destroyed cleanup run handle | 451 | * Assuming all peers have been destroyed cleanup run handle |
451 | * | 452 | * |
diff --git a/src/testbed/testbed_api_topology.c b/src/testbed/testbed_api_topology.c index 191dbab66..9ffe7f47d 100644 --- a/src/testbed/testbed_api_topology.c +++ b/src/testbed/testbed_api_topology.c | |||
@@ -407,7 +407,6 @@ overlay_link_completed (void *cls, | |||
407 | } | 407 | } |
408 | 408 | ||
409 | 409 | ||
410 | |||
411 | /** | 410 | /** |
412 | * Function called when a overlay connect operation is ready | 411 | * Function called when a overlay connect operation is ready |
413 | * | 412 | * |
@@ -1658,4 +1657,5 @@ GNUNET_TESTBED_underlay_construct_ (int num_peers, | |||
1658 | return ret; | 1657 | return ret; |
1659 | } | 1658 | } |
1660 | 1659 | ||
1660 | |||
1661 | /* end of testbed_api_topology.c */ | 1661 | /* end of testbed_api_topology.c */ |