ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
async_tcp_t Struct Reference

Data Fields

platform_event_stream_t * stream
mutex_t mutex
mutex_t receive_mutex
atomic_t closed
platform_event_loop_t * loop
platform_thread_t thread
bool thread_started
bool queued_receive
acip_transport_t * destroy_on_close
cond_t received
bool receive_lock_held
cond_t writable
packet_decoder_t decoder
ringbuffer_t * receive_queue
ringbuffer_t * receive_free
async_packet_t * head
async_packet_t * tail
async_packet_t * recycled
async_packet_t * held
size_t recycled_count
atomic_t received_bytes
atomic_t received_count
buffer_workspace_t ciphertext
atomic_t queued_wire_bytes
bool packet_received
atomic_t interrupted

Detailed Description

Definition at line 28 of file async.c.

Field Documentation

◆ ciphertext

buffer_workspace_t async_tcp_t::ciphertext

Definition at line 50 of file async.c.

◆ closed

atomic_t async_tcp_t::closed

Definition at line 32 of file async.c.

Referenced by acip_async_tcp_accepted_create(), and acip_async_tcp_transport_detach().

◆ decoder

packet_decoder_t async_tcp_t::decoder

Definition at line 41 of file async.c.

◆ destroy_on_close

acip_transport_t* async_tcp_t::destroy_on_close

Definition at line 37 of file async.c.

Referenced by acip_async_tcp_accepted_create().

◆ head

async_packet_t* async_tcp_t::head

Definition at line 44 of file async.c.

◆ held

async_packet_t* async_tcp_t::held

Definition at line 46 of file async.c.

◆ interrupted

atomic_t async_tcp_t::interrupted

Definition at line 53 of file async.c.

◆ loop

platform_event_loop_t* async_tcp_t::loop

Definition at line 33 of file async.c.

Referenced by acip_async_tcp_client_create().

◆ mutex

mutex_t async_tcp_t::mutex

Definition at line 30 of file async.c.

Referenced by acip_async_tcp_transport_create(), and acip_async_tcp_transport_detach().

◆ packet_received

bool async_tcp_t::packet_received

Definition at line 52 of file async.c.

◆ queued_receive

bool async_tcp_t::queued_receive

Definition at line 36 of file async.c.

Referenced by acip_async_tcp_accepted_create(), and acip_async_tcp_client_create().

◆ queued_wire_bytes

atomic_t async_tcp_t::queued_wire_bytes

Definition at line 51 of file async.c.

Referenced by acip_async_tcp_transport_queued().

◆ receive_free

ringbuffer_t* async_tcp_t::receive_free

Definition at line 43 of file async.c.

Referenced by acip_async_tcp_client_create().

◆ receive_lock_held

bool async_tcp_t::receive_lock_held

Definition at line 39 of file async.c.

◆ receive_mutex

mutex_t async_tcp_t::receive_mutex

Definition at line 31 of file async.c.

Referenced by acip_async_tcp_transport_create().

◆ receive_queue

ringbuffer_t* async_tcp_t::receive_queue

Definition at line 42 of file async.c.

Referenced by acip_async_tcp_transport_create().

◆ received

cond_t async_tcp_t::received

Definition at line 38 of file async.c.

Referenced by acip_async_tcp_accepted_create(), and acip_async_tcp_client_create().

◆ received_bytes

atomic_t async_tcp_t::received_bytes

Definition at line 48 of file async.c.

◆ received_count

atomic_t async_tcp_t::received_count

Definition at line 49 of file async.c.

◆ recycled

async_packet_t* async_tcp_t::recycled

Definition at line 45 of file async.c.

◆ recycled_count

size_t async_tcp_t::recycled_count

Definition at line 47 of file async.c.

◆ stream

◆ tail

async_packet_t * async_tcp_t::tail

Definition at line 44 of file async.c.

◆ thread

platform_thread_t async_tcp_t::thread

Definition at line 34 of file async.c.

Referenced by acip_async_tcp_client_create().

◆ thread_started

bool async_tcp_t::thread_started

Definition at line 35 of file async.c.

Referenced by acip_async_tcp_client_create().

◆ writable

cond_t async_tcp_t::writable

Definition at line 40 of file async.c.

Referenced by acip_async_tcp_transport_create().


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