GNUnet  0.19.5
GNUNET_PEERINFO_NotifyContext Struct Reference

Context for the info handler. More...

Collaboration diagram for GNUNET_PEERINFO_NotifyContext:
[legend]

Data Fields

struct GNUNET_MQ_Handlemq
 Our connection to the PEERINFO service. More...
 
GNUNET_PEERINFO_Processor callback
 Function to call with information. More...
 
void * callback_cls
 Closure for callback. More...
 
const struct GNUNET_CONFIGURATION_Handlecfg
 Configuration. More...
 
struct GNUNET_SCHEDULER_Tasktask
 Tasked used for delayed re-connection attempt. More...
 
int include_friend_only
 Include friend only HELLOs in callbacks. More...
 

Detailed Description

Context for the info handler.

Definition at line 37 of file peerinfo_api_notify.c.

Field Documentation

◆ mq

◆ callback

GNUNET_PEERINFO_Processor GNUNET_PEERINFO_NotifyContext::callback

Function to call with information.

Definition at line 47 of file peerinfo_api_notify.c.

Referenced by GNUNET_PEERINFO_notify(), and handle_notification().

◆ callback_cls

void* GNUNET_PEERINFO_NotifyContext::callback_cls

Closure for callback.

Definition at line 52 of file peerinfo_api_notify.c.

Referenced by GNUNET_PEERINFO_notify(), and handle_notification().

◆ cfg

◆ task

struct GNUNET_SCHEDULER_Task* GNUNET_PEERINFO_NotifyContext::task

Tasked used for delayed re-connection attempt.

Definition at line 62 of file peerinfo_api_notify.c.

Referenced by do_reconnect(), GNUNET_PEERINFO_notify_cancel(), and reconnect().

◆ include_friend_only

int GNUNET_PEERINFO_NotifyContext::include_friend_only

Include friend only HELLOs in callbacks.

Definition at line 67 of file peerinfo_api_notify.c.

Referenced by GNUNET_PEERINFO_notify(), and reconnect().


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