Handle for the service. More...
Data Fields | |
const struct GNUNET_CONFIGURATION_Handle * | cfg |
Configuration to use. More... | |
GNUNET_CONSENSUS_ElementCallback | new_element_cb |
Callback for new elements. More... | |
void * | new_element_cls |
Closure for new_element_cb. More... | |
struct GNUNET_HashCode | session_id |
The (local) session identifier for the consensus session. More... | |
int | joined |
GNUNET_YES iff the join message has been sent to the service. More... | |
GNUNET_CONSENSUS_ConcludeCallback | conclude_cb |
Called when the conclude operation finishes or fails. More... | |
void * | conclude_cls |
Closure for the conclude_cb callback. More... | |
struct GNUNET_TIME_Absolute | conclude_deadline |
Deadline for the conclude operation. More... | |
struct GNUNET_MQ_Handle * | mq |
Message queue for the client. More... | |
Handle for the service.
Definition at line 39 of file consensus_api.c.
const struct GNUNET_CONFIGURATION_Handle* GNUNET_CONSENSUS_Handle::cfg |
Configuration to use.
Definition at line 44 of file consensus_api.c.
Referenced by GNUNET_CONSENSUS_create().
GNUNET_CONSENSUS_ElementCallback GNUNET_CONSENSUS_Handle::new_element_cb |
Callback for new elements.
Not called for elements added locally.
Definition at line 49 of file consensus_api.c.
Referenced by GNUNET_CONSENSUS_create(), and handle_new_element().
void* GNUNET_CONSENSUS_Handle::new_element_cls |
Closure for new_element_cb.
Definition at line 54 of file consensus_api.c.
Referenced by GNUNET_CONSENSUS_create(), and handle_new_element().
struct GNUNET_HashCode GNUNET_CONSENSUS_Handle::session_id |
The (local) session identifier for the consensus session.
Definition at line 59 of file consensus_api.c.
Referenced by GNUNET_CONSENSUS_create().
int GNUNET_CONSENSUS_Handle::joined |
GNUNET_YES iff the join message has been sent to the service.
Definition at line 64 of file consensus_api.c.
GNUNET_CONSENSUS_ConcludeCallback GNUNET_CONSENSUS_Handle::conclude_cb |
Called when the conclude operation finishes or fails.
Definition at line 69 of file consensus_api.c.
Referenced by GNUNET_CONSENSUS_conclude(), and handle_conclude_done().
void* GNUNET_CONSENSUS_Handle::conclude_cls |
Closure for the conclude_cb callback.
Definition at line 74 of file consensus_api.c.
Referenced by GNUNET_CONSENSUS_conclude(), and handle_conclude_done().
struct GNUNET_TIME_Absolute GNUNET_CONSENSUS_Handle::conclude_deadline |
Deadline for the conclude operation.
Definition at line 79 of file consensus_api.c.
struct GNUNET_MQ_Handle* GNUNET_CONSENSUS_Handle::mq |
Message queue for the client.
Definition at line 84 of file consensus_api.c.
Referenced by GNUNET_CONSENSUS_conclude(), GNUNET_CONSENSUS_create(), GNUNET_CONSENSUS_destroy(), GNUNET_CONSENSUS_insert(), and handle_conclude_done().