GNUnet 0.22.2
GNUNET_DATASTORE_Handle Struct Reference

Handle to the datastore service. More...

Collaboration diagram for GNUNET_DATASTORE_Handle:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Our configuration. More...
 
struct GNUNET_MQ_Handlemq
 Current connection to the datastore service. More...
 
struct GNUNET_STATISTICS_Handlestats
 Handle for statistics. More...
 
struct GNUNET_DATASTORE_QueueEntryqueue_head
 Current head of priority queue. More...
 
struct GNUNET_DATASTORE_QueueEntryqueue_tail
 Current tail of priority queue. 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...
 
unsigned int queue_size
 Number of entries in the queue. More...
 
unsigned int result_count
 Number of results we're receiving for the current query after application stopped to care. More...
 
unsigned int skip_next_messages
 We should ignore the next message(s) from the service. More...
 

Detailed Description

Handle to the datastore service.

Definition at line 164 of file datastore_api.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_DATASTORE_Handle::cfg

Our configuration.

Definition at line 169 of file datastore_api.c.

◆ mq

struct GNUNET_MQ_Handle* GNUNET_DATASTORE_Handle::mq

Current connection to the datastore service.

Definition at line 174 of file datastore_api.c.

◆ stats

struct GNUNET_STATISTICS_Handle* GNUNET_DATASTORE_Handle::stats

Handle for statistics.

Definition at line 179 of file datastore_api.c.

◆ queue_head

struct GNUNET_DATASTORE_QueueEntry* GNUNET_DATASTORE_Handle::queue_head

Current head of priority queue.

Definition at line 184 of file datastore_api.c.

◆ queue_tail

struct GNUNET_DATASTORE_QueueEntry* GNUNET_DATASTORE_Handle::queue_tail

Current tail of priority queue.

Definition at line 189 of file datastore_api.c.

◆ reconnect_task

struct GNUNET_SCHEDULER_Task* GNUNET_DATASTORE_Handle::reconnect_task

Task for trying to reconnect.

Definition at line 194 of file datastore_api.c.

◆ retry_time

struct GNUNET_TIME_Relative GNUNET_DATASTORE_Handle::retry_time

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

Definition at line 200 of file datastore_api.c.

◆ queue_size

unsigned int GNUNET_DATASTORE_Handle::queue_size

Number of entries in the queue.

Definition at line 205 of file datastore_api.c.

◆ result_count

unsigned int GNUNET_DATASTORE_Handle::result_count

Number of results we're receiving for the current query after application stopped to care.

Used to determine when to reset the connection.

Definition at line 212 of file datastore_api.c.

◆ skip_next_messages

unsigned int GNUNET_DATASTORE_Handle::skip_next_messages

We should ignore the next message(s) from the service.

Definition at line 217 of file datastore_api.c.


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