loop for trait resolution More...
#include "platform.h"
#include "gnunet_testing_ng_lib.h"
#include "gnunet_testing_plugin.h"
#include "gnunet_testing_barrier.h"
#include "gnunet_testing_netjail_lib.h"
Go to the source code of this file.
Functions | |
struct GNUNET_TESTING_Trait | GNUNET_TESTING_trait_end () |
End a trait array. More... | |
enum GNUNET_GenericReturnValue | GNUNET_TESTING_get_trait (const struct GNUNET_TESTING_Trait *traits, const void **ret, const char *trait, unsigned int index) |
Pick the chosen trait from the traits array. More... | |
loop for trait resolution
Definition in file testing_api_traits.c.
struct GNUNET_TESTING_Trait GNUNET_TESTING_trait_end | ( | void | ) |
End a trait array.
"end" trait.
Usually, commands offer several traits, and put them in arrays.
Definition at line 1 of file testing_api_traits.c.
Referenced by block_until_external_trigger_traits(), start_peer_traits(), and system_create_traits().
enum GNUNET_GenericReturnValue GNUNET_TESTING_get_trait | ( | const struct GNUNET_TESTING_Trait * | traits, |
const void ** | ret, | ||
const char * | trait, | ||
unsigned int | index | ||
) |
Pick the chosen trait from the traits array.
Extract a trait.
traits | the traits array. |
ret | where to store the result. |
trait | type of the trait to extract. |
index | index number of the object to extract. |
Definition at line 1 of file testing_api_traits.c.
References end.
Referenced by block_until_external_trigger_traits(), start_peer_traits(), and system_create_traits().