GNUnet  0.11.x
Data Fields
GNUNET_DHT_Handle Struct Reference

Connection to the DHT service. More...

Collaboration diagram for GNUNET_DHT_Handle:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Configuration to use. More...
 
struct GNUNET_MQ_Handlemq
 Connection to DHT service. More...
 
struct GNUNET_DHT_MonitorHandlemonitor_head
 Head of linked list of messages we would like to monitor. More...
 
struct GNUNET_DHT_MonitorHandlemonitor_tail
 Tail of linked list of messages we would like to monitor. More...
 
struct GNUNET_DHT_PutHandleput_head
 Head of active PUT requests. More...
 
struct GNUNET_DHT_PutHandleput_tail
 Tail of active PUT requests. More...
 
struct GNUNET_CONTAINER_MultiHashMapactive_requests
 Hash map containing the current outstanding unique GET requests (values are of type struct GNUNET_DHT_GetHandle). More...
 
struct GNUNET_SCHEDULER_Taskreconnect_task
 Task for trying to reconnect. More...
 
struct GNUNET_TIME_Relative retry_time
 How quickly should we retry? Used for exponential back-off on connect-errors. More...
 
uint64_t uid_gen
 Generator for unique ids. More...
 

Detailed Description

Connection to the DHT service.

Definition at line 201 of file dht_api.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_DHT_Handle::cfg

Configuration to use.

Definition at line 206 of file dht_api.c.

Referenced by GNUNET_DHT_connect(), and try_connect().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_DHT_Handle::mq

◆ monitor_head

struct GNUNET_DHT_MonitorHandle* GNUNET_DHT_Handle::monitor_head

Head of linked list of messages we would like to monitor.

Definition at line 216 of file dht_api.c.

Referenced by GNUNET_DHT_monitor_start(), GNUNET_DHT_monitor_stop(), handle_monitor_get(), handle_monitor_get_resp(), handle_monitor_put(), and try_reconnect().

◆ monitor_tail

struct GNUNET_DHT_MonitorHandle* GNUNET_DHT_Handle::monitor_tail

Tail of linked list of messages we would like to monitor.

Definition at line 221 of file dht_api.c.

Referenced by GNUNET_DHT_monitor_start(), and GNUNET_DHT_monitor_stop().

◆ put_head

struct GNUNET_DHT_PutHandle* GNUNET_DHT_Handle::put_head

Head of active PUT requests.

Definition at line 226 of file dht_api.c.

Referenced by do_disconnect(), GNUNET_DHT_disconnect(), GNUNET_DHT_put(), and GNUNET_DHT_put_cancel().

◆ put_tail

struct GNUNET_DHT_PutHandle* GNUNET_DHT_Handle::put_tail

Tail of active PUT requests.

Definition at line 231 of file dht_api.c.

Referenced by GNUNET_DHT_put(), and GNUNET_DHT_put_cancel().

◆ active_requests

struct GNUNET_CONTAINER_MultiHashMap* GNUNET_DHT_Handle::active_requests

Hash map containing the current outstanding unique GET requests (values are of type struct GNUNET_DHT_GetHandle).

Definition at line 237 of file dht_api.c.

Referenced by GNUNET_DHT_connect(), GNUNET_DHT_disconnect(), GNUNET_DHT_get_start(), GNUNET_DHT_get_stop(), handle_client_result(), and try_reconnect().

◆ reconnect_task

struct GNUNET_SCHEDULER_Task* GNUNET_DHT_Handle::reconnect_task

Task for trying to reconnect.

Definition at line 242 of file dht_api.c.

Referenced by do_disconnect(), GNUNET_DHT_disconnect(), and try_reconnect().

◆ retry_time

struct GNUNET_TIME_Relative GNUNET_DHT_Handle::retry_time

How quickly should we retry? Used for exponential back-off on connect-errors.

Definition at line 248 of file dht_api.c.

Referenced by do_disconnect(), and try_reconnect().

◆ uid_gen

uint64_t GNUNET_DHT_Handle::uid_gen

Generator for unique ids.

Definition at line 253 of file dht_api.c.

Referenced by GNUNET_DHT_connect(), and GNUNET_DHT_get_start().


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