GNUnet  0.11.x
Data Fields
GNUNET_IDENTITY_Handle Struct Reference

Handle for the service. More...

Collaboration diagram for GNUNET_IDENTITY_Handle:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Configuration to use. More...
 
struct GNUNET_MQ_Handlemq
 Connection to service. More...
 
struct GNUNET_CONTAINER_MultiHashMapegos
 Hash map from the hash of the public key to the respective GNUNET_IDENTITY_Ego handle. More...
 
GNUNET_IDENTITY_Callback cb
 Function to call when we receive updates. More...
 
void * cb_cls
 Closure for cb. More...
 
struct GNUNET_IDENTITY_Operationop_head
 Head of active operations. More...
 
struct GNUNET_IDENTITY_Operationop_tail
 Tail of active operations. More...
 
struct GNUNET_SCHEDULER_Taskreconnect_task
 Task doing exponential back-off trying to reconnect. More...
 
struct GNUNET_TIME_Relative reconnect_delay
 Time for next connect retry. More...
 
int in_receive
 Are we polling for incoming messages right now? More...
 

Detailed Description

Handle for the service.

Definition at line 95 of file identity_api.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_IDENTITY_Handle::cfg

Configuration to use.

Definition at line 100 of file identity_api.c.

Referenced by GNUNET_IDENTITY_connect(), and reconnect().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_IDENTITY_Handle::mq

◆ egos

struct GNUNET_CONTAINER_MultiHashMap* GNUNET_IDENTITY_Handle::egos

Hash map from the hash of the public key to the respective GNUNET_IDENTITY_Ego handle.

Definition at line 111 of file identity_api.c.

Referenced by free_ego(), GNUNET_IDENTITY_connect(), GNUNET_IDENTITY_disconnect(), handle_identity_set_default(), handle_identity_update(), and reschedule_connect().

◆ cb

GNUNET_IDENTITY_Callback GNUNET_IDENTITY_Handle::cb

Function to call when we receive updates.

Definition at line 116 of file identity_api.c.

Referenced by free_ego(), GNUNET_IDENTITY_connect(), GNUNET_IDENTITY_get(), GNUNET_IDENTITY_set(), handle_identity_update(), and reconnect().

◆ cb_cls

void* GNUNET_IDENTITY_Handle::cb_cls

Closure for cb.

Definition at line 121 of file identity_api.c.

Referenced by free_ego(), GNUNET_IDENTITY_connect(), and handle_identity_update().

◆ op_head

struct GNUNET_IDENTITY_Operation* GNUNET_IDENTITY_Handle::op_head

◆ op_tail

struct GNUNET_IDENTITY_Operation* GNUNET_IDENTITY_Handle::op_tail

◆ reconnect_task

struct GNUNET_SCHEDULER_Task* GNUNET_IDENTITY_Handle::reconnect_task

Task doing exponential back-off trying to reconnect.

Definition at line 136 of file identity_api.c.

Referenced by GNUNET_IDENTITY_disconnect(), reconnect(), and reschedule_connect().

◆ reconnect_delay

struct GNUNET_TIME_Relative GNUNET_IDENTITY_Handle::reconnect_delay

Time for next connect retry.

Definition at line 141 of file identity_api.c.

Referenced by reschedule_connect().

◆ in_receive

int GNUNET_IDENTITY_Handle::in_receive

Are we polling for incoming messages right now?

Definition at line 146 of file identity_api.c.


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