Data Fields | |
struct GNUNET_HashCode | hash |
The hashcode of the barrier name. More... | |
struct GNUNET_SERVICE_Client * | mc |
The client handle to the master controller. More... | |
char * | name |
The name of the barrier. More... | |
struct ClientCtx * | head |
DLL head for the list of clients waiting for this barrier. More... | |
struct ClientCtx * | tail |
DLL tail for the list of clients waiting for this barrier. More... | |
struct WBarrier * | whead |
DLL head for the list of barrier handles. More... | |
struct WBarrier * | wtail |
DLL tail for the list of barrier handles. More... | |
struct GNUNET_SCHEDULER_Task * | tout_task |
Identifier for the timeout task. More... | |
enum GNUNET_TESTBED_BarrierStatus | status |
The status of this barrier. More... | |
unsigned int | num_wbarriers |
Number of barriers wrapped in the above DLL. More... | |
unsigned int | num_wbarriers_reached |
Number of wrapped barriers reached so far. More... | |
unsigned int | num_wbarriers_inited |
Number of wrapped barrier initialised so far. More... | |
unsigned int | nreached |
Number of peers which have reached this barrier. More... | |
unsigned int | nslaves |
Number of slaves we have initialised this barrier. More... | |
uint8_t | quorum |
Quorum percentage to be reached. More... | |
Definition at line 131 of file gnunet-service-testbed_barriers.c.
struct GNUNET_HashCode Barrier::hash |
The hashcode of the barrier name.
Definition at line 124 of file gnunet-service-testbed_barriers.c.
Referenced by handle_barrier_init(), and remove_barrier().
struct GNUNET_SERVICE_Client* Barrier::mc |
The client handle to the master controller.
Definition at line 141 of file gnunet-service-testbed_barriers.c.
Referenced by handle_barrier_init(), and send_barrier_status_msg().
char* Barrier::name |
The name of the barrier.
Definition at line 146 of file gnunet-service-testbed_barriers.c.
Referenced by gnunet_testing.StatisticsCondition::check(), gnunet_testing.EqualStatisticsCondition::check(), gnunet_testing.StatisticsCondition::evaluate(), gnunet_testing.EqualStatisticsCondition::evaluate(), handle_barrier_init(), remove_barrier(), send_barrier_status_msg(), and wbarrier_status_cb().
struct ClientCtx* Barrier::head |
DLL head for the list of clients waiting for this barrier.
Definition at line 151 of file gnunet-service-testbed_barriers.c.
Referenced by disconnect_cb(), handle_barrier_status(), handle_barrier_wait(), and remove_barrier().
struct ClientCtx* Barrier::tail |
DLL tail for the list of clients waiting for this barrier.
Definition at line 156 of file gnunet-service-testbed_barriers.c.
Referenced by disconnect_cb(), handle_barrier_wait(), and remove_barrier().
struct WBarrier* Barrier::whead |
DLL head for the list of barrier handles.
Definition at line 161 of file gnunet-service-testbed_barriers.c.
Referenced by cancel_wrappers(), handle_barrier_init(), and handle_barrier_status().
struct WBarrier* Barrier::wtail |
DLL tail for the list of barrier handles.
Definition at line 166 of file gnunet-service-testbed_barriers.c.
Referenced by cancel_wrappers(), and handle_barrier_init().
struct GNUNET_SCHEDULER_Task* Barrier::tout_task |
Identifier for the timeout task.
Definition at line 171 of file gnunet-service-testbed_barriers.c.
Referenced by handle_barrier_init().
enum GNUNET_TESTBED_BarrierStatus Barrier::status |
The status of this barrier.
Definition at line 171 of file gnunet-service-testbed_barriers.c.
Referenced by fwd_tout_barrier_init(), handle_barrier_init(), handle_barrier_wait(), send_barrier_status_msg(), and wbarrier_status_cb().
unsigned int Barrier::num_wbarriers |
Number of barriers wrapped in the above DLL.
Definition at line 181 of file gnunet-service-testbed_barriers.c.
Referenced by handle_barrier_init(), handle_barrier_wait(), and wbarrier_status_cb().
unsigned int Barrier::num_wbarriers_reached |
Number of wrapped barriers reached so far.
Definition at line 186 of file gnunet-service-testbed_barriers.c.
Referenced by handle_barrier_wait(), and wbarrier_status_cb().
unsigned int Barrier::num_wbarriers_inited |
Number of wrapped barrier initialised so far.
Definition at line 191 of file gnunet-service-testbed_barriers.c.
Referenced by wbarrier_status_cb().
unsigned int Barrier::nreached |
Number of peers which have reached this barrier.
Definition at line 196 of file gnunet-service-testbed_barriers.c.
Referenced by handle_barrier_wait().
unsigned int Barrier::nslaves |
Number of slaves we have initialised this barrier.
Definition at line 201 of file gnunet-service-testbed_barriers.c.
uint8_t Barrier::quorum |
Quorum percentage to be reached.
Definition at line 206 of file gnunet-service-testbed_barriers.c.
Referenced by handle_barrier_init().