GNUnet  0.10.x
Data Fields
GNUNET_CONSENSUS_Handle Struct Reference

Handle for the service. More...

Collaboration diagram for GNUNET_CONSENSUS_Handle:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 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_Handlemq
 Message queue for the client. More...
 

Detailed Description

Handle for the service.

Definition at line 40 of file consensus_api.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_CONSENSUS_Handle::cfg

Configuration to use.

Definition at line 45 of file consensus_api.c.

Referenced by GNUNET_CONSENSUS_create().

◆ new_element_cb

GNUNET_CONSENSUS_ElementCallback GNUNET_CONSENSUS_Handle::new_element_cb

Callback for new elements.

Not called for elements added locally.

Definition at line 50 of file consensus_api.c.

Referenced by GNUNET_CONSENSUS_create(), and handle_new_element().

◆ new_element_cls

void* GNUNET_CONSENSUS_Handle::new_element_cls

Closure for new_element_cb.

Definition at line 55 of file consensus_api.c.

Referenced by GNUNET_CONSENSUS_create(), and handle_new_element().

◆ session_id

struct GNUNET_HashCode GNUNET_CONSENSUS_Handle::session_id

The (local) session identifier for the consensus session.

Definition at line 60 of file consensus_api.c.

Referenced by GNUNET_CONSENSUS_create().

◆ joined

int GNUNET_CONSENSUS_Handle::joined

GNUNET_YES iff the join message has been sent to the service.

Definition at line 65 of file consensus_api.c.

◆ conclude_cb

GNUNET_CONSENSUS_ConcludeCallback GNUNET_CONSENSUS_Handle::conclude_cb

Called when the conclude operation finishes or fails.

Definition at line 70 of file consensus_api.c.

Referenced by GNUNET_CONSENSUS_conclude(), and handle_conclude_done().

◆ conclude_cls

void* GNUNET_CONSENSUS_Handle::conclude_cls

Closure for the conclude_cb callback.

Definition at line 75 of file consensus_api.c.

Referenced by GNUNET_CONSENSUS_conclude(), and handle_conclude_done().

◆ conclude_deadline

struct GNUNET_TIME_Absolute GNUNET_CONSENSUS_Handle::conclude_deadline

Deadline for the conclude operation.

Definition at line 80 of file consensus_api.c.

◆ mq

struct GNUNET_MQ_Handle* GNUNET_CONSENSUS_Handle::mq

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