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

#include <include/ascii-chat/network/acip/acds_protocol.h>

Data Fields

acds_protocol_send_fn send
void * user_data
acds_protocol_state_t state
bool terminal
bool auto_join
bool require_webrtc
char error [256]
acds_session_join_params_t join
char name [49]
acip_session_created_t created
acip_session_info_t info
acip_session_joined_t joined
uint16_t quic_port
char webtransport_url [512]

Detailed Description

Definition at line 26 of file acds_protocol.h.

Field Documentation

◆ auto_join

bool acds_protocol::auto_join

Definition at line 31 of file acds_protocol.h.

Referenced by acds_protocol_enter(), and acds_protocol_receive().

◆ created

acip_session_created_t acds_protocol::created

Definition at line 36 of file acds_protocol.h.

Referenced by acds_protocol_receive(), and acds_session_create().

◆ error

char acds_protocol::error[256]

Definition at line 33 of file acds_protocol.h.

Referenced by acds_protocol_receive().

◆ info

acip_session_info_t acds_protocol::info

Definition at line 37 of file acds_protocol.h.

Referenced by acds_protocol_receive(), and acds_session_lookup().

◆ join

acds_session_join_params_t acds_protocol::join

Definition at line 34 of file acds_protocol.h.

Referenced by acds_protocol_enter(), and acds_protocol_receive().

◆ joined

acip_session_joined_t acds_protocol::joined

Definition at line 38 of file acds_protocol.h.

Referenced by acds_protocol_leave(), acds_protocol_receive(), and acds_session_join().

◆ name

char acds_protocol::name[49]

◆ quic_port

uint16_t acds_protocol::quic_port

Optional versioned transport extension after the legacy join response.

Definition at line 40 of file acds_protocol.h.

Referenced by acds_protocol_receive().

◆ require_webrtc

bool acds_protocol::require_webrtc

Definition at line 32 of file acds_protocol.h.

Referenced by acds_protocol_enter(), and acds_protocol_receive().

◆ send

acds_protocol_send_fn acds_protocol::send

Definition at line 27 of file acds_protocol.h.

Referenced by acds_protocol_init().

◆ state

◆ terminal

bool acds_protocol::terminal

Definition at line 30 of file acds_protocol.h.

Referenced by acds_protocol_receive().

◆ user_data

void* acds_protocol::user_data

Definition at line 28 of file acds_protocol.h.

Referenced by acds_protocol_init().

◆ webtransport_url

char acds_protocol::webtransport_url[512]

Definition at line 41 of file acds_protocol.h.

Referenced by acds_protocol_receive().


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