GNUnet  0.11.x
Data Fields
GNUNET_CADET_Handle Struct Reference

Opaque handle to the service. More...

Collaboration diagram for GNUNET_CADET_Handle:
[legend]

Data Fields

struct GNUNET_MQ_Handlemq
 Message queue. More...
 
struct GNUNET_CONTAINER_MultiHashMapports
 Ports open. More...
 
struct GNUNET_CONTAINER_MultiHashMap32channels
 Channels open. More...
 
struct GNUNET_CADET_ClientChannelNumber next_ccn
 child of the next channel to create (to avoid reusing IDs often) More...
 
const struct GNUNET_CONFIGURATION_Handlecfg
 Configuration given by the client, in case of reconnection. More...
 
struct GNUNET_SCHEDULER_Taskreconnect_task
 Task for trying to reconnect. More...
 
struct GNUNET_TIME_Relative reconnect_time
 Time to the next reconnect in case one reconnect fails. More...
 

Detailed Description

Opaque handle to the service.

Definition at line 38 of file cadet_api.c.

Field Documentation

◆ mq

struct GNUNET_MQ_Handle* GNUNET_CADET_Handle::mq

◆ ports

struct GNUNET_CONTAINER_MultiHashMap* GNUNET_CADET_Handle::ports

◆ channels

struct GNUNET_CONTAINER_MultiHashMap32* GNUNET_CADET_Handle::channels

◆ next_ccn

struct GNUNET_CADET_ClientChannelNumber GNUNET_CADET_Handle::next_ccn

child of the next channel to create (to avoid reusing IDs often)

Definition at line 58 of file cadet_api.c.

Referenced by create_channel(), and GNUNET_CADET_connect().

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_CADET_Handle::cfg

Configuration given by the client, in case of reconnection.

Definition at line 63 of file cadet_api.c.

Referenced by GNUNET_CADET_connect(), and reconnect().

◆ reconnect_task

struct GNUNET_SCHEDULER_Task* GNUNET_CADET_Handle::reconnect_task

Task for trying to reconnect.

Definition at line 68 of file cadet_api.c.

Referenced by GNUNET_CADET_disconnect(), handle_mq_error(), and reconnect_cbk().

◆ reconnect_time

struct GNUNET_TIME_Relative GNUNET_CADET_Handle::reconnect_time

Time to the next reconnect in case one reconnect fails.

Definition at line 73 of file cadet_api.c.

Referenced by handle_mq_error(), and reconnect_cbk().


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