GNUnet  0.11.x
Data Fields
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

◆ 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

◆ mq

struct GNUNET_MQ_Handle* Channel::mq

◆ env

struct GNUNET_MQ_Envelope* Channel::env

◆ cid

uint32_t Channel::cid

◆ status

enum ChannelStatus Channel::status

◆ 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.

Referenced by handle_cadet_audio_message(), handle_cadet_resume_message(), and handle_cadet_suspend_message().

◆ 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.

Referenced by handle_cadet_audio_message(), handle_client_audio_message(), handle_client_resume_message(), and handle_client_suspend_message().


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