A struct Channel
represents a cadet channel, which is a P2P connection to another conversation service.
More...
Data Fields | |
struct Channel * | next |
This is a DLL. More... | |
struct Channel * | prev |
This is a DLL. More... | |
struct Line * | line |
Line associated with the channel. More... | |
struct GNUNET_CADET_Channel * | channel |
Handle for the channel. More... | |
struct GNUNET_MQ_Handle * | mq |
Message queue for control messages. More... | |
struct GNUNET_MQ_Envelope * | env |
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... | |
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.
struct Channel* Channel::next |
This is a DLL.
Definition at line 105 of file gnunet-service-conversation.c.
struct Channel* Channel::prev |
This is a DLL.
Definition at line 110 of file gnunet-service-conversation.c.
struct Line* Channel::line |
Line associated with the channel.
Definition at line 115 of file gnunet-service-conversation.c.
Referenced by typescriptdomain.MyPygmentsBridge::__init__(), and typescriptdomain.MyPygmentsBridge::highlight_block().
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().
struct GNUNET_MQ_Handle* Channel::mq |
Message queue for control messages.
Definition at line 125 of file gnunet-service-conversation.c.
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().
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().
enum ChannelStatus Channel::status |
Current status of this line.
Definition at line 140 of file gnunet-service-conversation.c.
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.
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.