|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
Per-client connection data. More...
#include <src/discovery-service/server.h>
Data Fields | |
| uint8_t | session_id [16] |
| Session UUID (valid if joined_session) | |
| uint8_t | participant_id [16] |
| Participant UUID (valid if joined_session) | |
| bool | joined_session |
| Whether client has successfully joined a session. | |
| crypto_handshake_context_t | handshake_ctx |
| Handshake context for encrypted communication. | |
| bool | handshake_complete |
| Whether crypto handshake has completed. | |
| bool | in_multikey_session_create |
| True during multi-key SESSION_CREATE sequence. | |
| acip_session_create_t | pending_session |
| Pending session data (from first SESSION_CREATE) | |
| uint8_t | pending_session_keys [MAX_IDENTITY_KEYS][32] |
| Array of identity public keys. | |
| size_t | num_pending_keys |
| Number of keys received so far. | |
Per-client connection data.
Stored in tcp_server client registry to track which session and participant this connection represents. Used by signaling relay to map participant_id → socket for message delivery.
When creating a session with multiple identity keys (e.g., SSH + GPG):
During multi-key creation:
Definition at line 57 of file discovery-service/server.h.
| bool acds_client_data_t::handshake_complete |
Whether crypto handshake has completed.
Definition at line 64 of file discovery-service/server.h.
Referenced by acds_client_handler().
| crypto_handshake_context_t acds_client_data_t::handshake_ctx |
Handshake context for encrypted communication.
Definition at line 63 of file discovery-service/server.h.
Referenced by acds_client_handler().
| bool acds_client_data_t::in_multikey_session_create |
True during multi-key SESSION_CREATE sequence.
Definition at line 67 of file discovery-service/server.h.
Referenced by acds_client_handler().
| bool acds_client_data_t::joined_session |
Whether client has successfully joined a session.
Definition at line 60 of file discovery-service/server.h.
Referenced by acds_client_handler().
| size_t acds_client_data_t::num_pending_keys |
Number of keys received so far.
Definition at line 70 of file discovery-service/server.h.
| uint8_t acds_client_data_t::participant_id[16] |
Participant UUID (valid if joined_session)
Definition at line 59 of file discovery-service/server.h.
| acip_session_create_t acds_client_data_t::pending_session |
Pending session data (from first SESSION_CREATE)
Definition at line 68 of file discovery-service/server.h.
| uint8_t acds_client_data_t::pending_session_keys[MAX_IDENTITY_KEYS][32] |
Array of identity public keys.
Definition at line 69 of file discovery-service/server.h.
| uint8_t acds_client_data_t::session_id[16] |
Session UUID (valid if joined_session)
Definition at line 58 of file discovery-service/server.h.