diff options
Diffstat (limited to 'src/service/testbed/testing.h')
-rw-r--r-- | src/service/testbed/testing.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/service/testbed/testing.h b/src/service/testbed/testing.h index 43c8ad45a..6d5d3fe99 100644 --- a/src/service/testbed/testing.h +++ b/src/service/testbed/testing.h | |||
@@ -335,5 +335,19 @@ void | |||
335 | GNUNET_TESTING_add_barrier_ (struct GNUNET_TESTING_Interpreter *is, | 335 | GNUNET_TESTING_add_barrier_ (struct GNUNET_TESTING_Interpreter *is, |
336 | struct GNUNET_TESTING_Barrier *barrier); | 336 | struct GNUNET_TESTING_Barrier *barrier); |
337 | 337 | ||
338 | /** | ||
339 | * Call #op on all simple traits. | ||
340 | */ | ||
341 | #define GNUNET_TESTING_SIMPLE_TESTBED_TRAITS(op, prefix) \ | ||
342 | op (prefix, get_topology, const struct GNUNET_TESTING_NetjailTopology) \ | ||
343 | op (prefix, get_topology_string, const char *) \ | ||
344 | op (prefix, test_system, const struct GNUNET_TESTING_System) \ | ||
345 | op (prefix, async_context, struct GNUNET_TESTING_AsyncContext) \ | ||
346 | op (prefix, helper_handles, const struct GNUNET_HELPER_Handle *) \ | ||
347 | op (prefix, block_state, struct GNUNET_TESTING_BlockState) | ||
348 | |||
349 | GNUNET_TESTING_SIMPLE_TESTBED_TRAITS (GNUNET_TESTING_MAKE_DECL_SIMPLE_TRAIT, | ||
350 | GNUNET_TESTING) | ||
351 | |||
338 | 352 | ||
339 | #endif | 353 | #endif |