GNUnet  0.11.x
Data Fields
GNUNET_GNS_Handle Struct Reference

Connection to the GNS service. More...

#include </home/handbook/gnunet/src/gns/gns_api.h>

Collaboration diagram for GNUNET_GNS_Handle:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Configuration to use. More...
 
struct GNUNET_MQ_Handlemq
 Connection to service (if available). More...
 
struct GNUNET_GNS_LookupRequestlookup_head
 Head of linked list of active lookup requests. More...
 
struct GNUNET_GNS_LookupRequestlookup_tail
 Tail of linked list of active lookup requests. More...
 
struct GNUNET_SCHEDULER_Taskreconnect_task
 Reconnect task. More...
 
struct GNUNET_TIME_Relative reconnect_backoff
 How long do we wait until we try to reconnect? More...
 
uint32_t r_id_gen
 Request Id generator. More...
 

Detailed Description

Connection to the GNS service.

Definition at line 35 of file gns_api.h.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_GNS_Handle::cfg

Configuration to use.

Definition at line 40 of file gns_api.h.

Referenced by GNUNET_GNS_connect(), GNUNET_GNS_lookup_with_tld(), and reconnect().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_GNS_Handle::mq

Connection to service (if available).

Definition at line 45 of file gns_api.h.

Referenced by force_reconnect(), GNUNET_GNS_connect(), GNUNET_GNS_disconnect(), GNUNET_GNS_lookup(), and reconnect().

◆ lookup_head

struct GNUNET_GNS_LookupRequest* GNUNET_GNS_Handle::lookup_head

Head of linked list of active lookup requests.

Definition at line 50 of file gns_api.h.

Referenced by GNUNET_GNS_disconnect(), GNUNET_GNS_lookup(), GNUNET_GNS_lookup_cancel(), handle_result(), and reconnect().

◆ lookup_tail

struct GNUNET_GNS_LookupRequest* GNUNET_GNS_Handle::lookup_tail

Tail of linked list of active lookup requests.

Definition at line 55 of file gns_api.h.

Referenced by GNUNET_GNS_lookup(), GNUNET_GNS_lookup_cancel(), and handle_result().

◆ reconnect_task

struct GNUNET_SCHEDULER_Task* GNUNET_GNS_Handle::reconnect_task

Reconnect task.

Definition at line 60 of file gns_api.h.

Referenced by force_reconnect(), GNUNET_GNS_disconnect(), and reconnect_task().

◆ reconnect_backoff

struct GNUNET_TIME_Relative GNUNET_GNS_Handle::reconnect_backoff

How long do we wait until we try to reconnect?

Definition at line 65 of file gns_api.h.

Referenced by force_reconnect().

◆ r_id_gen

uint32_t GNUNET_GNS_Handle::r_id_gen

Request Id generator.

Incremented by one for each request.

Definition at line 70 of file gns_api.h.

Referenced by GNUNET_GNS_lookup().


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