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 97 of file gnunet-service-conversation.c.
struct Channel* Channel::next |
This is a DLL.
Definition at line 102 of file gnunet-service-conversation.c.
struct Channel* Channel::prev |
This is a DLL.
Definition at line 107 of file gnunet-service-conversation.c.
struct Line* Channel::line |
Line associated with the channel.
Definition at line 112 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 117 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 122 of file gnunet-service-conversation.c.
struct GNUNET_MQ_Envelope* Channel::env |
Temporary buffer for audio data in the mq.
Definition at line 127 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 132 of file gnunet-service-conversation.c.
Referenced by find_channel_by_line().
enum ChannelStatus Channel::status |
Current status of this line.
Definition at line 137 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 142 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 147 of file gnunet-service-conversation.c.