aboutsummaryrefslogtreecommitdiff
path: root/src/ats/test_ats_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/test_ats_lib.h')
-rw-r--r--src/ats/test_ats_lib.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/ats/test_ats_lib.h b/src/ats/test_ats_lib.h
index 099fa9b45..975172f2f 100644
--- a/src/ats/test_ats_lib.h
+++ b/src/ats/test_ats_lib.h
@@ -117,7 +117,12 @@ enum CommandCode
117 * Reserve bandwidth, testing 117 * Reserve bandwidth, testing
118 * #GNUNET_ATS_reserve_bandwidth(). 118 * #GNUNET_ATS_reserve_bandwidth().
119 */ 119 */
120 CMD_RESERVE_BANDWIDTH 120 CMD_RESERVE_BANDWIDTH,
121
122 /**
123 * Wait for a bit.
124 */
125 CMD_SLEEP
121 126
122}; 127};
123 128
@@ -435,6 +440,18 @@ struct CommandReserveBandwidth
435 440
436 441
437/** 442/**
443 * Details for the #CMD_SLEEP command.
444 */
445struct CommandSleep
446{
447 /**
448 * How long should we wait before running the next command?
449 */
450 struct GNUNET_TIME_Relative delay;
451};
452
453
454/**
438 * A command for the test case interpreter. 455 * A command for the test case interpreter.
439 */ 456 */
440struct Command 457struct Command
@@ -482,6 +499,8 @@ struct Command
482 499
483 struct CommandReserveBandwidth reserve_bandwidth; 500 struct CommandReserveBandwidth reserve_bandwidth;
484 501
502 struct CommandSleep sleep;
503
485 } details; 504 } details;
486 505
487}; 506};