|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Session discovery configuration. More...
#include <lib/network/mdns/discovery.h>
Data Fields | |
| const uint8_t * | expected_pubkey |
| Expected server pubkey (NULL = no verification) | |
| bool | insecure_mode |
| Allow no verification (–acds-insecure flag) | |
| char | acds_server [256] |
| ACDS server address (e.g., "localhost" or "acds.ascii-chat.com") | |
| uint16_t | acds_port |
| ACDS server port (default: 27225) | |
| uint32_t | mdns_timeout_ms |
| mDNS search timeout (default: 2000ms) | |
| uint32_t | acds_timeout_ms |
| ACDS lookup timeout (default: 5000ms) | |
| const uint8_t * | client_pubkey |
| Client's Ed25519 public key (can be NULL) | |
| const uint8_t * | client_seckey |
| Client's Ed25519 secret key (can be NULL) | |
| const char * | password |
| Optional session password (NULL if none) | |
Session discovery configuration.
Definition at line 111 of file discovery.h.
| uint16_t discovery_config_t::acds_port |
ACDS server port (default: 27225)
Definition at line 118 of file discovery.h.
Referenced by client_main(), and discovery_config_init_defaults().
| char discovery_config_t::acds_server[256] |
ACDS server address (e.g., "localhost" or "acds.ascii-chat.com")
Definition at line 117 of file discovery.h.
Referenced by client_main(), and discovery_config_init_defaults().
| uint32_t discovery_config_t::acds_timeout_ms |
ACDS lookup timeout (default: 5000ms)
Definition at line 122 of file discovery.h.
Referenced by discover_session_parallel(), and discovery_config_init_defaults().
| const uint8_t* discovery_config_t::client_pubkey |
Client's Ed25519 public key (can be NULL)
Definition at line 125 of file discovery.h.
| const uint8_t* discovery_config_t::client_seckey |
Client's Ed25519 secret key (can be NULL)
Definition at line 126 of file discovery.h.
| const uint8_t* discovery_config_t::expected_pubkey |
Expected server pubkey (NULL = no verification)
Definition at line 113 of file discovery.h.
Referenced by client_main(), discover_session_parallel(), and discovery_config_init_defaults().
| bool discovery_config_t::insecure_mode |
Allow no verification (–acds-insecure flag)
Definition at line 114 of file discovery.h.
Referenced by client_main(), discover_session_parallel(), and discovery_config_init_defaults().
| uint32_t discovery_config_t::mdns_timeout_ms |
mDNS search timeout (default: 2000ms)
Definition at line 121 of file discovery.h.
Referenced by discovery_config_init_defaults().
| const char* discovery_config_t::password |
Optional session password (NULL if none)
Definition at line 127 of file discovery.h.
Referenced by client_main().