GNUnet 0.21.1
GNUNET_CADET_Port Struct Reference

Opaque handle to a port. More...

Collaboration diagram for GNUNET_CADET_Port:

Data Fields

struct GNUNET_HashCode id
 Port "number". More...
struct GNUNET_CADET_Handlecadet
 Handle to the CADET session this port belongs to. More...
void * cls
 Closure for handler. More...
GNUNET_CADET_ConnectEventHandler connects
 Handler for incoming channels on this port. More...
void * connects_cls
 Closure for connects. More...
GNUNET_CADET_WindowSizeEventHandler window_changes
 Window size change handler. More...
GNUNET_CADET_DisconnectEventHandler disconnects
 Handler called when an incoming channel is destroyed. More...
struct GNUNET_MQ_MessageHandlerhandlers
 Payload handlers for incoming channels. More...

Detailed Description

Opaque handle to a port.

Definition at line 79 of file cadet_api.c.

Field Documentation

◆ id

struct GNUNET_HashCode GNUNET_CADET_Port::id

Port "number".

Definition at line 84 of file cadet_api.c.

◆ cadet

struct GNUNET_CADET_Handle* GNUNET_CADET_Port::cadet

Handle to the CADET session this port belongs to.

Definition at line 89 of file cadet_api.c.

◆ cls

void* GNUNET_CADET_Port::cls

Closure for handler.

Definition at line 94 of file cadet_api.c.

Referenced by destroy_port_cb().

◆ connects

GNUNET_CADET_ConnectEventHandler GNUNET_CADET_Port::connects

Handler for incoming channels on this port.

Definition at line 99 of file cadet_api.c.

◆ connects_cls

void* GNUNET_CADET_Port::connects_cls

Closure for connects.

Definition at line 104 of file cadet_api.c.

◆ window_changes

GNUNET_CADET_WindowSizeEventHandler GNUNET_CADET_Port::window_changes

Window size change handler.

Definition at line 109 of file cadet_api.c.

◆ disconnects

GNUNET_CADET_DisconnectEventHandler GNUNET_CADET_Port::disconnects

Handler called when an incoming channel is destroyed.

Definition at line 114 of file cadet_api.c.

◆ handlers

struct GNUNET_MQ_MessageHandler* GNUNET_CADET_Port::handlers

Payload handlers for incoming channels.

Definition at line 119 of file cadet_api.c.

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