GNUnet 0.21.1
Channel Struct Reference

A struct Channel represents a cadet channel, which is a P2P connection to another conversation service. More...

Collaboration diagram for Channel:
[legend]

Data Fields

struct Channelnext
 This is a DLL. More...
 
struct Channelprev
 This is a DLL. More...
 
struct Lineline
 Line associated with the channel. More...
 
struct GNUNET_CADET_Channelchannel
 Handle for the channel. More...
 
struct GNUNET_MQ_Handlemq
 Message queue for control messages. More...
 
struct GNUNET_MQ_Envelopeenv
 Temporary buffer for audio data in the mq. More...
 
uint32_t cid
 Channel identifier we use for this call with the client. More...
 
enum ChannelStatus status
 Current status of this line. More...
 
int8_t suspended_remote
 GNUNET_YES if the channel was suspended by the other peer. More...
 
int8_t suspended_local
 GNUNET_YES if the channel was suspended by the local client. More...
 

Detailed Description

A struct Channel represents a cadet channel, which is a P2P connection to another conversation service.

Multiple channels can be attached the the same struct Line, which represents a local client. We keep them in a linked list.

Definition at line 100 of file gnunet-service-conversation.c.

Field Documentation

◆ next

struct Channel* Channel::next

This is a DLL.

Definition at line 105 of file gnunet-service-conversation.c.

◆ prev

struct Channel* Channel::prev

This is a DLL.

Definition at line 110 of file gnunet-service-conversation.c.

◆ line

struct Line* Channel::line

◆ channel

struct GNUNET_CADET_Channel* Channel::channel

Handle for the channel.

Definition at line 120 of file gnunet-service-conversation.c.

Referenced by inbound_channel(), and inbound_end().

◆ mq

struct GNUNET_MQ_Handle* Channel::mq

Message queue for control messages.

Definition at line 125 of file gnunet-service-conversation.c.

◆ env

struct GNUNET_MQ_Envelope* Channel::env

Temporary buffer for audio data in the mq.

Definition at line 130 of file gnunet-service-conversation.c.

Referenced by httpdomain.httpdomain.HTTPResource::add_target_and_index(), and typescriptdomain.TypeScriptDefinition::run().

◆ cid

uint32_t Channel::cid

Channel identifier we use for this call with the client.

Definition at line 135 of file gnunet-service-conversation.c.

Referenced by find_channel_by_line().

◆ status

enum ChannelStatus Channel::status

Current status of this line.

Definition at line 140 of file gnunet-service-conversation.c.

◆ suspended_remote

int8_t Channel::suspended_remote

GNUNET_YES if the channel was suspended by the other peer.

Definition at line 145 of file gnunet-service-conversation.c.

◆ suspended_local

int8_t Channel::suspended_local

GNUNET_YES if the channel was suspended by the local client.

Definition at line 150 of file gnunet-service-conversation.c.


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