GNUnet  0.11.x
Data Fields
GNUNET_PEERSTORE_Handle Struct Reference

Handle to the PEERSTORE service. More...

Collaboration diagram for GNUNET_PEERSTORE_Handle:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Our configuration. More...
 
struct GNUNET_MQ_Handlemq
 Message queue. More...
 
struct GNUNET_PEERSTORE_StoreContextstore_head
 Head of active STORE requests. More...
 
struct GNUNET_PEERSTORE_StoreContextstore_tail
 Tail of active STORE requests. More...
 
struct GNUNET_PEERSTORE_IterateContextiterate_head
 Head of active ITERATE requests. More...
 
struct GNUNET_PEERSTORE_IterateContextiterate_tail
 Tail of active ITERATE requests. More...
 
struct GNUNET_CONTAINER_MultiHashMapwatches
 Hashmap of watch requests. More...
 
struct GNUNET_SCHEDULER_Taskreconnect_task
 ID of the task trying to reconnect to the service. More...
 
struct GNUNET_TIME_Relative reconnect_delay
 Delay until we try to reconnect. More...
 
int disconnecting
 Are we in the process of disconnecting but need to sync first? More...
 

Detailed Description

Handle to the PEERSTORE service.

Definition at line 40 of file peerstore_api.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_PEERSTORE_Handle::cfg

Our configuration.

Definition at line 45 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_connect(), and reconnect().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_PEERSTORE_Handle::mq

◆ store_head

struct GNUNET_PEERSTORE_StoreContext* GNUNET_PEERSTORE_Handle::store_head

Head of active STORE requests.

Definition at line 55 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_disconnect(), GNUNET_PEERSTORE_store(), GNUNET_PEERSTORE_store_cancel(), and reconnect().

◆ store_tail

struct GNUNET_PEERSTORE_StoreContext* GNUNET_PEERSTORE_Handle::store_tail

Tail of active STORE requests.

Definition at line 60 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store(), and GNUNET_PEERSTORE_store_cancel().

◆ iterate_head

struct GNUNET_PEERSTORE_IterateContext* GNUNET_PEERSTORE_Handle::iterate_head

◆ iterate_tail

struct GNUNET_PEERSTORE_IterateContext* GNUNET_PEERSTORE_Handle::iterate_tail

Tail of active ITERATE requests.

Definition at line 70 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_iterate(), and GNUNET_PEERSTORE_iterate_cancel().

◆ watches

struct GNUNET_CONTAINER_MultiHashMap* GNUNET_PEERSTORE_Handle::watches

◆ reconnect_task

struct GNUNET_SCHEDULER_Task* GNUNET_PEERSTORE_Handle::reconnect_task

ID of the task trying to reconnect to the service.

Definition at line 80 of file peerstore_api.c.

Referenced by disconnect_and_schedule_reconnect(), and reconnect().

◆ reconnect_delay

struct GNUNET_TIME_Relative GNUNET_PEERSTORE_Handle::reconnect_delay

Delay until we try to reconnect.

Definition at line 85 of file peerstore_api.c.

Referenced by disconnect_and_schedule_reconnect(), handle_iterate_end(), and handle_watch_record().

◆ disconnecting

int GNUNET_PEERSTORE_Handle::disconnecting

Are we in the process of disconnecting but need to sync first?

Definition at line 90 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_connect(), GNUNET_PEERSTORE_disconnect(), and GNUNET_PEERSTORE_store_cancel().


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