GNUnet  0.11.x
Data Fields
GNUNET_TESTING_Trait Struct Reference

A trait. More...

#include <gnunet_testing_ng_lib.h>

Data Fields

unsigned int index
 Index number associated with the trait. More...
 
const char * trait_name
 Trait type, for example "reserve-pub" or "coin-priv". More...
 
const void * ptr
 Pointer to the piece of data to offer. More...
 

Detailed Description

A trait.

Definition at line 471 of file gnunet_testing_ng_lib.h.

Field Documentation

◆ index

unsigned int GNUNET_TESTING_Trait::index

Index number associated with the trait.

This gives the possibility to have multiple traits on offer under the same name.

Definition at line 478 of file gnunet_testing_ng_lib.h.

Referenced by controller_traits(), GNUNET_TESTING_make_trait_cmd(), GNUNET_TESTING_make_trait_process(), GNUNET_TESTING_trait_end(), hello_world_birth_traits(), and peer_traits().

◆ trait_name

const char* GNUNET_TESTING_Trait::trait_name

Trait type, for example "reserve-pub" or "coin-priv".

Definition at line 483 of file gnunet_testing_ng_lib.h.

Referenced by GNUNET_TESTING_get_trait().

◆ ptr

const void* GNUNET_TESTING_Trait::ptr

Pointer to the piece of data to offer.

Definition at line 488 of file gnunet_testing_ng_lib.h.

Referenced by GNUNET_TESTING_get_trait().


The documentation for this struct was generated from the following file: