diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-03 12:36:25 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-03 12:36:25 +0000 |
commit | 23c87f2aea815cbd6078ab75b5b8fe8cf8f6ee31 (patch) | |
tree | af24b05a1b2f4a2829ee044b7e7c7161df6e9989 /src/ats-tests/ats-testing.h | |
parent | c25e21e16f0079b94b4ee71240013e16b425240d (diff) | |
download | gnunet-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.h | 16 |
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 | */ |
459 | struct Operation | 459 | struct 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 | ||
643 | struct BenchmarkPeer * | ||
644 | GNUNET_ATS_TEST_get_peer (int src); | ||
645 | |||
646 | struct BenchmarkPartner * | ||
647 | GNUNET_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 | * |