aboutsummaryrefslogtreecommitdiff
path: root/src/ats-tests/ats-testing.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-02-03 12:36:25 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-02-03 12:36:25 +0000
commit23c87f2aea815cbd6078ab75b5b8fe8cf8f6ee31 (patch)
treeaf24b05a1b2f4a2829ee044b7e7c7161df6e9989 /src/ats-tests/ats-testing.h
parentc25e21e16f0079b94b4ee71240013e16b425240d (diff)
downloadgnunet-23c87f2aea815cbd6078ab75b5b8fe8cf8f6ee31.tar.gz
gnunet-23c87f2aea815cbd6078ab75b5b8fe8cf8f6ee31.zip
various fixes
Diffstat (limited to 'src/ats-tests/ats-testing.h')
-rw-r--r--src/ats-tests/ats-testing.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/ats-tests/ats-testing.h b/src/ats-tests/ats-testing.h
index 56e114bf5..d620b7a06 100644
--- a/src/ats-tests/ats-testing.h
+++ b/src/ats-tests/ats-testing.h
@@ -456,10 +456,10 @@ typedef void (*GNUNET_ATS_TESTING_ExperimentDoneCallback) (struct Experiment *e,
456/** 456/**
457 * An operation in an experiment 457 * An operation in an experiment
458 */ 458 */
459struct Operation 459struct GNUNET_ATS_TEST_Operation
460{ 460{
461 struct Operation *next; 461 struct GNUNET_ATS_TEST_Operation *next;
462 struct Operation *prev; 462 struct GNUNET_ATS_TEST_Operation *prev;
463 463
464 long long unsigned int src_id; 464 long long unsigned int src_id;
465 long long unsigned int dest_id; 465 long long unsigned int dest_id;
@@ -478,8 +478,8 @@ struct Episode
478 struct Episode *next; 478 struct Episode *next;
479 struct GNUNET_TIME_Relative duration; 479 struct GNUNET_TIME_Relative duration;
480 480
481 struct Operation *head; 481 struct GNUNET_ATS_TEST_Operation *head;
482 struct Operation *tail; 482 struct GNUNET_ATS_TEST_Operation *tail;
483}; 483};
484 484
485 485
@@ -640,6 +640,12 @@ GNUNET_ATS_TEST_logging_write_to_file (struct LoggingHandle *l,
640 * Topology related functions 640 * Topology related functions
641 */ 641 */
642 642
643struct BenchmarkPeer *
644GNUNET_ATS_TEST_get_peer (int src);
645
646struct BenchmarkPartner *
647GNUNET_ATS_TEST_get_partner (int src, int dest);
648
643/** 649/**
644 * Create a topology for ats testing 650 * Create a topology for ats testing
645 * 651 *