GNUnet  0.11.x
Data Fields
GNUNET_CADET_Port Struct Reference

Opaque handle to a port. More...

Collaboration diagram for GNUNET_CADET_Port:
[legend]

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 145 of file cadet_api.c.

Field Documentation

◆ id

struct GNUNET_HashCode GNUNET_CADET_Port::id

Port "number".

Definition at line 150 of file cadet_api.c.

Referenced by GNUNET_CADET_close_port(), GNUNET_CADET_open_port(), and open_port_cb().

◆ cadet

struct GNUNET_CADET_Handle* GNUNET_CADET_Port::cadet

Handle to the CADET session this port belongs to.

Definition at line 155 of file cadet_api.c.

Referenced by GNUNET_CADET_close_port(), and GNUNET_CADET_open_port().

◆ cls

void* GNUNET_CADET_Port::cls

Closure for handler.

Definition at line 160 of file cadet_api.c.

Referenced by GNUNET_CADET_open_port(), and handle_channel_created().

◆ connects

GNUNET_CADET_ConnectEventHandler GNUNET_CADET_Port::connects

Handler for incoming channels on this port.

Definition at line 165 of file cadet_api.c.

Referenced by GNUNET_CADET_open_port(), and handle_channel_created().

◆ connects_cls

void* GNUNET_CADET_Port::connects_cls

Closure for connects.

Definition at line 170 of file cadet_api.c.

Referenced by GNUNET_CADET_open_port().

◆ window_changes

GNUNET_CADET_WindowSizeEventHandler GNUNET_CADET_Port::window_changes

Window size change handler.

Definition at line 175 of file cadet_api.c.

Referenced by GNUNET_CADET_open_port(), and handle_channel_created().

◆ disconnects

GNUNET_CADET_DisconnectEventHandler GNUNET_CADET_Port::disconnects

Handler called when an incoming channel is destroyed.

Definition at line 180 of file cadet_api.c.

Referenced by GNUNET_CADET_open_port(), and handle_channel_created().

◆ handlers

struct GNUNET_MQ_MessageHandler* GNUNET_CADET_Port::handlers

Payload handlers for incoming channels.

Definition at line 185 of file cadet_api.c.

Referenced by GNUNET_CADET_close_port(), GNUNET_CADET_open_port(), and handle_channel_created().


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