aboutsummaryrefslogtreecommitdiff
path: root/src/ats-tests/ats-testing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats-tests/ats-testing.c')
-rw-r--r--src/ats-tests/ats-testing.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ats-tests/ats-testing.c b/src/ats-tests/ats-testing.c
index fea04f41b..381dd7bb6 100644
--- a/src/ats-tests/ats-testing.c
+++ b/src/ats-tests/ats-testing.c
@@ -837,6 +837,19 @@ controller_event_cb (void *cls,
837} 837}
838 838
839 839
840/**
841 * Create a topology for ats testing
842 *
843 * @param name test name
844 * @param cfg_file configuration file to use for the peers
845 * @param num_slaves number of slaves
846 * @param num_masters number of masters
847 * @param test_core connect to CORE service (GNUNET_YES) or transport (GNUNET_NO)
848 * @param done_cb function to call when topology is setup
849 * @param done_cb_cls cls for callback
850 * @param recv_cb callback to call when data are received
851 * @param perf_cb callback to call when performance info are received
852 */
840void 853void
841GNUNET_ATS_TEST_create_topology (char *name, char *cfg_file, 854GNUNET_ATS_TEST_create_topology (char *name, char *cfg_file,
842 unsigned int num_slaves, 855 unsigned int num_slaves,
@@ -876,6 +889,9 @@ GNUNET_ATS_TEST_create_topology (char *name, char *cfg_file,
876 &main_run, NULL); 889 &main_run, NULL);
877} 890}
878 891
892/**
893 * Shutdown topology
894 */
879void 895void
880GNUNET_ATS_TEST_shutdown_topology (void) 896GNUNET_ATS_TEST_shutdown_topology (void)
881{ 897{