GNUnet 0.21.2
GNUNET_TRANSPORT_MonitorContext Struct Reference

Opaque handle to the transport service for monitors. More...

Collaboration diagram for GNUNET_TRANSPORT_MonitorContext:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Our configuration. More...
 
struct GNUNET_MQ_Handlemq
 Queue to talk to the transport service. More...
 
struct GNUNET_PeerIdentity peer
 Peer we monitor, all zeros for "all". More...
 
int one_shot
 GNUNET_YES to return the current state and then end. More...
 
GNUNET_TRANSPORT_MonitorCallback cb
 Function to call with monitor data. More...
 
void * cb_cls
 Closure for cb. More...
 

Detailed Description

Opaque handle to the transport service for monitors.

Definition at line 36 of file transport_api2_monitor.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_TRANSPORT_MonitorContext::cfg

Our configuration.

Definition at line 41 of file transport_api2_monitor.c.

◆ mq

struct GNUNET_MQ_Handle* GNUNET_TRANSPORT_MonitorContext::mq

Queue to talk to the transport service.

Definition at line 46 of file transport_api2_monitor.c.

◆ peer

struct GNUNET_PeerIdentity GNUNET_TRANSPORT_MonitorContext::peer

Peer we monitor, all zeros for "all".

Definition at line 51 of file transport_api2_monitor.c.

Referenced by GNUNET_TRANSPORT_monitor().

◆ one_shot

int GNUNET_TRANSPORT_MonitorContext::one_shot

GNUNET_YES to return the current state and then end.

Definition at line 56 of file transport_api2_monitor.c.

Referenced by GNUNET_TRANSPORT_monitor().

◆ cb

GNUNET_TRANSPORT_MonitorCallback GNUNET_TRANSPORT_MonitorContext::cb

Function to call with monitor data.

Definition at line 61 of file transport_api2_monitor.c.

Referenced by GNUNET_TRANSPORT_monitor().

◆ cb_cls

void* GNUNET_TRANSPORT_MonitorContext::cb_cls

Closure for cb.

Definition at line 66 of file transport_api2_monitor.c.

Referenced by GNUNET_TRANSPORT_monitor().


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