diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-01-30 08:29:58 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-01-30 08:29:58 +0000 |
commit | 5fcfc5b84691d1abb216ba5d5ab4b6b8a1f807f4 (patch) | |
tree | b76f2ba3dbe5c4495e16b401d92b177bcbd71f0c /src/ats-tests/ats-testing.c | |
parent | 1c45def2ce88a925031cf6fcc24fa3cfce6a7075 (diff) | |
download | gnunet-5fcfc5b84691d1abb216ba5d5ab4b6b8a1f807f4.tar.gz gnunet-5fcfc5b84691d1abb216ba5d5ab4b6b8a1f807f4.zip |
documentation
Diffstat (limited to 'src/ats-tests/ats-testing.c')
-rw-r--r-- | src/ats-tests/ats-testing.c | 16 |
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 | */ | ||
840 | void | 853 | void |
841 | GNUNET_ATS_TEST_create_topology (char *name, char *cfg_file, | 854 | GNUNET_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 | */ | ||
879 | void | 895 | void |
880 | GNUNET_ATS_TEST_shutdown_topology (void) | 896 | GNUNET_ATS_TEST_shutdown_topology (void) |
881 | { | 897 | { |