chatgui: add Status page in settings (NTP + connections status)

This commit is contained in:
Evgeny committed 2026-07-17 16:25:55 +03:00
1 parent f0bb03c2cf
commit 960cde3eda
15 files changed
+651 -62

No files matched your search

+6 -1
View File
@@ -92,6 +92,11 @@ struct CFG_ALLOWED_KEY {
struct CFG_ALLOWED_KEY *next;
};
struct CFG_NTP_SERVER {
char name[256];
struct CFG_NTP_SERVER *next;
};
#define MAX_TCP_PROXY_CLIENT_MAPPINGS 32
struct tcp_proxy_client_mapping_config {
uint16_t local_port;
@@ -185,7 +190,7 @@ struct global_config {
// NTP configuration ([ntp] section)
int ntp_enabled;
char ntp_servers[5][256]; // up to 5 NTP server hostnames
struct CFG_NTP_SERVER *ntp_servers; // linked list, unlimited
int ntp_server_count;
int ntp_resync_interval; // seconds, default 3600
};