summaryrefslogtreecommitdiff
path: root/tncinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'tncinfo.h')
-rw-r--r--tncinfo.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/tncinfo.h b/tncinfo.h
index 2e2c553..003cbd7 100644
--- a/tncinfo.h
+++ b/tncinfo.h
@@ -17,6 +17,10 @@ extern HANDLE hInstance;
extern HMENU hMainFrameMenu;
extern HMENU hWndMenu;
+
+void BuildDevicePage(struct TNCINFO * TNC);
+
+
/*
struct WL2KInfo
{
@@ -189,6 +193,7 @@ struct TCPINFO
HWND hCMSWnd;
int SecureTelnet;
+ int noWebSocks;
int ReportRelayTraffic; // Send WL2K Reports for Relay Traffic
char * WebTermCSS; // css override for web terminal
@@ -812,7 +817,13 @@ typedef struct TNCINFO
char * WEB_RESTARTS;
char * WEB_PACTORLEVEL;
char * WEB_LEVELS;
- int WEB_CHANGED; // Used to speed up refresh when active
+ char WEB_CHANGED; // Used to speed up refresh when active
+ char WebSockUsed; // If not set don't build page
+ char PageChanged; // Set when page could have changed
+
+ char * WebPage; // Device Web Page. Used for Websocks refresh
+ int WebPageLen;
+
HMENU hMenu;
HMENU hWndMenu;
@@ -863,9 +874,9 @@ typedef struct TNCINFO
int NRCloseTimer;
struct _LINKTABLE * DummyLink; // Simulated link to simplify interface to ax,25 netrom code
struct sixPackPortInfo * sixPack;
- int VaraACAllowed; // Set by config
- int VaraACMode; // Set by first message received
- int VaraModeSet; // Have decicded if VarAC mode or not
+ char VaraACAllowed; // Set by config
+ char VaraACMode; // Set by first message received
+ char VaraModeSet; // Have decicded if VarAC mode or not
char * VARACMsg; // to build message from packets
int VarACTimer; // delayed send timer
size_t VARACSize; // malloc'ed size
@@ -908,7 +919,7 @@ int BPQTRACE(MESSAGE * Msg, BOOL TOAPRS);
static int ProcessLine(char * buf, int Port);
-VOID __cdecl Debugprintf(const char * format, ...);
+Dll VOID __cdecl Debugprintf(const char * format, ...);
VOID __cdecl Consoleprintf(const char * format, ...);
extern BOOL MinimizetoTray;