Compare commits
No commits in common. "33d8e6f75a614ecc1395913036f1467ad4886257" and "eab73bee95a961a76987bee6377d11dbfb3b41e9" have entirely different histories.
33d8e6f75a
...
eab73bee95
4
AGWAPI.c
4
AGWAPI.c
|
@ -128,7 +128,7 @@ int DataSocket_Write(struct AGWSocketConnectionInfo * sockptr, SOCKET sock);
|
||||||
int AGWGetSessionKey(char * key, struct AGWSocketConnectionInfo * sockptr);
|
int AGWGetSessionKey(char * key, struct AGWSocketConnectionInfo * sockptr);
|
||||||
int ProcessAGWCommand(struct AGWSocketConnectionInfo * sockptr);
|
int ProcessAGWCommand(struct AGWSocketConnectionInfo * sockptr);
|
||||||
int SendDataToAppl(int Stream, byte * Buffer, int Length);
|
int SendDataToAppl(int Stream, byte * Buffer, int Length);
|
||||||
int InternalAGWDecodeFrame(char * msg, char * buffer, time_t Stamp, int * FrameType, int useLocalTime, int doNodes);
|
int InternalAGWDecodeFrame(char * msg, char * buffer, int Stamp, int * FrameType, int useLocalTime, int doNodes);
|
||||||
int AGWDataSocket_Disconnect( struct AGWSocketConnectionInfo * sockptr);
|
int AGWDataSocket_Disconnect( struct AGWSocketConnectionInfo * sockptr);
|
||||||
int SendRawPacket(struct AGWSocketConnectionInfo * sockptr, char *txmsg, int Length);
|
int SendRawPacket(struct AGWSocketConnectionInfo * sockptr, char *txmsg, int Length);
|
||||||
int ShowApps();
|
int ShowApps();
|
||||||
|
@ -402,7 +402,7 @@ int SetUpHostSessions()
|
||||||
extern struct DATAMESSAGE * REPLYBUFFER;
|
extern struct DATAMESSAGE * REPLYBUFFER;
|
||||||
extern BOOL AGWActive;
|
extern BOOL AGWActive;
|
||||||
|
|
||||||
VOID SHOWAGW(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID SHOWAGW(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// DISPLAY AGW Session Status
|
// DISPLAY AGW Session Status
|
||||||
|
|
||||||
|
|
|
@ -61,6 +61,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
|
|
||||||
#define NODES_SIG 0xFF
|
#define NODES_SIG 0xFF
|
||||||
|
|
||||||
|
char * strlop(char * buf, char delim);
|
||||||
UCHAR * DisplayINP3RIF(UCHAR * ptr1, UCHAR * ptr2, int msglen);
|
UCHAR * DisplayINP3RIF(UCHAR * ptr1, UCHAR * ptr2, int msglen);
|
||||||
|
|
||||||
static UCHAR * DISPLAY_NETROM(MESSAGE * ADJBUFFER, UCHAR * Output, int MsgLen, int DoNodes);
|
static UCHAR * DISPLAY_NETROM(MESSAGE * ADJBUFFER, UCHAR * Output, int MsgLen, int DoNodes);
|
||||||
|
|
|
@ -832,7 +832,6 @@ void SaveNavAidDataBase()
|
||||||
char FN[256];
|
char FN[256];
|
||||||
struct NAVAIDRECORD * navptr;
|
struct NAVAIDRECORD * navptr;
|
||||||
|
|
||||||
|
|
||||||
if (BPQDirectory[0] == 0)
|
if (BPQDirectory[0] == 0)
|
||||||
{
|
{
|
||||||
strcpy(FN, "AIS_NavAids.txt");
|
strcpy(FN, "AIS_NavAids.txt");
|
||||||
|
@ -2373,8 +2372,6 @@ void ProcessAISNavAidMessage()
|
||||||
NavAidCount++;
|
NavAidCount++;
|
||||||
|
|
||||||
ProcessAISNavAidMessage();
|
ProcessAISNavAidMessage();
|
||||||
NavAidDBChanged = 1;
|
|
||||||
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
16
APRSCode.c
16
APRSCode.c
|
@ -22,6 +22,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
// First Version, November 2011
|
// First Version, November 2011
|
||||||
|
|
||||||
#pragma data_seg("_BPQDATA")
|
#pragma data_seg("_BPQDATA")
|
||||||
|
|
||||||
#define _CRT_SECURE_NO_DEPRECATE
|
#define _CRT_SECURE_NO_DEPRECATE
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -62,6 +63,7 @@ VOID __cdecl Debugprintf(const char * format, ...);
|
||||||
VOID __cdecl Consoleprintf(const char * format, ...);
|
VOID __cdecl Consoleprintf(const char * format, ...);
|
||||||
BOOL APIENTRY Send_AX(PMESSAGE Block, DWORD Len, UCHAR Port);
|
BOOL APIENTRY Send_AX(PMESSAGE Block, DWORD Len, UCHAR Port);
|
||||||
VOID Send_AX_Datagram(PDIGIMESSAGE Block, DWORD Len, UCHAR Port);
|
VOID Send_AX_Datagram(PDIGIMESSAGE Block, DWORD Len, UCHAR Port);
|
||||||
|
char * strlop(char * buf, char delim);
|
||||||
int APRSDecodeFrame(char * msg, char * buffer, time_t Stamp, uint64_t Mask); // Unsemaphored DecodeFrame
|
int APRSDecodeFrame(char * msg, char * buffer, time_t Stamp, uint64_t Mask); // Unsemaphored DecodeFrame
|
||||||
APRSHEARDRECORD * UpdateHeard(UCHAR * Call, int Port);
|
APRSHEARDRECORD * UpdateHeard(UCHAR * Call, int Port);
|
||||||
BOOL CheckforDups(char * Call, char * Msg, int Len);
|
BOOL CheckforDups(char * Call, char * Msg, int Len);
|
||||||
|
@ -347,7 +349,7 @@ APRSHEARDRECORD MHTABLE[MAXHEARD] = {0};
|
||||||
|
|
||||||
APRSHEARDRECORD * MHDATA = &MHTABLE[0];
|
APRSHEARDRECORD * MHDATA = &MHTABLE[0];
|
||||||
|
|
||||||
static SOCKET sock = 0;
|
static SOCKET sock = (SOCKET)0;
|
||||||
|
|
||||||
//Duplicate suppression Code
|
//Duplicate suppression Code
|
||||||
|
|
||||||
|
@ -3112,7 +3114,7 @@ VOID APRSISThread(void * Report)
|
||||||
BOOL bcopt=TRUE;
|
BOOL bcopt=TRUE;
|
||||||
char Buffer[1000];
|
char Buffer[1000];
|
||||||
int InputLen = 1; // Non-zero
|
int InputLen = 1; // Non-zero
|
||||||
char errmsg[300];
|
char errmsg[100];
|
||||||
char * ptr;
|
char * ptr;
|
||||||
size_t inptr = 0;
|
size_t inptr = 0;
|
||||||
char APRSinMsg[1000];
|
char APRSinMsg[1000];
|
||||||
|
@ -3673,7 +3675,7 @@ BOOL CheckforDups(char * Call, char * Msg, int Len)
|
||||||
if (ptr1)
|
if (ptr1)
|
||||||
*ptr1 = 0;
|
*ptr1 = 0;
|
||||||
|
|
||||||
// Debugprintf("Duplicate Message suppressed %s", Msg);
|
// Debugprintf("Duplicate Message supressed %s", Msg);
|
||||||
return TRUE; // Duplicate
|
return TRUE; // Duplicate
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7665,7 +7667,7 @@ VOID APRSProcessHTTPMessage(SOCKET sock, char * MsgPtr, BOOL LOCAL, BOOL COOKIE)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
OutputLen += sprintf(&OutBuffer[OutputLen], "%s", WebTrailer);
|
OutputLen += sprintf(&OutBuffer[OutputLen], WebTrailer);
|
||||||
|
|
||||||
HeaderLen = sprintf(Header, "HTTP/1.0 200 OK\r\nContent-Length: %d\r\nContent-Type: text/html\r\n\r\n", OutputLen);
|
HeaderLen = sprintf(Header, "HTTP/1.0 200 OK\r\nContent-Length: %d\r\nContent-Type: text/html\r\n\r\n", OutputLen);
|
||||||
sendandcheck(sock, Header, HeaderLen);
|
sendandcheck(sock, Header, HeaderLen);
|
||||||
|
@ -7710,7 +7712,7 @@ VOID APRSProcessHTTPMessage(SOCKET sock, char * MsgPtr, BOOL LOCAL, BOOL COOKIE)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
OutputLen += sprintf(&OutBuffer[OutputLen], "%s", WebTrailer);
|
OutputLen += sprintf(&OutBuffer[OutputLen], WebTrailer);
|
||||||
|
|
||||||
HeaderLen = sprintf(Header, "HTTP/1.0 200 OK\r\nContent-Length: %d\r\nContent-Type: text/html\r\n\r\n", OutputLen);
|
HeaderLen = sprintf(Header, "HTTP/1.0 200 OK\r\nContent-Length: %d\r\nContent-Type: text/html\r\n\r\n", OutputLen);
|
||||||
sendandcheck(sock, Header, HeaderLen);
|
sendandcheck(sock, Header, HeaderLen);
|
||||||
|
@ -8112,7 +8114,7 @@ extern char OrigCmdBuffer[81];
|
||||||
|
|
||||||
BOOL isSYSOP(TRANSPORTENTRY * Session, char * Bufferptr);
|
BOOL isSYSOP(TRANSPORTENTRY * Session, char * Bufferptr);
|
||||||
|
|
||||||
VOID APRSCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID APRSCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// APRS Subcommands. Default for compatibility is APRSMH
|
// APRS Subcommands. Default for compatibility is APRSMH
|
||||||
|
|
||||||
|
@ -9177,7 +9179,7 @@ void GetSavedAPRSMessages()
|
||||||
if ((file = fopen(FN, "r")) == NULL)
|
if ((file = fopen(FN, "r")) == NULL)
|
||||||
return ;
|
return ;
|
||||||
|
|
||||||
while (fgets(Line, sizeof(Line), file))
|
while (fgets(Line, 512, file))
|
||||||
{
|
{
|
||||||
Stamp = Line;
|
Stamp = Line;
|
||||||
From = strlop(Stamp, ' ');
|
From = strlop(Stamp, ' ');
|
||||||
|
|
9223
APRSCode.c.orig
9223
APRSCode.c.orig
File diff suppressed because it is too large
Load Diff
139
APRSCode.c.rej
139
APRSCode.c.rej
|
@ -1,139 +0,0 @@
|
||||||
--- APRSCode.c
|
|
||||||
+++ APRSCode.c
|
|
||||||
@@ -3674,7 +3674,7 @@
|
|
||||||
if (ptr1)
|
|
||||||
*ptr1 = 0;
|
|
||||||
|
|
||||||
-// Debugprintf("Duplicate Message supressed %s", Msg);
|
|
||||||
+// Debugprintf("Duplicate Message suppressed %s", Msg);
|
|
||||||
return TRUE; // Duplicate
|
|
||||||
}
|
|
||||||
}
|
|
||||||
--- BPQChat.rc
|
|
||||||
+++ BPQChat.rc
|
|
||||||
@@ -162,7 +162,7 @@
|
|
||||||
WS_VSCROLL
|
|
||||||
DEFPUSHBUTTON "Save Welcome Message",SAVEWELCOME,140,296,91,14,
|
|
||||||
BS_CENTER | BS_VCENTER
|
|
||||||
- LTEXT " If the node is not directly connectable (ie is not in your NODES table) you can add a connect script. This consists of a series of commands seperared by |, eg NOTCHT:G8BPQ-4|C 3 GM8BPQ-9|CHAT",
|
|
||||||
+ LTEXT " If the node is not directly connectable (ie is not in your NODES table) you can add a connect script. This consists of a series of commands separated by |, eg NOTCHT:G8BPQ-4|C 3 GM8BPQ-9|CHAT",
|
|
||||||
IDC_STATIC,9,52,355,24
|
|
||||||
END
|
|
||||||
|
|
||||||
--- BPQMail.rc
|
|
||||||
+++ BPQMail.rc
|
|
||||||
@@ -1045,7 +1045,7 @@
|
|
||||||
CONTROL "Delete Log and Message Files to Recycle Bin",
|
|
||||||
IDC_DELETETORECYCLE,"Button",BS_AUTOCHECKBOX |
|
|
||||||
BS_LEFTTEXT | BS_MULTILINE | WS_TABSTOP,5,142,115,20
|
|
||||||
- CONTROL "Supress Mailing of Housekeeping Results",
|
|
||||||
+ CONTROL "Suppress Mailing of Housekeeping Results",
|
|
||||||
IDC_MAINTNOMAIL,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
|
|
||||||
BS_MULTILINE | WS_TABSTOP,5,182,115,20
|
|
||||||
CONTROL "Generate Traffic Report",IDC_MAINTTRAFFIC,"Button",
|
|
||||||
--- HanksRT.c
|
|
||||||
+++ HanksRT.c
|
|
||||||
@@ -1186,7 +1186,7 @@
|
|
||||||
// Duplicate, so discard, but save time
|
|
||||||
|
|
||||||
DupInfo[i].DupTime = Now;
|
|
||||||
- Logprintf(LOG_CHAT, circuit, '?', "Duplicate Message From %s %s supressed", Call, Msg);
|
|
||||||
+ Logprintf(LOG_CHAT, circuit, '?', "Duplicate Message From %s %s suppressed", Call, Msg);
|
|
||||||
|
|
||||||
return TRUE; // Duplicate
|
|
||||||
}
|
|
||||||
--- RigControl.c
|
|
||||||
+++ RigControl.c
|
|
||||||
@@ -8385,7 +8385,7 @@
|
|
||||||
|
|
||||||
switch (Msg[0])
|
|
||||||
{
|
|
||||||
- case 'f': // Get Freqency
|
|
||||||
+ case 'f': // Get Frequency
|
|
||||||
|
|
||||||
HLGetFreq(Sock, RIG, sep);
|
|
||||||
return 0;
|
|
||||||
--- UZ7HODrv.c
|
|
||||||
+++ UZ7HODrv.c
|
|
||||||
@@ -374,7 +374,7 @@
|
|
||||||
{
|
|
||||||
// Read Freq
|
|
||||||
|
|
||||||
- buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Modem Freqency %d\r", AGW->CenterFreq);
|
|
||||||
+ buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Modem Frequency %d\r", AGW->CenterFreq);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -382,7 +382,7 @@
|
|
||||||
|
|
||||||
if (AGW->CenterFreq == 0)
|
|
||||||
{
|
|
||||||
- buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Invalid Modem Freqency\r");
|
|
||||||
+ buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Invalid Modem Frequency\r");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
--- WinRPRHelper.c
|
|
||||||
+++ WinRPRHelper.c
|
|
||||||
@@ -111,7 +111,7 @@
|
|
||||||
|
|
||||||
if (argc < 3)
|
|
||||||
{
|
|
||||||
- printf ("Missing paramters - you need COM port and IP Address and rigctl port of BPQ, eg \r\n"
|
|
||||||
+ printf ("Missing parameters - you need COM port and IP Address and rigctl port of BPQ, eg \r\n"
|
|
||||||
" WinRPRHelper com10 192.168.1.64:4532\r\n\r\n"
|
|
||||||
"Press any key to exit\r\n");
|
|
||||||
|
|
||||||
--- config.c
|
|
||||||
+++ config.c
|
|
||||||
@@ -649,7 +649,7 @@
|
|
||||||
if (LOCATOR[0] == 0 && LocSpecified == 0 && RFOnly == 0)
|
|
||||||
{
|
|
||||||
Consoleprintf("");
|
|
||||||
- Consoleprintf("Please enter a LOCATOR statment in your BPQ32.cfg");
|
|
||||||
+ Consoleprintf("Please enter a LOCATOR statement in your BPQ32.cfg");
|
|
||||||
Consoleprintf("If you really don't want to be on the Node Map you can enter LOCATOR=NONE");
|
|
||||||
Consoleprintf("");
|
|
||||||
|
|
||||||
--- kiss.c
|
|
||||||
+++ kiss.c
|
|
||||||
@@ -1485,7 +1485,7 @@
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
- Debugprintf("Polled KISS - response from wrong address - Polled %d Reponse %d",
|
|
||||||
+ Debugprintf("Polled KISS - response from wrong address - Polled %d Response %d",
|
|
||||||
KISS->POLLPOINTER->OURCTRL, (Port->RXMSG[0] & 0xf0));
|
|
||||||
|
|
||||||
goto SeeifMore; // SEE IF ANYTHING ELSE
|
|
||||||
--- templatedefs.c
|
|
||||||
+++ templatedefs.c
|
|
||||||
@@ -1165,7 +1165,7 @@
|
|
||||||
"Send Non-delivery Notifications<br>\r\n"
|
|
||||||
"for P and T messages <input %sname=\"SendND\" value=\"SendND\" type=\"checkbox\" /><br>\r\n"
|
|
||||||
" <br />\r\n"
|
|
||||||
- "Supress Mailing of<br>\r\n"
|
|
||||||
+ "Suppress Mailing of<br>\r\n"
|
|
||||||
"Housekeeping Result <input %sname=\"NoMail\" value=\"Yes\" type=\"checkbox\"><br><br>\r\n"
|
|
||||||
"Generate Traffic Report<input %sname=\"GenTraffic\" value=\"Yes\" type=\"checkbox\"><br><br>\r\n"
|
|
||||||
"<div style=\"text-align: center;\"><input class='btn' name=RunNow value=\"Run Housekeeping\" type=submit class='btn'></div>\r\n"
|
|
||||||
@@ -1454,7 +1454,7 @@
|
|
||||||
"<div style=\"text-align: left; width: 680px; margin: auto;\">The Nodes to link to box defines which other Chat Nodes should be connected to, or from which "
|
|
||||||
"connections may be accepted. The format is ALIAS:CALL, eg BPQCHT:G8BPQ-4. If the node is not directly "
|
|
||||||
"connectable (ie is not in your NODES table) you can add a connect script. This consists of a series of commands "
|
|
||||||
- "seperared by |, eg NOTCHT:G8BPQ-4|C 3 GM8BPQ-9|CHAT"
|
|
||||||
+ "separated by |, eg NOTCHT:G8BPQ-4|C 3 GM8BPQ-9|CHAT"
|
|
||||||
|
|
||||||
"<br><br>The Callsign of the Chat Node is not defined here - it is obtained from the bpq32.cfg APPLICATION line corresponding to the Chat Appl Number.<br>\r\n"
|
|
||||||
"<br></div>\n"
|
|
||||||
--- WebMail.c
|
|
||||||
+++ WebMail.c
|
|
||||||
@@ -2020,7 +2020,7 @@
|
|
||||||
"document.getElementById('myform').action = '/WebMail/QuoteOriginal' + '?%s';"
|
|
||||||
" document.getElementById('myform').submit();}</script>"
|
|
||||||
"<input type=button class='btn' onclick='myfunc()' "
|
|
||||||
- "value='Include Orignal Msg'>";
|
|
||||||
+ "value='Include Original Msg'>";
|
|
||||||
|
|
||||||
char Temp[1024];
|
|
||||||
char ReplyAddr[128];
|
|
6
ARDOP.c
6
ARDOP.c
|
@ -562,7 +562,7 @@ static int ProcessLine(char * buf, int Port)
|
||||||
|
|
||||||
void ARDOPThread(struct TNCINFO * TNC);
|
void ARDOPThread(struct TNCINFO * TNC);
|
||||||
VOID ARDOPProcessDataSocketData(int port);
|
VOID ARDOPProcessDataSocketData(int port);
|
||||||
int ConnecttoARDOP(struct TNCINFO * TNC);
|
int ConnecttoARDOP();
|
||||||
static VOID ARDOPProcessReceivedData(struct TNCINFO * TNC);
|
static VOID ARDOPProcessReceivedData(struct TNCINFO * TNC);
|
||||||
static VOID ARDOPProcessReceivedControl(struct TNCINFO * TNC);
|
static VOID ARDOPProcessReceivedControl(struct TNCINFO * TNC);
|
||||||
int V4ProcessReceivedData(struct TNCINFO * TNC);
|
int V4ProcessReceivedData(struct TNCINFO * TNC);
|
||||||
|
@ -3212,7 +3212,7 @@ VOID ARDOPProcessResponse(struct TNCINFO * TNC, UCHAR * Buffer, int MsgLen)
|
||||||
{
|
{
|
||||||
char AppName[13];
|
char AppName[13];
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
if (TNC->SendTandRtoRelay && memcmp(AppName, "RMS ", 4) == 0
|
if (TNC->SendTandRtoRelay && memcmp(AppName, "RMS ", 4) == 0
|
||||||
|
@ -5063,7 +5063,7 @@ tcpHostFrame:
|
||||||
{
|
{
|
||||||
char AppName[13];
|
char AppName[13];
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
// Make sure app is available
|
// Make sure app is available
|
||||||
|
|
|
@ -51,8 +51,6 @@ extern struct ConsoleInfo BBSConsole;
|
||||||
|
|
||||||
extern char LOC[7];
|
extern char LOC[7];
|
||||||
|
|
||||||
extern BOOL MQTT;
|
|
||||||
|
|
||||||
//#define BBSIDLETIME 120
|
//#define BBSIDLETIME 120
|
||||||
//#define USERIDLETIME 300
|
//#define USERIDLETIME 300
|
||||||
|
|
||||||
|
@ -128,7 +126,6 @@ int32_t Encode(char * in, char * out, int32_t inlen, BOOL B1Protocol, int Compre
|
||||||
int APIENTRY ChangeSessionCallsign(int Stream, unsigned char * AXCall);
|
int APIENTRY ChangeSessionCallsign(int Stream, unsigned char * AXCall);
|
||||||
void SendMessageReadEvent(char * call, struct MsgInfo * Msg);
|
void SendMessageReadEvent(char * call, struct MsgInfo * Msg);
|
||||||
void SendNewMessageEvent(char * call, struct MsgInfo * Msg);
|
void SendNewMessageEvent(char * call, struct MsgInfo * Msg);
|
||||||
void MQTTMessageEvent(struct MsgInfo * message);
|
|
||||||
|
|
||||||
config_t cfg;
|
config_t cfg;
|
||||||
config_setting_t * group;
|
config_setting_t * group;
|
||||||
|
@ -3455,11 +3452,6 @@ VOID FlagAsKilled(struct MsgInfo * Msg, BOOL SaveDB)
|
||||||
if (SaveDB)
|
if (SaveDB)
|
||||||
SaveMessageDatabase();
|
SaveMessageDatabase();
|
||||||
RebuildNNTPList();
|
RebuildNNTPList();
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(Msg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DoDeliveredCommand(CIRCUIT * conn, struct UserInfo * user, char * Cmd, char * Arg1, char * Context)
|
void DoDeliveredCommand(CIRCUIT * conn, struct UserInfo * user, char * Cmd, char * Arg1, char * Context)
|
||||||
|
@ -4904,10 +4896,6 @@ sendEOM:
|
||||||
Msg->datechanged=time(NULL);
|
Msg->datechanged=time(NULL);
|
||||||
SaveMessageDatabase();
|
SaveMessageDatabase();
|
||||||
SendMessageReadEvent(user->Call, Msg);
|
SendMessageReadEvent(user->Call, Msg);
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(Msg);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6469,10 +6457,6 @@ nextline:
|
||||||
user = LookupCall(Msg->to);
|
user = LookupCall(Msg->to);
|
||||||
|
|
||||||
SendNewMessageEvent(user->Call, Msg);
|
SendNewMessageEvent(user->Call, Msg);
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(Msg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (EnableUI)
|
if (EnableUI)
|
||||||
#ifdef LINBPQ
|
#ifdef LINBPQ
|
||||||
|
@ -10157,6 +10141,7 @@ BOOL GetConfig(char * ConfigName)
|
||||||
int i;
|
int i;
|
||||||
char Size[80];
|
char Size[80];
|
||||||
config_setting_t *setting;
|
config_setting_t *setting;
|
||||||
|
const char * ptr;
|
||||||
char * ptr1;
|
char * ptr1;
|
||||||
char FBBString[8192]= "";
|
char FBBString[8192]= "";
|
||||||
FBBFilter f;
|
FBBFilter f;
|
||||||
|
@ -10279,7 +10264,8 @@ BOOL GetConfig(char * ConfigName)
|
||||||
|
|
||||||
if (setting && setting->value.sval[0])
|
if (setting && setting->value.sval[0])
|
||||||
{
|
{
|
||||||
WelcomeMsg = _strdup(config_setting_get_string (setting));
|
ptr = config_setting_get_string (setting);
|
||||||
|
WelcomeMsg = _strdup(ptr);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
WelcomeMsg = _strdup("Hello $I. Latest Message is $L, Last listed is $Z\r\n");
|
WelcomeMsg = _strdup("Hello $I. Latest Message is $L, Last listed is $Z\r\n");
|
||||||
|
@ -10288,7 +10274,10 @@ BOOL GetConfig(char * ConfigName)
|
||||||
setting = config_setting_get_member (group, "NewUserWelcomeMsg");
|
setting = config_setting_get_member (group, "NewUserWelcomeMsg");
|
||||||
|
|
||||||
if (setting && setting->value.sval[0])
|
if (setting && setting->value.sval[0])
|
||||||
NewWelcomeMsg = _strdup(config_setting_get_string (setting));
|
{
|
||||||
|
ptr = config_setting_get_string (setting);
|
||||||
|
NewWelcomeMsg = _strdup(ptr);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
NewWelcomeMsg = _strdup("Hello $I. Latest Message is $L, Last listed is $Z\r\n");
|
NewWelcomeMsg = _strdup("Hello $I. Latest Message is $L, Last listed is $Z\r\n");
|
||||||
|
|
||||||
|
@ -10296,7 +10285,10 @@ BOOL GetConfig(char * ConfigName)
|
||||||
setting = config_setting_get_member (group, "ExpertWelcomeMsg");
|
setting = config_setting_get_member (group, "ExpertWelcomeMsg");
|
||||||
|
|
||||||
if (setting && setting->value.sval[0])
|
if (setting && setting->value.sval[0])
|
||||||
ExpertWelcomeMsg = _strdup(config_setting_get_string (setting));
|
{
|
||||||
|
ptr = config_setting_get_string (setting);
|
||||||
|
ExpertWelcomeMsg = _strdup(ptr);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
ExpertWelcomeMsg = _strdup("");
|
ExpertWelcomeMsg = _strdup("");
|
||||||
|
|
||||||
|
@ -10305,7 +10297,10 @@ BOOL GetConfig(char * ConfigName)
|
||||||
setting = config_setting_get_member (group, "Prompt");
|
setting = config_setting_get_member (group, "Prompt");
|
||||||
|
|
||||||
if (setting && setting->value.sval[0])
|
if (setting && setting->value.sval[0])
|
||||||
Prompt = _strdup(config_setting_get_string (setting));
|
{
|
||||||
|
ptr = config_setting_get_string (setting);
|
||||||
|
Prompt = _strdup(ptr);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Prompt = malloc(20);
|
Prompt = malloc(20);
|
||||||
|
@ -10315,7 +10310,10 @@ BOOL GetConfig(char * ConfigName)
|
||||||
setting = config_setting_get_member (group, "NewUserPrompt");
|
setting = config_setting_get_member (group, "NewUserPrompt");
|
||||||
|
|
||||||
if (setting && setting->value.sval[0])
|
if (setting && setting->value.sval[0])
|
||||||
NewPrompt = _strdup(config_setting_get_string (setting));
|
{
|
||||||
|
ptr = config_setting_get_string (setting);
|
||||||
|
NewPrompt = _strdup(ptr);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
NewPrompt = malloc(20);
|
NewPrompt = malloc(20);
|
||||||
|
@ -10325,7 +10323,10 @@ BOOL GetConfig(char * ConfigName)
|
||||||
setting = config_setting_get_member (group, "ExpertPrompt");
|
setting = config_setting_get_member (group, "ExpertPrompt");
|
||||||
|
|
||||||
if (setting && setting->value.sval[0])
|
if (setting && setting->value.sval[0])
|
||||||
ExpertPrompt = _strdup(config_setting_get_string (setting));
|
{
|
||||||
|
ptr = config_setting_get_string (setting);
|
||||||
|
ExpertPrompt = _strdup(ptr);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ExpertPrompt = malloc(20);
|
ExpertPrompt = malloc(20);
|
||||||
|
@ -10546,7 +10547,7 @@ int Connected(int Stream)
|
||||||
char ConnectedMsg[] = "*** CONNECTED ";
|
char ConnectedMsg[] = "*** CONNECTED ";
|
||||||
char Msg[100];
|
char Msg[100];
|
||||||
char Title[100];
|
char Title[100];
|
||||||
int64_t Freq = 0;
|
int Freq = 0;
|
||||||
int Mode = 0;
|
int Mode = 0;
|
||||||
BPQVECSTRUC * SESS;
|
BPQVECSTRUC * SESS;
|
||||||
TRANSPORTENTRY * Sess1 = NULL, * Sess2;
|
TRANSPORTENTRY * Sess1 = NULL, * Sess2;
|
||||||
|
@ -11780,11 +11781,6 @@ VOID ProcessTextFwdLine(ConnectionInfo * conn, struct UserInfo * user, char * Bu
|
||||||
|
|
||||||
SaveMessageDatabase();
|
SaveMessageDatabase();
|
||||||
|
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(conn->FwdMsg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
conn->UserPointer->ForwardingInfo->MsgCount--;
|
conn->UserPointer->ForwardingInfo->MsgCount--;
|
||||||
|
|
||||||
// See if any more to forward
|
// See if any more to forward
|
||||||
|
|
|
@ -162,7 +162,7 @@ BEGIN
|
||||||
WS_VSCROLL
|
WS_VSCROLL
|
||||||
DEFPUSHBUTTON "Save Welcome Message",SAVEWELCOME,140,296,91,14,
|
DEFPUSHBUTTON "Save Welcome Message",SAVEWELCOME,140,296,91,14,
|
||||||
BS_CENTER | BS_VCENTER
|
BS_CENTER | BS_VCENTER
|
||||||
LTEXT " If the node is not directly connectable (ie is not in your NODES table) you can add a connect script. This consists of a series of commands separared by |, eg NOTCHT:G8BPQ-4|C 3 GM8BPQ-9|CHAT",
|
LTEXT " If the node is not directly connectable (ie is not in your NODES table) you can add a connect script. This consists of a series of commands seperared by |, eg NOTCHT:G8BPQ-4|C 3 GM8BPQ-9|CHAT",
|
||||||
IDC_STATIC,9,52,355,24
|
IDC_STATIC,9,52,355,24
|
||||||
END
|
END
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ typedef struct _RTTMSG
|
||||||
|
|
||||||
} RTTMSG;
|
} RTTMSG;
|
||||||
|
|
||||||
int COUNTNODES(struct ROUTE * ROUTE);
|
extern int COUNTNODES();
|
||||||
|
|
||||||
VOID __cdecl Debugprintf(const char * format, ...);
|
VOID __cdecl Debugprintf(const char * format, ...);
|
||||||
|
|
||||||
|
|
|
@ -2830,12 +2830,6 @@ gotAddr:
|
||||||
|
|
||||||
EndDialog(hDlg, LOWORD(wParam));
|
EndDialog(hDlg, LOWORD(wParam));
|
||||||
|
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(Msg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3091,8 +3085,6 @@ BOOL Initialise()
|
||||||
|
|
||||||
GetTimeZoneInformation(&TimeZoneInformation);
|
GetTimeZoneInformation(&TimeZoneInformation);
|
||||||
|
|
||||||
Debugprintf("%d", sizeof(struct MsgInfo));
|
|
||||||
|
|
||||||
_tzset();
|
_tzset();
|
||||||
_MYTIMEZONE = timezone;
|
_MYTIMEZONE = timezone;
|
||||||
_MYTIMEZONE = TimeZoneInformation.Bias * 60;
|
_MYTIMEZONE = TimeZoneInformation.Bias * 60;
|
||||||
|
|
|
@ -1045,7 +1045,7 @@ BEGIN
|
||||||
CONTROL "Delete Log and Message Files to Recycle Bin",
|
CONTROL "Delete Log and Message Files to Recycle Bin",
|
||||||
IDC_DELETETORECYCLE,"Button",BS_AUTOCHECKBOX |
|
IDC_DELETETORECYCLE,"Button",BS_AUTOCHECKBOX |
|
||||||
BS_LEFTTEXT | BS_MULTILINE | WS_TABSTOP,5,142,115,20
|
BS_LEFTTEXT | BS_MULTILINE | WS_TABSTOP,5,142,115,20
|
||||||
CONTROL "Suppress Mailing of Housekeeping Results",
|
CONTROL "Supress Mailing of Housekeeping Results",
|
||||||
IDC_MAINTNOMAIL,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
|
IDC_MAINTNOMAIL,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
|
||||||
BS_MULTILINE | WS_TABSTOP,5,182,115,20
|
BS_MULTILINE | WS_TABSTOP,5,182,115,20
|
||||||
CONTROL "Generate Traffic Report",IDC_MAINTTRAFFIC,"Button",
|
CONTROL "Generate Traffic Report",IDC_MAINTTRAFFIC,"Button",
|
||||||
|
|
|
@ -214,7 +214,7 @@ LRESULT APIENTRY InputProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) ;
|
||||||
LRESULT APIENTRY MonProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) ;
|
LRESULT APIENTRY MonProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) ;
|
||||||
|
|
||||||
|
|
||||||
extern struct CMDX COMMANDS[];
|
extern CMDX COMMANDS[];
|
||||||
extern int APPL1;
|
extern int APPL1;
|
||||||
|
|
||||||
static HMENU trayMenu;
|
static HMENU trayMenu;
|
||||||
|
|
|
@ -87,7 +87,7 @@ void CreateMHWindow();
|
||||||
int Update_MH_List(struct in_addr ipad, char * call, char proto);
|
int Update_MH_List(struct in_addr ipad, char * call, char proto);
|
||||||
|
|
||||||
static BOOL ReadConfigFile(int Port);
|
static BOOL ReadConfigFile(int Port);
|
||||||
int ConnecttoAGW(int port);
|
int ConnecttoAGW();
|
||||||
int ProcessReceivedData(int bpqport);
|
int ProcessReceivedData(int bpqport);
|
||||||
static int ProcessLine(char * buf, int Port, BOOL CheckPort);
|
static int ProcessLine(char * buf, int Port, BOOL CheckPort);
|
||||||
|
|
||||||
|
|
3
Bpq32.c
3
Bpq32.c
|
@ -1237,8 +1237,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
// Save MH and NODES every hour (51)
|
// Save MH and NODES every hour (51)
|
||||||
// Fix handling long unix device names (now max 250 bytes) (52)
|
// Fix handling long unix device names (now max 250 bytes) (52)
|
||||||
// Fix error reporting in api update (53)
|
// Fix error reporting in api update (53)
|
||||||
// Coding changes to remove some compiler warnings (53, 54)
|
// Coding changes to remove some compiler warnings (53)
|
||||||
// Add MQTT reporting o
|
|
||||||
|
|
||||||
#define CKernel
|
#define CKernel
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ VOID DoTheCommand(TRANSPORTENTRY * Session);
|
||||||
char * MOVEANDCHECK(TRANSPORTENTRY * Session, char * Bufferptr, char * Source, int Len);
|
char * MOVEANDCHECK(TRANSPORTENTRY * Session, char * Bufferptr, char * Source, int Len);
|
||||||
VOID DISPLAYCIRCUIT(TRANSPORTENTRY * L4, char * Buffer);
|
VOID DISPLAYCIRCUIT(TRANSPORTENTRY * L4, char * Buffer);
|
||||||
char * FormatUptime(int Uptime);
|
char * FormatUptime(int Uptime);
|
||||||
char * strlop(const char * buf, char delim);
|
char * strlop(char * buf, char delim);
|
||||||
BOOL CompareCalls(UCHAR * c1, UCHAR * c2);
|
BOOL CompareCalls(UCHAR * c1, UCHAR * c2);
|
||||||
|
|
||||||
VOID PostDataAvailable(TRANSPORTENTRY * Session);
|
VOID PostDataAvailable(TRANSPORTENTRY * Session);
|
||||||
|
@ -109,7 +109,7 @@ int cCOUNT_AT_L2(struct _LINKTABLE * LINK);
|
||||||
VOID SENDL4CONNECT(TRANSPORTENTRY * Session);
|
VOID SENDL4CONNECT(TRANSPORTENTRY * Session);
|
||||||
|
|
||||||
VOID CloseSessionPartner(TRANSPORTENTRY * Session);
|
VOID CloseSessionPartner(TRANSPORTENTRY * Session);
|
||||||
int COUNTNODES(struct ROUTE * ROUTE);
|
int COUNTNODES();
|
||||||
int DecodeNodeName(char * NodeName, char * ptr);;
|
int DecodeNodeName(char * NodeName, char * ptr);;
|
||||||
VOID DISPLAYCIRCUIT(TRANSPORTENTRY * L4, char * Buffer);
|
VOID DISPLAYCIRCUIT(TRANSPORTENTRY * L4, char * Buffer);
|
||||||
int cCOUNT_AT_L2(struct _LINKTABLE * LINK);
|
int cCOUNT_AT_L2(struct _LINKTABLE * LINK);
|
||||||
|
@ -359,7 +359,7 @@ extern char * ConfigBuffer;
|
||||||
|
|
||||||
extern char * WL2KReportLine[];
|
extern char * WL2KReportLine[];
|
||||||
|
|
||||||
extern struct CMDX COMMANDS[];
|
extern CMDX COMMANDS[];
|
||||||
|
|
||||||
extern int QCOUNT, MAXBUFFS, MAXCIRCUITS, L4DEFAULTWINDOW, L4T1, CMDXLEN;
|
extern int QCOUNT, MAXBUFFS, MAXCIRCUITS, L4DEFAULTWINDOW, L4T1, CMDXLEN;
|
||||||
extern char CMDALIAS[ALIASLEN][NumberofAppls];
|
extern char CMDALIAS[ALIASLEN][NumberofAppls];
|
||||||
|
|
|
@ -23,7 +23,6 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
#ifdef LINBPQ
|
#ifdef LINBPQ
|
||||||
|
|
||||||
#include "compatbits.h"
|
#include "compatbits.h"
|
||||||
char * strlop(const char * buf, char delim);
|
|
||||||
|
|
||||||
#define APIENTRY
|
#define APIENTRY
|
||||||
#define VOID void
|
#define VOID void
|
||||||
|
@ -32,6 +31,7 @@ char * strlop(const char * buf, char delim);
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
char * strlop(char * buf, char delim);
|
||||||
|
|
||||||
VOID APIENTRY md5 (char *arg, unsigned char * checksum);
|
VOID APIENTRY md5 (char *arg, unsigned char * checksum);
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
199
Cmd.c
199
Cmd.c
|
@ -44,8 +44,6 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
#include "tncinfo.h"
|
#include "tncinfo.h"
|
||||||
#include "telnetserver.h"
|
#include "telnetserver.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//#include "GetVersion.h"
|
//#include "GetVersion.h"
|
||||||
|
|
||||||
//#define DllImport __declspec( dllimport )
|
//#define DllImport __declspec( dllimport )
|
||||||
|
@ -66,12 +64,12 @@ VOID L2SENDXID(struct _LINKTABLE * LINK);
|
||||||
int CountBits(unsigned long in);
|
int CountBits(unsigned long in);
|
||||||
VOID SaveMH();
|
VOID SaveMH();
|
||||||
BOOL RestartTNC(struct TNCINFO * TNC);
|
BOOL RestartTNC(struct TNCINFO * TNC);
|
||||||
void GetPortCTEXT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
void GetPortCTEXT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID WriteMiniDump();
|
VOID WriteMiniDump();
|
||||||
int CheckKissInterlock(struct PORTCONTROL * PORT, int Exclusive);
|
int CheckKissInterlock(struct PORTCONTROL * PORT, int Exclusive);
|
||||||
int seeifInterlockneeded(struct PORTCONTROL * PORT);
|
int seeifInterlockneeded(struct PORTCONTROL * PORT);
|
||||||
|
|
||||||
extern VOID KISSTX(struct KISSINFO * KISS, PMESSAGE Buffer);
|
extern VOID KISSTX();
|
||||||
|
|
||||||
char COMMANDBUFFER[81] = ""; // Command Hander input buffer
|
char COMMANDBUFFER[81] = ""; // Command Hander input buffer
|
||||||
char OrigCmdBuffer[81] = ""; // Command Hander input buffer before toupper
|
char OrigCmdBuffer[81] = ""; // Command Hander input buffer before toupper
|
||||||
|
@ -136,8 +134,8 @@ int L4FRAMESRETRIED = 0;
|
||||||
int OLDFRAMES = 0;
|
int OLDFRAMES = 0;
|
||||||
int L3FRAMES = 0;
|
int L3FRAMES = 0;
|
||||||
|
|
||||||
VOID SENDSABM(struct _LINKTABLE * LINK);
|
VOID SENDSABM();
|
||||||
VOID RESET2(struct _LINKTABLE * LINK);
|
VOID RESET2();
|
||||||
|
|
||||||
int APPL1 = 0;
|
int APPL1 = 0;
|
||||||
int PASSCMD = 0;
|
int PASSCMD = 0;
|
||||||
|
@ -151,35 +149,33 @@ char * ALIASPTR = &CMDALIAS[0][0];
|
||||||
|
|
||||||
extern int RigReconfigFlag;
|
extern int RigReconfigFlag;
|
||||||
|
|
||||||
|
CMDX COMMANDS[];
|
||||||
|
|
||||||
|
int CMDXLEN = sizeof (CMDX);
|
||||||
struct CMDX COMMANDS[];
|
|
||||||
|
|
||||||
int CMDXLEN = sizeof (struct CMDX);
|
|
||||||
|
|
||||||
VOID SENDNODESMSG();
|
VOID SENDNODESMSG();
|
||||||
VOID KISSCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID KISSCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID STOPCMS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID STOPCMS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID STARTCMS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID STARTCMS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID STOPPORT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID STOPPORT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID STARTPORT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID STARTPORT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID FINDBUFFS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID FINDBUFFS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID WL2KSYSOP(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID WL2KSYSOP(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID AXRESOLVER(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID AXRESOLVER(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID AXMHEARD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID AXMHEARD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID SHOWTELNET(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID SHOWTELNET(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID SHOWAGW(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID SHOWAGW(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID SHOWARP(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID SHOWARP(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID SHOWNAT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID SHOWNAT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID PING(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID PING(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID SHOWIPROUTE(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID SHOWIPROUTE(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID FLMSG(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * UserCMD);
|
VOID FLMSG(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * UserCMD);
|
||||||
void ListExcludedCalls(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
void ListExcludedCalls(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID APRSCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID APRSCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID RECONFIGTELNET (TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID RECONFIGTELNET (TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID HELPCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID HELPCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
VOID UZ7HOCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * UserCMD);
|
VOID UZ7HOCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * UserCMD);
|
||||||
VOID QTSMCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * UserCMD);
|
VOID QTSMCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * UserCMD);
|
||||||
void hookL2SessionAttempt(int Port, char * fromCall, char * toCall, struct _LINKTABLE * LINK);
|
void hookL2SessionAttempt(int Port, char * fromCall, char * toCall, struct _LINKTABLE * LINK);
|
||||||
|
|
||||||
|
|
||||||
|
@ -246,7 +242,7 @@ char * __cdecl Cmdprintf(TRANSPORTENTRY * Session, char * Bufferptr, const char
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID SENDNODES(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID SENDNODES(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
SENDNODESMSG();
|
SENDNODESMSG();
|
||||||
|
|
||||||
|
@ -256,7 +252,7 @@ VOID SENDNODES(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struc
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID SAVEMHCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID SAVEMHCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
SaveMH();
|
SaveMH();
|
||||||
|
|
||||||
|
@ -266,7 +262,7 @@ VOID SAVEMHCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struc
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID SAVENODES(struct _TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID SAVENODES(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
SaveNodes();
|
SaveNodes();
|
||||||
|
|
||||||
|
@ -276,7 +272,7 @@ VOID SAVENODES(struct _TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTai
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID DUMPCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID DUMPCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
WriteMiniDump();
|
WriteMiniDump();
|
||||||
|
|
||||||
|
@ -286,7 +282,7 @@ VOID DUMPCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID RIGRECONFIG(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID RIGRECONFIG(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
if (!ProcessConfig())
|
if (!ProcessConfig())
|
||||||
{
|
{
|
||||||
|
@ -301,7 +297,7 @@ VOID RIGRECONFIG(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, str
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID REBOOT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID REBOOT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
if (Reboot())
|
if (Reboot())
|
||||||
{
|
{
|
||||||
|
@ -317,7 +313,7 @@ VOID REBOOT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct C
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID RESTART(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID RESTART(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
if (Restart())
|
if (Restart())
|
||||||
{
|
{
|
||||||
|
@ -333,7 +329,7 @@ VOID RESTART(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID RESTARTTNC(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID RESTARTTNC(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char * ptr, *Context;
|
char * ptr, *Context;
|
||||||
int portno;
|
int portno;
|
||||||
|
@ -377,20 +373,20 @@ VOID RESTARTTNC(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, stru
|
||||||
|
|
||||||
UCHAR VALNODESFLAG = 0, EXTONLY = 0;
|
UCHAR VALNODESFLAG = 0, EXTONLY = 0;
|
||||||
|
|
||||||
VOID PORTVAL (TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
VOID PORTVAL (TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
|
|
||||||
VOID VALNODES(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID VALNODES(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
VALNODESFLAG = 1;
|
VALNODESFLAG = 1;
|
||||||
PORTVAL(Session, Bufferptr, CmdTail, CMD);
|
PORTVAL(Session, Bufferptr, CmdTail, CMD);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID EXTPORTVAL(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID EXTPORTVAL(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
EXTONLY = 1;
|
EXTONLY = 1;
|
||||||
PORTVAL(Session, Bufferptr, CmdTail, CMD);
|
PORTVAL(Session, Bufferptr, CmdTail, CMD);
|
||||||
}
|
}
|
||||||
VOID PORTVAL(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID PORTVAL(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// PROCESS PORT VALUE COMMANDS
|
// PROCESS PORT VALUE COMMANDS
|
||||||
|
|
||||||
|
@ -505,7 +501,7 @@ VOID PORTVAL(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID SWITCHVAL (TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID SWITCHVAL (TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// Update switch 8 bit value
|
// Update switch 8 bit value
|
||||||
|
|
||||||
|
@ -550,7 +546,7 @@ VOID SWITCHVAL (TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, stru
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID SWITCHVALW (TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID SWITCHVALW (TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// Update switch 16 bit value
|
// Update switch 16 bit value
|
||||||
|
|
||||||
|
@ -713,7 +709,7 @@ BOOL cATTACHTOBBS(TRANSPORTENTRY * Session, UINT Mask, int Paclen, int * AnySess
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID APPLCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID APPLCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
BOOL CONFAILED = 0;
|
BOOL CONFAILED = 0;
|
||||||
UINT CONERROR ;
|
UINT CONERROR ;
|
||||||
|
@ -824,13 +820,13 @@ VOID APPLCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID CMDI00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CMDI00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
Bufferptr = Cmdprintf(Session, Bufferptr, "%s", INFOMSG);
|
Bufferptr = Cmdprintf(Session, Bufferptr, "%s", INFOMSG);
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID CMDV00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CMDV00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
if (sizeof(void *) == 4)
|
if (sizeof(void *) == 4)
|
||||||
Bufferptr = Cmdprintf(Session, Bufferptr, "Version %s\r", VersionString);
|
Bufferptr = Cmdprintf(Session, Bufferptr, "Version %s\r", VersionString);
|
||||||
|
@ -840,14 +836,14 @@ VOID CMDV00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct C
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID BYECMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID BYECMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
CLOSECURRENTSESSION(Session); // Kills any crosslink, plus local link
|
CLOSECURRENTSESSION(Session); // Kills any crosslink, plus local link
|
||||||
ReleaseBuffer((UINT *)REPLYBUFFER);
|
ReleaseBuffer((UINT *)REPLYBUFFER);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID CMDPAC(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CMDPAC(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// SET PACLEN FOR THIS SESSION
|
// SET PACLEN FOR THIS SESSION
|
||||||
|
|
||||||
|
@ -869,7 +865,7 @@ VOID CMDPAC(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct C
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID CMDIDLE(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CMDIDLE(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// SET IDLETIME FOR THIS SESSION
|
// SET IDLETIME FOR THIS SESSION
|
||||||
|
|
||||||
|
@ -891,7 +887,7 @@ VOID CMDIDLE(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
|
|
||||||
}
|
}
|
||||||
VOID CMDT00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CMDT00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// SET L4 TIMEOUT FOR CONNECTS ON THIS SESSION
|
// SET L4 TIMEOUT FOR CONNECTS ON THIS SESSION
|
||||||
|
|
||||||
|
@ -916,7 +912,7 @@ VOID CMDT00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct C
|
||||||
UCHAR PWLen;
|
UCHAR PWLen;
|
||||||
char PWTEXT[80];
|
char PWTEXT[80];
|
||||||
|
|
||||||
VOID PWDCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID PWDCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char * ptr, *Context;
|
char * ptr, *Context;
|
||||||
USHORT pwsum = 0;
|
USHORT pwsum = 0;
|
||||||
|
@ -984,7 +980,7 @@ VOID PWDCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct C
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID CMDSTATS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CMDSTATS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char * ptr, *Context;
|
char * ptr, *Context;
|
||||||
int Port = 0, cols = NUMBEROFPORTS, i;
|
int Port = 0, cols = NUMBEROFPORTS, i;
|
||||||
|
@ -1218,7 +1214,7 @@ VOID CMDSTATS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID CMDL00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CMDL00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// PROCESS 'LINKS' MESSAGE
|
// PROCESS 'LINKS' MESSAGE
|
||||||
|
|
||||||
|
@ -1254,7 +1250,7 @@ VOID CMDL00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct C
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID CMDS00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CMDS00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// PROCESS 'USERS'
|
// PROCESS 'USERS'
|
||||||
|
|
||||||
|
@ -1326,7 +1322,7 @@ CMDS60:
|
||||||
|
|
||||||
extern int MasterPort[MAXBPQPORTS+1]; // Pointer to first BPQ port for a specific MPSK or UZ7HO host
|
extern int MasterPort[MAXBPQPORTS+1]; // Pointer to first BPQ port for a specific MPSK or UZ7HO host
|
||||||
|
|
||||||
VOID CMDP00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CMDP00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// Process PORTS Message
|
// Process PORTS Message
|
||||||
|
|
||||||
|
@ -1581,7 +1577,7 @@ char * DisplayRoute(TRANSPORTENTRY * Session, char * Bufferptr, struct ROUTE *
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID CMDR00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CMDR00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
struct ROUTE * Routes = NEIGHBOURS;
|
struct ROUTE * Routes = NEIGHBOURS;
|
||||||
int MaxRoutes = MAXNEIGHBOURS;
|
int MaxRoutes = MAXNEIGHBOURS;
|
||||||
|
@ -1871,7 +1867,7 @@ SendReply:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID LISTENCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID LISTENCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// PROCESS LISTEN COMMAND
|
// PROCESS LISTEN COMMAND
|
||||||
|
|
||||||
|
@ -1954,7 +1950,7 @@ VOID LISTENCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID UNPROTOCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID UNPROTOCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// PROCESS UNPROTO COMMAND
|
// PROCESS UNPROTO COMMAND
|
||||||
|
|
||||||
|
@ -2023,7 +2019,7 @@ VOID UNPROTOCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, stru
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID CALCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CALCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// PROCESS CAL COMMAND
|
// PROCESS CAL COMMAND
|
||||||
|
|
||||||
|
@ -2076,7 +2072,7 @@ VOID CALCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct C
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
VOID CQCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CQCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// Send a CQ Beacon on a radio port. Must be in LISTEN state
|
// Send a CQ Beacon on a radio port. Must be in LISTEN state
|
||||||
|
|
||||||
|
@ -2282,9 +2278,9 @@ BOOL FindLink(UCHAR * LinkCall, UCHAR * OurCall, int Port, struct _LINKTABLE **
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID ATTACHCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * UserCMD);
|
VOID ATTACHCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * UserCMD);
|
||||||
|
|
||||||
VOID CMDC00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CMDC00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// PROCESS CONNECT COMMAND
|
// PROCESS CONNECT COMMAND
|
||||||
|
|
||||||
|
@ -2306,7 +2302,7 @@ VOID CMDC00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct C
|
||||||
char PortString[10];
|
char PortString[10];
|
||||||
char cmdCopy[256];
|
char cmdCopy[256];
|
||||||
struct _EXTPORTDATA * EXTPORT = (struct _EXTPORTDATA *)PORT;
|
struct _EXTPORTDATA * EXTPORT = (struct _EXTPORTDATA *)PORT;
|
||||||
|
char toCall[12], fromCall[12];
|
||||||
|
|
||||||
#ifdef EXCLUDEBITS
|
#ifdef EXCLUDEBITS
|
||||||
|
|
||||||
|
@ -2924,7 +2920,7 @@ BOOL DecodeCallString(char * Calls, BOOL * Stay, BOOL * Spy, UCHAR * AXCalls)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID LINKCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID LINKCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// PROCESS *** LINKED to CALLSIGN
|
// PROCESS *** LINKED to CALLSIGN
|
||||||
|
|
||||||
|
@ -3116,7 +3112,7 @@ int WildCmp(char * pattern, char * string)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID CMDN00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID CMDN00(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
struct DEST_LIST * Dest = DESTS;
|
struct DEST_LIST * Dest = DESTS;
|
||||||
int count = MAXDESTS, i;
|
int count = MAXDESTS, i;
|
||||||
|
@ -3637,7 +3633,7 @@ SendReply:
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID CMDQUERY(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * UserCMD)
|
VOID CMDQUERY(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * UserCMD)
|
||||||
{
|
{
|
||||||
// DISPLAY AVAILABLE COMMANDS
|
// DISPLAY AVAILABLE COMMANDS
|
||||||
|
|
||||||
|
@ -3646,7 +3642,7 @@ VOID CMDQUERY(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
char ApplList[2048];
|
char ApplList[2048];
|
||||||
char * out = ApplList;
|
char * out = ApplList;
|
||||||
|
|
||||||
struct CMDX * CMD = &COMMANDS[APPL1];
|
CMDX * CMD = &COMMANDS[APPL1];
|
||||||
|
|
||||||
for (n = 0; n < NumberofAppls; n++)
|
for (n = 0; n < NumberofAppls; n++)
|
||||||
{
|
{
|
||||||
|
@ -3676,7 +3672,7 @@ VOID CMDQUERY(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
|
|
||||||
char * FormatMH(MHSTRUC * MH, char Format);
|
char * FormatMH(MHSTRUC * MH, char Format);
|
||||||
|
|
||||||
VOID MHCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID MHCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// DISPLAY HEARD LIST
|
// DISPLAY HEARD LIST
|
||||||
|
|
||||||
|
@ -3858,7 +3854,7 @@ VOID MHCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CM
|
||||||
|
|
||||||
int Rig_Command(TRANSPORTENTRY * Session, char * Command);
|
int Rig_Command(TRANSPORTENTRY * Session, char * Command);
|
||||||
|
|
||||||
VOID RADIOCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * UserCMD)
|
VOID RADIOCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * UserCMD)
|
||||||
{
|
{
|
||||||
char * ptr;
|
char * ptr;
|
||||||
|
|
||||||
|
@ -3887,7 +3883,7 @@ VOID RADIOCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
VOID SendNRRecordRoute(struct DEST_LIST * DEST, TRANSPORTENTRY * Session);
|
VOID SendNRRecordRoute(struct DEST_LIST * DEST, TRANSPORTENTRY * Session);
|
||||||
|
|
||||||
|
|
||||||
VOID NRRCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * UserCMD)
|
VOID NRRCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * UserCMD)
|
||||||
{
|
{
|
||||||
// PROCESS 'NRR - Netrom Record Route' COMMAND
|
// PROCESS 'NRR - Netrom Record Route' COMMAND
|
||||||
|
|
||||||
|
@ -3957,7 +3953,7 @@ int CHECKINTERLOCK(struct PORTCONTROL * OURPORT)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID ATTACHCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * UserCMD)
|
VOID ATTACHCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * UserCMD)
|
||||||
{
|
{
|
||||||
// ATTACH to a PACTOR or similar port
|
// ATTACH to a PACTOR or similar port
|
||||||
|
|
||||||
|
@ -4322,17 +4318,16 @@ checkattachandcall:
|
||||||
|
|
||||||
// SYSOP COMMANDS
|
// SYSOP COMMANDS
|
||||||
|
|
||||||
struct CMDX COMMANDS[] =
|
CMDX COMMANDS[] =
|
||||||
{
|
{
|
||||||
// "SAVENODES ",8, SAVENODES(struct _TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD), 0,
|
"SAVENODES ",8, SAVENODES, 0,
|
||||||
"SAVENODES ",8, &SAVENODES, 0,
|
"TELRECONFIG ",4, RECONFIGTELNET, 0,
|
||||||
"TELRECONFIG ",4, &RECONFIGTELNET, 0,
|
"SAVEMH ",6, SAVEMHCMD, 0,
|
||||||
"SAVEMH ",6, &SAVEMHCMD, 0,
|
"REBOOT ",6, REBOOT, 0,
|
||||||
"REBOOT ",6, &REBOOT, 0,
|
"RIGRECONFIG ",8 , RIGRECONFIG, 0,
|
||||||
"RIGRECONFIG ",8, &RIGRECONFIG, 0,
|
"RESTART ",7,RESTART,0,
|
||||||
"RESTART ",7, &RESTART,0,
|
"RESTARTTNC ",10,RESTARTTNC,0,
|
||||||
"RESTARTTNC ",10,&RESTARTTNC,0,
|
"SENDNODES ",8,SENDNODES,0,
|
||||||
"SENDNODES ",8, &SENDNODES,0,
|
|
||||||
"EXTRESTART ",10, EXTPORTVAL, offsetof(EXTPORTDATA, EXTRESTART),
|
"EXTRESTART ",10, EXTPORTVAL, offsetof(EXTPORTDATA, EXTRESTART),
|
||||||
"TXDELAY ",3, PORTVAL, offsetof(PORTCONTROLX, PORTTXDELAY),
|
"TXDELAY ",3, PORTVAL, offsetof(PORTCONTROLX, PORTTXDELAY),
|
||||||
"MAXFRAME ",3, PORTVAL, offsetof(PORTCONTROLX, PORTWINDOW),
|
"MAXFRAME ",3, PORTVAL, offsetof(PORTCONTROLX, PORTWINDOW),
|
||||||
|
@ -4462,9 +4457,9 @@ struct CMDX COMMANDS[] =
|
||||||
"..FLMSG ",7,FLMSG,0
|
"..FLMSG ",7,FLMSG,0
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CMDX * CMD = NULL;
|
CMDX * CMD = NULL;
|
||||||
|
|
||||||
int NUMBEROFCOMMANDS = sizeof(COMMANDS)/sizeof(struct CMDX);
|
int NUMBEROFCOMMANDS = sizeof(COMMANDS)/sizeof(CMDX);
|
||||||
|
|
||||||
char * ReplyPointer; // Pointer into reply buffer
|
char * ReplyPointer; // Pointer into reply buffer
|
||||||
|
|
||||||
|
@ -4957,7 +4952,7 @@ VOID StatsTimer()
|
||||||
int x = 17;
|
int x = 17;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((void *)PORT->PORTTXROUTINE == (void *)KISSTX && (KISS->QtSMStats || KISS->FIRSTPORT->PORT.QtSMPort)) // KISS Port QtSM Stats
|
if (PORT->PORTTXROUTINE == KISSTX && (KISS->QtSMStats || KISS->FIRSTPORT->PORT.QtSMPort)) // KISS Port QtSM Stats
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -4995,7 +4990,7 @@ extern struct AXIPPORTINFO * Portlist[];
|
||||||
#define TCPConnected 4
|
#define TCPConnected 4
|
||||||
|
|
||||||
|
|
||||||
VOID AXRESOLVER(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID AXRESOLVER(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// DISPLAY AXIP Resolver info
|
// DISPLAY AXIP Resolver info
|
||||||
|
|
||||||
|
@ -5085,7 +5080,7 @@ VOID AXRESOLVER(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, stru
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID AXMHEARD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID AXMHEARD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// DISPLAY AXIP Mheard info
|
// DISPLAY AXIP Mheard info
|
||||||
|
|
||||||
|
@ -5155,7 +5150,7 @@ extern char WL2KLoc[7];
|
||||||
BOOL GetWL2KSYSOPInfo(char * Call, char * _REPLYBUFFER);
|
BOOL GetWL2KSYSOPInfo(char * Call, char * _REPLYBUFFER);
|
||||||
BOOL UpdateWL2KSYSOPInfo(char * Call, char * SQL);
|
BOOL UpdateWL2KSYSOPInfo(char * Call, char * SQL);
|
||||||
|
|
||||||
VOID WL2KSYSOP(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID WL2KSYSOP(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char _REPLYBUFFER[1000] = "";
|
char _REPLYBUFFER[1000] = "";
|
||||||
|
|
||||||
|
@ -5307,7 +5302,7 @@ VOID WL2KSYSOP(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struc
|
||||||
|
|
||||||
VOID CloseKISSPort(struct PORTCONTROL * PortVector);
|
VOID CloseKISSPort(struct PORTCONTROL * PortVector);
|
||||||
|
|
||||||
VOID STOPCMS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID STOPCMS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char _REPLYBUFFER[1000] = "";
|
char _REPLYBUFFER[1000] = "";
|
||||||
char * ptr, * Context;
|
char * ptr, * Context;
|
||||||
|
@ -5368,7 +5363,7 @@ VOID STOPCMS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID STARTCMS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID STARTCMS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char _REPLYBUFFER[1000] = "";
|
char _REPLYBUFFER[1000] = "";
|
||||||
char * ptr, * Context;
|
char * ptr, * Context;
|
||||||
|
@ -5428,7 +5423,7 @@ VOID STARTCMS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID STOPPORT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID STOPPORT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char _REPLYBUFFER[1000] = "";
|
char _REPLYBUFFER[1000] = "";
|
||||||
char * ptr, * Context;
|
char * ptr, * Context;
|
||||||
|
@ -5512,7 +5507,7 @@ VOID STOPPORT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID STARTPORT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID STARTPORT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char _REPLYBUFFER[1000] = "";
|
char _REPLYBUFFER[1000] = "";
|
||||||
char * ptr, * Context;
|
char * ptr, * Context;
|
||||||
|
@ -5604,7 +5599,7 @@ VOID STARTPORT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struc
|
||||||
int ASYSEND(struct PORTCONTROL * PortVector, char * buffer, int count);
|
int ASYSEND(struct PORTCONTROL * PortVector, char * buffer, int count);
|
||||||
int KissEncode(UCHAR * inbuff, UCHAR * outbuff, int len);
|
int KissEncode(UCHAR * inbuff, UCHAR * outbuff, int len);
|
||||||
|
|
||||||
VOID KISSCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID KISSCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char _REPLYBUFFER[1000] = "";
|
char _REPLYBUFFER[1000] = "";
|
||||||
char * ptr, * Context;
|
char * ptr, * Context;
|
||||||
|
@ -5695,7 +5690,7 @@ VOID KISSCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID FINDBUFFS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID FINDBUFFS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
FindLostBuffers();
|
FindLostBuffers();
|
||||||
|
|
||||||
|
@ -5707,7 +5702,7 @@ VOID FINDBUFFS(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struc
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID FLMSG(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * UserCMD)
|
VOID FLMSG(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * UserCMD)
|
||||||
{
|
{
|
||||||
// Telnet Connection from FLMSG
|
// Telnet Connection from FLMSG
|
||||||
CLOSECURRENTSESSION(Session); // Kills any crosslink, plus local link
|
CLOSECURRENTSESSION(Session); // Kills any crosslink, plus local link
|
||||||
|
@ -5730,7 +5725,7 @@ BOOL CheckExcludeList(UCHAR * Call)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ListExcludedCalls(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
void ListExcludedCalls(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
|
|
||||||
UCHAR * ptr = ExcludeList;
|
UCHAR * ptr = ExcludeList;
|
||||||
|
@ -5779,7 +5774,7 @@ BOOL isSYSOP(TRANSPORTENTRY * Session, char * Bufferptr)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID HELPCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID HELPCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
int FileSize;
|
int FileSize;
|
||||||
char MsgFile[MAX_PATH];
|
char MsgFile[MAX_PATH];
|
||||||
|
@ -5868,7 +5863,7 @@ int UZ7HOSetModem(int port, struct TNCINFO * TNC, struct AGWINFO * AGW, PDATAMES
|
||||||
int UZ7HOSetFlags(int port, struct TNCINFO * TNC, struct AGWINFO * AGW, PDATAMESSAGE buff, PMSGWITHLEN buffptr);
|
int UZ7HOSetFlags(int port, struct TNCINFO * TNC, struct AGWINFO * AGW, PDATAMESSAGE buff, PMSGWITHLEN buffptr);
|
||||||
|
|
||||||
|
|
||||||
VOID UZ7HOCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID UZ7HOCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char * Cmd;
|
char * Cmd;
|
||||||
int port;
|
int port;
|
||||||
|
@ -5939,7 +5934,7 @@ VOID UZ7HOCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID QTSMCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID QTSMCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
int port;
|
int port;
|
||||||
struct PORTCONTROL * PORT;
|
struct PORTCONTROL * PORT;
|
||||||
|
@ -5951,7 +5946,7 @@ VOID QTSMCMD(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
|
|
||||||
PORT = GetPortTableEntryFromPortNum(port);
|
PORT = GetPortTableEntryFromPortNum(port);
|
||||||
|
|
||||||
if (PORT == NULL || (void *)PORT->PORTTXROUTINE != (void *)KISSTX) // Must be a kiss like port
|
if (PORT == NULL || PORT->PORTTXROUTINE != KISSTX) // Must be a kiss like port
|
||||||
{
|
{
|
||||||
Bufferptr = Cmdprintf(Session, Bufferptr, "Error - Port %d is not a KISS port\r", port);
|
Bufferptr = Cmdprintf(Session, Bufferptr, "Error - Port %d is not a KISS port\r", port);
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
|
|
10
CommonCode.c
10
CommonCode.c
|
@ -571,7 +571,7 @@ void * zalloc(int len)
|
||||||
return ptr;
|
return ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
char * strlop(const char * buf, char delim)
|
char * strlop(char * buf, char delim)
|
||||||
{
|
{
|
||||||
// Terminate buf at delim, and return rest of string
|
// Terminate buf at delim, and return rest of string
|
||||||
|
|
||||||
|
@ -692,7 +692,7 @@ VOID DISPLAYCIRCUIT(TRANSPORTENTRY * L4, char * Buffer)
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID CheckForDetach(struct TNCINFO * TNC, int Stream, struct STREAMINFO * STREAM,
|
VOID CheckForDetach(struct TNCINFO * TNC, int Stream, struct STREAMINFO * STREAM,
|
||||||
VOID TidyCloseProc(struct TNCINFO * TNC, int Stream), VOID ForcedCloseProc(struct TNCINFO * TNC, int Stream), VOID CloseComplete(struct TNCINFO * TNC, int Stream))
|
VOID TidyCloseProc(), VOID ForcedCloseProc(), VOID CloseComplete())
|
||||||
{
|
{
|
||||||
void ** buffptr;
|
void ** buffptr;
|
||||||
|
|
||||||
|
@ -1020,7 +1020,7 @@ BOOL ProcessIncommingConnectEx(struct TNCINFO * TNC, char * Call, int Stream, BO
|
||||||
char * Config;
|
char * Config;
|
||||||
static char * ptr1, * ptr2;
|
static char * ptr1, * ptr2;
|
||||||
|
|
||||||
BOOL ReadConfigFile(int Port, int ProcLine(char * buf, int Port))
|
BOOL ReadConfigFile(int Port, int ProcLine())
|
||||||
{
|
{
|
||||||
char buf[256],errbuf[256];
|
char buf[256],errbuf[256];
|
||||||
|
|
||||||
|
@ -2437,7 +2437,7 @@ static struct speed_struct
|
||||||
HANDLE OpenCOMPort(VOID * pPort, int speed, BOOL SetDTR, BOOL SetRTS, BOOL Quiet, int Stopbits)
|
HANDLE OpenCOMPort(VOID * pPort, int speed, BOOL SetDTR, BOOL SetRTS, BOOL Quiet, int Stopbits)
|
||||||
{
|
{
|
||||||
char Port[256];
|
char Port[256];
|
||||||
char buf[512];
|
char buf[100];
|
||||||
|
|
||||||
// Linux Version.
|
// Linux Version.
|
||||||
|
|
||||||
|
@ -4759,7 +4759,7 @@ LRESULT CALLBACK UIWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam
|
||||||
extern struct DATAMESSAGE * REPLYBUFFER;
|
extern struct DATAMESSAGE * REPLYBUFFER;
|
||||||
char * __cdecl Cmdprintf(TRANSPORTENTRY * Session, char * Bufferptr, const char * format, ...);
|
char * __cdecl Cmdprintf(TRANSPORTENTRY * Session, char * Bufferptr, const char * format, ...);
|
||||||
|
|
||||||
void GetPortCTEXT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
void GetPortCTEXT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char FN[250];
|
char FN[250];
|
||||||
FILE *hFile;
|
FILE *hFile;
|
||||||
|
|
2
DRATS.c
2
DRATS.c
|
@ -563,7 +563,7 @@ void DRATSConnectionLost(struct ConnectionInfo * sockptr)
|
||||||
#define ZEXPORT __stdcall
|
#define ZEXPORT __stdcall
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <zlib.h>
|
#include "zlib.h"
|
||||||
|
|
||||||
|
|
||||||
int doinflate(unsigned char * source, unsigned char * dest, int Len, int destlen, int * outLen)
|
int doinflate(unsigned char * source, unsigned char * dest, int Len, int destlen, int * outLen)
|
||||||
|
|
|
@ -24,7 +24,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
#include "bpqmail.h"
|
#include "bpqmail.h"
|
||||||
|
|
||||||
int32_t Encode(char * in, char * out, int32_t inlen, BOOL B1Protocol, int Compress);
|
int32_t Encode(char * in, char * out, int32_t inlen, BOOL B1Protocol, int Compress);
|
||||||
void MQTTMessageEvent(void* message);
|
|
||||||
|
|
||||||
int MaxRXSize = 99999;
|
int MaxRXSize = 99999;
|
||||||
int MaxTXSize = 99999;
|
int MaxTXSize = 99999;
|
||||||
|
@ -807,11 +807,6 @@ VOID FlagSentMessages(CIRCUIT * conn, struct UserInfo * user)
|
||||||
FBBHeader->FwdMsg->datechanged=time(NULL);
|
FBBHeader->FwdMsg->datechanged=time(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(FBBHeader->FwdMsg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
FBBHeader->FwdMsg->Locked = 0; // Unlock
|
FBBHeader->FwdMsg->Locked = 0; // Unlock
|
||||||
conn->UserPointer->ForwardingInfo->MsgCount--;
|
conn->UserPointer->ForwardingInfo->MsgCount--;
|
||||||
}
|
}
|
||||||
|
|
12
FLDigi.c
12
FLDigi.c
|
@ -65,12 +65,12 @@ extern int (WINAPI FAR *GetModuleFileNameExPtr)();
|
||||||
;
|
;
|
||||||
int SemHeldByAPI;
|
int SemHeldByAPI;
|
||||||
|
|
||||||
void ConnecttoFLDigiThread(void * portptr);
|
static void ConnecttoFLDigiThread(void * portptr);
|
||||||
|
|
||||||
void CreateMHWindow();
|
void CreateMHWindow();
|
||||||
int Update_MH_List(struct in_addr ipad, char * call, char proto);
|
int Update_MH_List(struct in_addr ipad, char * call, char proto);
|
||||||
|
|
||||||
int ConnecttoFLDigi(int port);
|
static int ConnecttoFLDigi();
|
||||||
static int ProcessReceivedData(int bpqport);
|
static int ProcessReceivedData(int bpqport);
|
||||||
static int ProcessLine(char * buf, int Port);
|
static int ProcessLine(char * buf, int Port);
|
||||||
int KillTNC(struct TNCINFO * TNC);
|
int KillTNC(struct TNCINFO * TNC);
|
||||||
|
@ -102,6 +102,8 @@ VOID SuspendOtherPorts(struct TNCINFO * ThisTNC);
|
||||||
VOID ReleaseOtherPorts(struct TNCINFO * ThisTNC);
|
VOID ReleaseOtherPorts(struct TNCINFO * ThisTNC);
|
||||||
VOID WritetoTrace(struct TNCINFO * TNC, char * Msg, int Len);
|
VOID WritetoTrace(struct TNCINFO * TNC, char * Msg, int Len);
|
||||||
|
|
||||||
|
char * strlop(char * buf, char delim);
|
||||||
|
|
||||||
extern UCHAR BPQDirectory[];
|
extern UCHAR BPQDirectory[];
|
||||||
|
|
||||||
#define MAXMPSKPORTS 16
|
#define MAXMPSKPORTS 16
|
||||||
|
@ -1481,14 +1483,14 @@ static int ProcessLine(char * buf, int Port)
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
int ConnecttoFLDigi(int port)
|
static int ConnecttoFLDigi(int port)
|
||||||
{
|
{
|
||||||
_beginthread(ConnecttoFLDigiThread, 0, (void *)(size_t)port);
|
_beginthread(ConnecttoFLDigiThread, 0, (void *)(size_t)port);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID ConnecttoFLDigiThread(void * portptr)
|
static VOID ConnecttoFLDigiThread(void * portptr)
|
||||||
{
|
{
|
||||||
int port = (int)(size_t)portptr;
|
int port = (int)(size_t)portptr;
|
||||||
char Msg[255];
|
char Msg[255];
|
||||||
|
@ -2579,7 +2581,7 @@ VOID ProcessFLDigiData(struct TNCINFO * TNC, UCHAR * Input, int Len, char Channe
|
||||||
{
|
{
|
||||||
char AppName[13];
|
char AppName[13];
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
// Make sure app is available
|
// Make sure app is available
|
||||||
|
|
49
FreeDATA.c
49
FreeDATA.c
|
@ -347,6 +347,41 @@ loop:
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOL FreeDataReadConfigFile(int Port, int ProcLine())
|
||||||
|
{
|
||||||
|
char buf[256],errbuf[256];
|
||||||
|
|
||||||
|
Config = PortConfig[Port];
|
||||||
|
|
||||||
|
if (Config)
|
||||||
|
{
|
||||||
|
// Using config from bpq32.cfg
|
||||||
|
|
||||||
|
if (strlen(Config) == 0)
|
||||||
|
{
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
ptr1 = Config;
|
||||||
|
ptr2 = strchr(ptr1, 13);
|
||||||
|
|
||||||
|
if (!ProcLine(buf, Port))
|
||||||
|
{
|
||||||
|
WritetoConsoleLocal("\n");
|
||||||
|
WritetoConsoleLocal("Bad config record ");
|
||||||
|
WritetoConsoleLocal(errbuf);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
sprintf(buf," ** Error - No Configuration info in bpq32.cfg");
|
||||||
|
WritetoConsoleLocal(buf);
|
||||||
|
}
|
||||||
|
|
||||||
|
return (TRUE);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
VOID SuspendOtherPorts(struct TNCINFO * ThisTNC);
|
VOID SuspendOtherPorts(struct TNCINFO * ThisTNC);
|
||||||
VOID ReleaseOtherPorts(struct TNCINFO * ThisTNC);
|
VOID ReleaseOtherPorts(struct TNCINFO * ThisTNC);
|
||||||
|
@ -832,7 +867,7 @@ static size_t ExtProc(int fn, int port, PDATAMESSAGE buff)
|
||||||
char Message[256];
|
char Message[256];
|
||||||
int Len, ret;
|
int Len, ret;
|
||||||
|
|
||||||
Len = sprintf(Message, "%s", TXF);
|
Len = sprintf(Message, TXF);
|
||||||
ret = send(TNC->TCPDataSock, (char *)&Message, Len, 0);
|
ret = send(TNC->TCPDataSock, (char *)&Message, Len, 0);
|
||||||
|
|
||||||
if (buffptr)
|
if (buffptr)
|
||||||
|
@ -1846,7 +1881,7 @@ VOID FreeDataProcessTNCMessage(struct TNCINFO * TNC, char * Call, unsigned char
|
||||||
if (App < 32)
|
if (App < 32)
|
||||||
{
|
{
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
// if SendTandRtoRelay set and Appl is RMS change to RELAY
|
// if SendTandRtoRelay set and Appl is RMS change to RELAY
|
||||||
|
@ -2207,7 +2242,7 @@ VOID FreeDataProcessNewConnect(struct TNCINFO * TNC, char * fromCall, char * toC
|
||||||
if (App < 32)
|
if (App < 32)
|
||||||
{
|
{
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
// if SendTandRtoRelay set and Appl is RMS change to RELAY
|
// if SendTandRtoRelay set and Appl is RMS change to RELAY
|
||||||
|
@ -2441,7 +2476,7 @@ static void SendCQ(struct TNCINFO * TNC)
|
||||||
char Message[256];
|
char Message[256];
|
||||||
int Len, ret;
|
int Len, ret;
|
||||||
|
|
||||||
Len = sprintf(Message, "%s", CQ);
|
Len = sprintf(Message, CQ);
|
||||||
ret = send(TNC->TCPDataSock, (char *)&Message, Len, 0);
|
ret = send(TNC->TCPDataSock, (char *)&Message, Len, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2456,7 +2491,7 @@ static void SendBeacon(struct TNCINFO * TNC, int Interval)
|
||||||
if (Interval > 0)
|
if (Interval > 0)
|
||||||
Len = sprintf(Message, Template1, Interval);
|
Len = sprintf(Message, Template1, Interval);
|
||||||
else
|
else
|
||||||
Len = sprintf(Message, "%s", Template2);
|
Len = sprintf(Message, Template2);
|
||||||
|
|
||||||
ret = send(TNC->TCPDataSock, (char *)&Message, Len, 0);
|
ret = send(TNC->TCPDataSock, (char *)&Message, Len, 0);
|
||||||
}
|
}
|
||||||
|
@ -3647,7 +3682,7 @@ int FreeDataDisconnect(struct TNCINFO * TNC)
|
||||||
|
|
||||||
// return FreeDataSendCommand(TNC, "D");
|
// return FreeDataSendCommand(TNC, "D");
|
||||||
|
|
||||||
Len = sprintf(Msg, "%s", Disconnect);
|
Len = sprintf(Msg, Disconnect);
|
||||||
|
|
||||||
return send(TNC->TCPDataSock, Msg, Len, 0);
|
return send(TNC->TCPDataSock, Msg, Len, 0);
|
||||||
}
|
}
|
||||||
|
@ -3659,7 +3694,7 @@ int FreeGetData(struct TNCINFO * TNC)
|
||||||
char Msg[128];
|
char Msg[128];
|
||||||
int Len;
|
int Len;
|
||||||
|
|
||||||
Len = sprintf(Msg, "%s", GetData);
|
Len = sprintf(Msg, GetData);
|
||||||
|
|
||||||
return send(TNC->TCPDataSock, Msg, Len, 0);
|
return send(TNC->TCPDataSock, Msg, Len, 0);
|
||||||
}
|
}
|
||||||
|
|
37
HSMODEM.c
37
HSMODEM.c
|
@ -309,10 +309,47 @@ loop:
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOL HSMODEMReadConfigFile(int Port, int ProcLine())
|
||||||
|
{
|
||||||
|
char buf[256],errbuf[256];
|
||||||
|
|
||||||
|
Config = PortConfig[Port];
|
||||||
|
|
||||||
|
if (Config)
|
||||||
|
{
|
||||||
|
// Using config from bpq32.cfg
|
||||||
|
|
||||||
|
if (strlen(Config) == 0)
|
||||||
|
{
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
ptr1 = Config;
|
||||||
|
ptr2 = strchr(ptr1, 13);
|
||||||
|
|
||||||
|
if (!ProcLine(buf, Port))
|
||||||
|
{
|
||||||
|
WritetoConsoleLocal("\n");
|
||||||
|
WritetoConsoleLocal("Bad config record ");
|
||||||
|
WritetoConsoleLocal(errbuf);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
sprintf(buf," ** Error - No Configuration info in bpq32.cfg");
|
||||||
|
WritetoConsoleLocal(buf);
|
||||||
|
}
|
||||||
|
|
||||||
|
return (TRUE);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
VOID SuspendOtherPorts(struct TNCINFO * ThisTNC);
|
VOID SuspendOtherPorts(struct TNCINFO * ThisTNC);
|
||||||
VOID ReleaseOtherPorts(struct TNCINFO * ThisTNC);
|
VOID ReleaseOtherPorts(struct TNCINFO * ThisTNC);
|
||||||
VOID WritetoTrace(struct TNCINFO * TNC, char * Msg, int Len);
|
VOID WritetoTrace(struct TNCINFO * TNC, char * Msg, int Len);
|
||||||
|
|
||||||
|
|
||||||
static time_t ltime;
|
static time_t ltime;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
#define ZEXPORT __stdcall
|
#define ZEXPORT __stdcall
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <zlib.h>
|
#include "zlib.h"
|
||||||
|
|
||||||
#define CKernel
|
#define CKernel
|
||||||
#include "httpconnectioninfo.h"
|
#include "httpconnectioninfo.h"
|
||||||
|
@ -102,6 +102,7 @@ extern int NumberofPorts;
|
||||||
|
|
||||||
extern UCHAR ConfigDirectory[260];
|
extern UCHAR ConfigDirectory[260];
|
||||||
|
|
||||||
|
char * strlop(char * buf, char delim);
|
||||||
VOID sendandcheck(SOCKET sock, const char * Buffer, int Len);
|
VOID sendandcheck(SOCKET sock, const char * Buffer, int Len);
|
||||||
int CompareNode(const void *a, const void *b);
|
int CompareNode(const void *a, const void *b);
|
||||||
int CompareAlias(const void *a, const void *b);
|
int CompareAlias(const void *a, const void *b);
|
||||||
|
|
|
@ -1186,7 +1186,7 @@ static BOOL CheckforDups(ChatCIRCUIT * circuit, char * Call, char * Msg)
|
||||||
// Duplicate, so discard, but save time
|
// Duplicate, so discard, but save time
|
||||||
|
|
||||||
DupInfo[i].DupTime = Now;
|
DupInfo[i].DupTime = Now;
|
||||||
Logprintf(LOG_CHAT, circuit, '?', "Duplicate Message From %s %s suppressed", Call, Msg);
|
Logprintf(LOG_CHAT, circuit, '?', "Duplicate Message From %s %s supressed", Call, Msg);
|
||||||
|
|
||||||
return TRUE; // Duplicate
|
return TRUE; // Duplicate
|
||||||
}
|
}
|
||||||
|
|
16
IPCode.c
16
IPCode.c
|
@ -95,13 +95,9 @@ TODo ?Multiple Adapters
|
||||||
#pragma comment(lib, "IPHLPAPI.lib")
|
#pragma comment(lib, "IPHLPAPI.lib")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <pcap.h>
|
#include "pcap.h"
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
int pcap_sendpacket(pcap_t *p, u_char *buf, int size);
|
int pcap_sendpacket(pcap_t *p, u_char *buf, int size);
|
||||||
#else
|
|
||||||
PCAP_API int pcap_sendpacket(pcap_t *, const u_char *, int);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef LINBPQ
|
#ifndef LINBPQ
|
||||||
#include "kernelresource.h"
|
#include "kernelresource.h"
|
||||||
|
@ -4735,7 +4731,7 @@ void OpenTAP()
|
||||||
extern struct DATAMESSAGE * REPLYBUFFER;
|
extern struct DATAMESSAGE * REPLYBUFFER;
|
||||||
char * __cdecl Cmdprintf(TRANSPORTENTRY * Session, char * Bufferptr, const char * format, ...);
|
char * __cdecl Cmdprintf(TRANSPORTENTRY * Session, char * Bufferptr, const char * format, ...);
|
||||||
|
|
||||||
VOID PING(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID PING(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// Send ICMP Echo Request
|
// Send ICMP Echo Request
|
||||||
|
|
||||||
|
@ -4793,7 +4789,7 @@ VOID PING(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMD
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID SHOWARP(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID SHOWARP(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// DISPLAY IP Gateway ARP status or Clear
|
// DISPLAY IP Gateway ARP status or Clear
|
||||||
|
|
||||||
|
@ -4888,7 +4884,7 @@ VOID SHOWARP(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID SHOWNAT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID SHOWNAT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// DISPLAY IP Gateway ARP status or Clear
|
// DISPLAY IP Gateway ARP status or Clear
|
||||||
|
|
||||||
|
@ -4947,7 +4943,7 @@ int CountBits(uint32_t in)
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID SHOWIPROUTE(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID SHOWIPROUTE(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// DISPLAY IP Gateway ARP status or Clear
|
// DISPLAY IP Gateway ARP status or Clear
|
||||||
|
|
||||||
|
@ -5338,7 +5334,7 @@ int ProcessSNMPPayload(UCHAR * Msg, int Len, UCHAR * Reply, int * OffPtr)
|
||||||
// Should be nothing left
|
// Should be nothing left
|
||||||
}
|
}
|
||||||
|
|
||||||
if (RequestType == 160)
|
if (RequestType = 160)
|
||||||
{
|
{
|
||||||
int Offset = 255;
|
int Offset = 255;
|
||||||
int PDULen = 0;
|
int PDULen = 0;
|
||||||
|
|
2
KISSHF.c
2
KISSHF.c
|
@ -725,7 +725,7 @@ VOID KISSHFReleaseTNC(struct TNCINFO * TNC)
|
||||||
ReleaseOtherPorts(TNC);
|
ReleaseOtherPorts(TNC);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID KISSHFSuspendPort(struct TNCINFO * TNC, struct TNCINFO * THISTNC)
|
VOID KISSHFSuspendPort(struct TNCINFO * TNC, struct TNCINFO * ThisTNC)
|
||||||
{
|
{
|
||||||
TNC->PortRecord->PORTCONTROL.PortSuspended = 1;
|
TNC->PortRecord->PORTCONTROL.PortSuspended = 1;
|
||||||
strcpy(TNC->WEB_TNCSTATE, "Interlocked");
|
strcpy(TNC->WEB_TNCSTATE, "Interlocked");
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
9
L2Code.c
9
L2Code.c
|
@ -47,7 +47,8 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
#define THREESECS 3*3
|
#define THREESECS 3*3
|
||||||
|
|
||||||
|
|
||||||
VOID L2Routine(struct PORTCONTROL * PORT, PMESSAGE Buffer);
|
VOID L2SENDCOMMAND();
|
||||||
|
VOID L2ROUTINE();
|
||||||
MESSAGE * SETUPL2MESSAGE(struct _LINKTABLE * LINK, UCHAR CMD);
|
MESSAGE * SETUPL2MESSAGE(struct _LINKTABLE * LINK, UCHAR CMD);
|
||||||
VOID SendSupervisCmd(struct _LINKTABLE * LINK);
|
VOID SendSupervisCmd(struct _LINKTABLE * LINK);
|
||||||
void SEND_RR_RESP(struct _LINKTABLE * LINK, UCHAR PF);
|
void SEND_RR_RESP(struct _LINKTABLE * LINK, UCHAR PF);
|
||||||
|
@ -3097,7 +3098,7 @@ VOID ACKMSG(struct _LINKTABLE * LINK)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID CONNECTFAILED(struct _LINKTABLE * LINK);
|
VOID CONNECTFAILED();
|
||||||
|
|
||||||
VOID L2TIMEOUT(struct _LINKTABLE * LINK, struct PORTCONTROL * PORT)
|
VOID L2TIMEOUT(struct _LINKTABLE * LINK, struct PORTCONTROL * PORT)
|
||||||
{
|
{
|
||||||
|
@ -3598,7 +3599,7 @@ VOID CONNECTREFUSED(struct _LINKTABLE * LINK)
|
||||||
ConnectFailedOrRefused(LINK, "Busy from");
|
ConnectFailedOrRefused(LINK, "Busy from");
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID L3CONNECTFAILED(struct _LINKTABLE * LINK);
|
VOID L3CONNECTFAILED();
|
||||||
|
|
||||||
VOID ConnectFailedOrRefused(struct _LINKTABLE * LINK, char * Msg)
|
VOID ConnectFailedOrRefused(struct _LINKTABLE * LINK, char * Msg)
|
||||||
{
|
{
|
||||||
|
@ -4134,7 +4135,7 @@ int seeifUnlockneeded(struct _LINKTABLE * LINK)
|
||||||
if (TNC)
|
if (TNC)
|
||||||
if (Interlock == TNC->RXRadio || Interlock == TNC->TXRadio) // Same Group
|
if (Interlock == TNC->RXRadio || Interlock == TNC->TXRadio) // Same Group
|
||||||
if (TNC->ReleasePortProc && TNC->PortRecord->PORTCONTROL.PortSuspended == TRUE)
|
if (TNC->ReleasePortProc && TNC->PortRecord->PORTCONTROL.PortSuspended == TRUE)
|
||||||
TNC->ReleasePortProc(TNC);
|
TNC->ReleasePortProc(TNC, TNC);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
2
L4Code.c
2
L4Code.c
|
@ -56,7 +56,7 @@ VOID L3SWAPADDRESSES(L3MESSAGEBUFFER * L3MSG);
|
||||||
VOID L4TIMEOUT(TRANSPORTENTRY * L4);
|
VOID L4TIMEOUT(TRANSPORTENTRY * L4);
|
||||||
struct DEST_LIST * CHECKL3TABLES(struct _LINKTABLE * LINK, L3MESSAGEBUFFER * Msg);
|
struct DEST_LIST * CHECKL3TABLES(struct _LINKTABLE * LINK, L3MESSAGEBUFFER * Msg);
|
||||||
int CHECKIFBUSYL4(TRANSPORTENTRY * L4);
|
int CHECKIFBUSYL4(TRANSPORTENTRY * L4);
|
||||||
VOID AUTOTIMER(TRANSPORTENTRY * L4);
|
VOID AUTOTIMER();
|
||||||
VOID NRRecordRoute(UCHAR * Buff, int Len);
|
VOID NRRecordRoute(UCHAR * Buff, int Len);
|
||||||
VOID REFRESHROUTE(TRANSPORTENTRY * Session);
|
VOID REFRESHROUTE(TRANSPORTENTRY * Session);
|
||||||
VOID ACKFRAMES(L3MESSAGEBUFFER * L3MSG, TRANSPORTENTRY * L4, int NR);
|
VOID ACKFRAMES(L3MESSAGEBUFFER * L3MSG, TRANSPORTENTRY * L4, int NR);
|
||||||
|
|
6
LinBPQ.c
6
LinBPQ.c
|
@ -667,7 +667,7 @@ void ConTermPoll()
|
||||||
|
|
||||||
// Replace CR with CRLF
|
// Replace CR with CRLF
|
||||||
|
|
||||||
printf("%s", ptr);
|
printf(ptr);
|
||||||
|
|
||||||
if (ptr2)
|
if (ptr2)
|
||||||
printf("\r\n");
|
printf("\r\n");
|
||||||
|
@ -717,7 +717,7 @@ void ConTermPoll()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <getopt.h>
|
#include "getopt.h"
|
||||||
|
|
||||||
static struct option long_options[] =
|
static struct option long_options[] =
|
||||||
{
|
{
|
||||||
|
@ -816,7 +816,7 @@ int main(int argc, char * argv[])
|
||||||
{
|
{
|
||||||
case 'h':
|
case 'h':
|
||||||
|
|
||||||
printf("%s", HelpScreen);
|
printf(HelpScreen);
|
||||||
exit (0);
|
exit (0);
|
||||||
|
|
||||||
case 'l':
|
case 'l':
|
||||||
|
|
|
@ -24,7 +24,6 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
#include "bpqmail.h"
|
#include "bpqmail.h"
|
||||||
|
|
||||||
void SendMessageReadEvent(char * call, struct MsgInfo * Msg);
|
void SendMessageReadEvent(char * call, struct MsgInfo * Msg);
|
||||||
void MQTTMessageEvent(void* message);
|
|
||||||
|
|
||||||
|
|
||||||
VOID ProcessMBLLine(CIRCUIT * conn, struct UserInfo * user, UCHAR* Buffer, int len)
|
VOID ProcessMBLLine(CIRCUIT * conn, struct UserInfo * user, UCHAR* Buffer, int len)
|
||||||
|
@ -200,12 +199,6 @@ VOID ProcessMBLLine(CIRCUIT * conn, struct UserInfo * user, UCHAR* Buffer, int l
|
||||||
}
|
}
|
||||||
|
|
||||||
conn->FwdMsg->Locked = 0; // Unlock
|
conn->FwdMsg->Locked = 0; // Unlock
|
||||||
|
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(conn->FwdMsg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
@ -289,7 +282,7 @@ VOID ProcessMBLLine(CIRCUIT * conn, struct UserInfo * user, UCHAR* Buffer, int l
|
||||||
{
|
{
|
||||||
// Reverse forward request
|
// Reverse forward request
|
||||||
|
|
||||||
// If we have just sent a message, Flag it as sent
|
// If we have just sent a nessage, Flag it as sent
|
||||||
|
|
||||||
if (conn->FBBMsgsSent)
|
if (conn->FBBMsgsSent)
|
||||||
{
|
{
|
||||||
|
@ -307,11 +300,6 @@ VOID ProcessMBLLine(CIRCUIT * conn, struct UserInfo * user, UCHAR* Buffer, int l
|
||||||
|
|
||||||
conn->FwdMsg->Locked = 0; // Unlock
|
conn->FwdMsg->Locked = 0; // Unlock
|
||||||
|
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(conn->FwdMsg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
conn->UserPointer->ForwardingInfo->MsgCount--;
|
conn->UserPointer->ForwardingInfo->MsgCount--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -366,11 +354,6 @@ VOID ProcessMBLLine(CIRCUIT * conn, struct UserInfo * user, UCHAR* Buffer, int l
|
||||||
conn->FwdMsg->datechanged=time(NULL);
|
conn->FwdMsg->datechanged=time(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(conn->FwdMsg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
conn->UserPointer->ForwardingInfo->MsgCount--;
|
conn->UserPointer->ForwardingInfo->MsgCount--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@ static void ConnecttoMPSKThread(void * portptr);
|
||||||
void CreateMHWindow();
|
void CreateMHWindow();
|
||||||
int Update_MH_List(struct in_addr ipad, char * call, char proto);
|
int Update_MH_List(struct in_addr ipad, char * call, char proto);
|
||||||
|
|
||||||
static int ConnecttoMPSK(int port);
|
static int ConnecttoMPSK();
|
||||||
static int ProcessReceivedData(int bpqport);
|
static int ProcessReceivedData(int bpqport);
|
||||||
static int ProcessLine(char * buf, int Port);
|
static int ProcessLine(char * buf, int Port);
|
||||||
int KillTNC(struct TNCINFO * TNC);
|
int KillTNC(struct TNCINFO * TNC);
|
||||||
|
@ -71,6 +71,8 @@ static VOID SendData(struct TNCINFO * TNC, char * Msg, int MsgLen);
|
||||||
static VOID DoMonitorHddr(struct TNCINFO * TNC, struct AGWHEADER * RXHeader, UCHAR * Msg);
|
static VOID DoMonitorHddr(struct TNCINFO * TNC, struct AGWHEADER * RXHeader, UCHAR * Msg);
|
||||||
VOID SendRPBeacon(struct TNCINFO * TNC);
|
VOID SendRPBeacon(struct TNCINFO * TNC);
|
||||||
|
|
||||||
|
char * strlop(char * buf, char delim);
|
||||||
|
|
||||||
extern UCHAR BPQDirectory[];
|
extern UCHAR BPQDirectory[];
|
||||||
|
|
||||||
#define MAXMPSKPORTS 16
|
#define MAXMPSKPORTS 16
|
||||||
|
|
|
@ -141,7 +141,7 @@ struct Country Countries[] =
|
||||||
"HKG", "ASIA", "AS", // Hong Kong Special Administrative Region of China
|
"HKG", "ASIA", "AS", // Hong Kong Special Administrative Region of China
|
||||||
"MAC", "ASIA", "AS", // Macao Special Administrative Region of China
|
"MAC", "ASIA", "AS", // Macao Special Administrative Region of China
|
||||||
"COL", "ASIA", "SA", // Colombia
|
"COL", "ASIA", "SA", // Colombia
|
||||||
// "COM", "SAFR", "AF", // Comoros
|
"COM", "SAFR", "AF", // Comoros
|
||||||
"COG", "CAFR", "AF", // Congo
|
"COG", "CAFR", "AF", // Congo
|
||||||
"COK", "SPAC", "OC", // Cook Islands
|
"COK", "SPAC", "OC", // Cook Islands
|
||||||
"CRI", "CEAM", "NA", // Costa Rica
|
"CRI", "CEAM", "NA", // Costa Rica
|
||||||
|
|
|
@ -59,6 +59,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
|
|
||||||
#define NODES_SIG 0xFF
|
#define NODES_SIG 0xFF
|
||||||
|
|
||||||
|
char * strlop(char * buf, char delim);
|
||||||
UCHAR * DisplayINP3RIF(UCHAR * ptr1, UCHAR * ptr2, unsigned int msglen);
|
UCHAR * DisplayINP3RIF(UCHAR * ptr1, UCHAR * ptr2, unsigned int msglen);
|
||||||
|
|
||||||
char * DISPLAY_NETROM(MESSAGE * ADJBUFFER, UCHAR * Output, int MsgLen);
|
char * DISPLAY_NETROM(MESSAGE * ADJBUFFER, UCHAR * Output, int MsgLen);
|
||||||
|
|
|
@ -1612,7 +1612,7 @@ int MulticastStatusHTML(char * Reply)
|
||||||
if (Sess ==NULL)
|
if (Sess ==NULL)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
Len = sprintf(Reply, "%s", StatusPage);
|
Len = sprintf(Reply, StatusPage);
|
||||||
|
|
||||||
while (Sess)
|
while (Sess)
|
||||||
{
|
{
|
||||||
|
@ -1670,7 +1670,7 @@ int MulticastStatusHTML(char * Reply)
|
||||||
Sess = Sess->Next;
|
Sess = Sess->Next;
|
||||||
}
|
}
|
||||||
|
|
||||||
Len += sprintf(&Reply[Len], "%s", StatusTail);
|
Len += sprintf(&Reply[Len], StatusTail);
|
||||||
|
|
||||||
return Len;
|
return Len;
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,6 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
|
|
||||||
VOID __cdecl Debugprintf(const char * format, ...);
|
VOID __cdecl Debugprintf(const char * format, ...);
|
||||||
VOID ReleaseSock(SOCKET sock);
|
VOID ReleaseSock(SOCKET sock);
|
||||||
void MQTTMessageEvent(void* message);
|
|
||||||
|
|
||||||
struct NNTPRec * FirstNNTPRec = NULL;
|
struct NNTPRec * FirstNNTPRec = NULL;
|
||||||
|
|
||||||
|
@ -353,12 +352,6 @@ int CreateNNTPMessage(char * From, char * To, char * MsgTitle, time_t Date, char
|
||||||
|
|
||||||
BuildNNTPList(Msg); // Build NNTP Groups list
|
BuildNNTPList(Msg); // Build NNTP Groups list
|
||||||
|
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(Msg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
return CreateSMTPMessageFile(MsgBody, Msg);
|
return CreateSMTPMessageFile(MsgBody, Msg);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
21
RigControl.c
21
RigControl.c
|
@ -1291,7 +1291,7 @@ int Rig_CommandEx(struct RIGPORTINFO * PORT, struct RIGINFO * RIG, TRANSPORTENTR
|
||||||
|
|
||||||
// use text command
|
// use text command
|
||||||
|
|
||||||
Len = sprintf(CmdPtr, "%S", ptr1);
|
Len = sprintf(CmdPtr, ptr1);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case YAESU:
|
case YAESU:
|
||||||
|
@ -3205,7 +3205,7 @@ VOID ReleasePermission(struct RIGINFO *RIG)
|
||||||
while (RIG->PortRecord[i])
|
while (RIG->PortRecord[i])
|
||||||
{
|
{
|
||||||
PortRecord = RIG->PortRecord[i];
|
PortRecord = RIG->PortRecord[i];
|
||||||
PortRecord->PORT_EXT_ADDR(6, PortRecord->PORTCONTROL.PORTNUMBER, (PDATAMESSAGE)3); // Release Perrmission
|
PortRecord->PORT_EXT_ADDR(6, PortRecord->PORTCONTROL.PORTNUMBER, 3); // Release Perrmission
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3235,7 +3235,7 @@ int GetPermissionToChange(struct RIGPORTINFO * PORT, struct RIGINFO *RIG)
|
||||||
// TNC has been asked for permission, and we are waiting respoonse
|
// TNC has been asked for permission, and we are waiting respoonse
|
||||||
// Only SCS pactor returns WaitingForPrmission, so check shouldn't be called on others
|
// Only SCS pactor returns WaitingForPrmission, so check shouldn't be called on others
|
||||||
|
|
||||||
RIG->OKtoChange = (int)(intptr_t)RIG->PortRecord[0]->PORT_EXT_ADDR(6, RIG->PortRecord[0]->PORTCONTROL.PORTNUMBER, (PDATAMESSAGE)2); // Get Ok Flag
|
RIG->OKtoChange = (int)(intptr_t)RIG->PortRecord[0]->PORT_EXT_ADDR(6, RIG->PortRecord[0]->PORTCONTROL.PORTNUMBER, 2); // Get Ok Flag
|
||||||
|
|
||||||
if (RIG->OKtoChange == 1)
|
if (RIG->OKtoChange == 1)
|
||||||
{
|
{
|
||||||
|
@ -3277,7 +3277,7 @@ int GetPermissionToChange(struct RIGPORTINFO * PORT, struct RIGINFO *RIG)
|
||||||
// not waiting for permission, so must be first call of a cycle
|
// not waiting for permission, so must be first call of a cycle
|
||||||
|
|
||||||
if (RIG->PortRecord[0] && RIG->PortRecord[0]->PORT_EXT_ADDR)
|
if (RIG->PortRecord[0] && RIG->PortRecord[0]->PORT_EXT_ADDR)
|
||||||
RIG->WaitingForPermission = (int)(intptr_t)RIG->PortRecord[0]->PORT_EXT_ADDR(6, RIG->PortRecord[0]->PORTCONTROL.PORTNUMBER, (PDATAMESSAGE)1); // Request Perrmission
|
RIG->WaitingForPermission = (int)(intptr_t)RIG->PortRecord[0]->PORT_EXT_ADDR(6, RIG->PortRecord[0]->PORTCONTROL.PORTNUMBER, 1); // Request Perrmission
|
||||||
|
|
||||||
// If it returns zero there is no need to wait.
|
// If it returns zero there is no need to wait.
|
||||||
// Normally SCS Returns True for first call, but returns 0 if Link not running
|
// Normally SCS Returns True for first call, but returns 0 if Link not running
|
||||||
|
@ -3300,7 +3300,7 @@ CheckOtherPorts:
|
||||||
{
|
{
|
||||||
PortRecord = RIG->PortRecord[i];
|
PortRecord = RIG->PortRecord[i];
|
||||||
|
|
||||||
if (PortRecord->PORT_EXT_ADDR && PortRecord->PORT_EXT_ADDR(6, PortRecord->PORTCONTROL.PORTNUMBER, (PDATAMESSAGE)1))
|
if (PortRecord->PORT_EXT_ADDR && PortRecord->PORT_EXT_ADDR(6, PortRecord->PORTCONTROL.PORTNUMBER, 1))
|
||||||
{
|
{
|
||||||
// 1 means can't change - release all
|
// 1 means can't change - release all
|
||||||
|
|
||||||
|
@ -3392,7 +3392,7 @@ VOID DoBandwidthandAntenna(struct RIGINFO *RIG, struct ScanEntry * ptr)
|
||||||
|
|
||||||
RIG->CurrentBandWidth = ptr->Bandwidth;
|
RIG->CurrentBandWidth = ptr->Bandwidth;
|
||||||
|
|
||||||
PortRecord->PORT_EXT_ADDR(6, PortRecord->PORTCONTROL.PORTNUMBER, (PDATAMESSAGE)ptr);
|
PortRecord->PORT_EXT_ADDR(6, PortRecord->PORTCONTROL.PORTNUMBER, ptr);
|
||||||
|
|
||||||
/* if (ptr->Bandwidth == 'R') // Robust Packet
|
/* if (ptr->Bandwidth == 'R') // Robust Packet
|
||||||
PortRecord->PORT_EXT_ADDR(6, PortRecord->PORTCONTROL.PORTNUMBER, 6); // Set Robust Packet
|
PortRecord->PORT_EXT_ADDR(6, PortRecord->PORTCONTROL.PORTNUMBER, 6); // Set Robust Packet
|
||||||
|
@ -8385,7 +8385,7 @@ int ProcessHAMLIBSlaveMessage(SOCKET Sock, struct RIGINFO * RIG, unsigned char *
|
||||||
|
|
||||||
switch (Msg[0])
|
switch (Msg[0])
|
||||||
{
|
{
|
||||||
case 'f': // Get Frequency
|
case 'f': // Get Freqency
|
||||||
|
|
||||||
HLGetFreq(Sock, RIG, sep);
|
HLGetFreq(Sock, RIG, sep);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -9938,10 +9938,14 @@ void ProcessSDRANGELFrame(struct RIGPORTINFO * PORT)
|
||||||
int Length;
|
int Length;
|
||||||
|
|
||||||
char * msg;
|
char * msg;
|
||||||
|
char * rest;
|
||||||
|
|
||||||
struct RIGINFO * RIG;
|
struct RIGINFO * RIG;
|
||||||
char * ptr, * ptr1, * ptr2, * ptr3, * pos;
|
char * ptr, * ptr1, * ptr2, * ptr3, * pos;
|
||||||
|
int Len, TotalLen;
|
||||||
char cmd[80];
|
char cmd[80];
|
||||||
|
char ReqBuf[256];
|
||||||
|
char SendBuff[256];
|
||||||
int chunklength;
|
int chunklength;
|
||||||
int headerlen;
|
int headerlen;
|
||||||
int i, n = 0;
|
int i, n = 0;
|
||||||
|
@ -10328,6 +10332,7 @@ VOID SDRANGELPoll(struct RIGPORTINFO * PORT)
|
||||||
|
|
||||||
struct RIGINFO * RIG = &PORT->Rigs[0];
|
struct RIGINFO * RIG = &PORT->Rigs[0];
|
||||||
int Len, i;
|
int Len, i;
|
||||||
|
char ReqBuf[256];
|
||||||
char SendBuff[256];
|
char SendBuff[256];
|
||||||
//char * SDRANGEL_GETheader = "GET /sdrangel/deviceset/%d/device/settings "
|
//char * SDRANGEL_GETheader = "GET /sdrangel/deviceset/%d/device/settings "
|
||||||
// "HTTP/1.1\nHost: %s\nConnection: keep-alive\n\r\n";
|
// "HTTP/1.1\nHost: %s\nConnection: keep-alive\n\r\n";
|
||||||
|
@ -10374,6 +10379,7 @@ VOID SDRANGELPoll(struct RIGPORTINFO * PORT)
|
||||||
if (GetPermissionToChange(PORT, RIG))
|
if (GetPermissionToChange(PORT, RIG))
|
||||||
{
|
{
|
||||||
char cmd[80];
|
char cmd[80];
|
||||||
|
double freq;
|
||||||
|
|
||||||
if (RIG->RIG_DEBUG)
|
if (RIG->RIG_DEBUG)
|
||||||
Debugprintf("BPQ32 Change Freq to %9.4f", PORT->FreqPtr->Freq);
|
Debugprintf("BPQ32 Change Freq to %9.4f", PORT->FreqPtr->Freq);
|
||||||
|
@ -10445,6 +10451,7 @@ VOID SDRANGELPoll(struct RIGPORTINFO * PORT)
|
||||||
VOID SDRANGELSendCommand(struct RIGPORTINFO * PORT, char * Command, char * Value)
|
VOID SDRANGELSendCommand(struct RIGPORTINFO * PORT, char * Command, char * Value)
|
||||||
{
|
{
|
||||||
int Len, ret;
|
int Len, ret;
|
||||||
|
char ReqBuf[512];
|
||||||
char SendBuff[512];
|
char SendBuff[512];
|
||||||
char ValueString[256] ="";
|
char ValueString[256] ="";
|
||||||
char * SDRANGEL_PATCHheader = "PATCH /sdrangel/deviceset/%d/device/settings "
|
char * SDRANGEL_PATCHheader = "PATCH /sdrangel/deviceset/%d/device/settings "
|
||||||
|
|
|
@ -2893,7 +2893,7 @@ VOID ProcessIncomingCall(struct TNCINFO * TNC, struct STREAMINFO * STREAM, int S
|
||||||
{
|
{
|
||||||
char AppName[13];
|
char AppName[13];
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
// Make sure app is available
|
// Make sure app is available
|
||||||
|
@ -3034,7 +3034,7 @@ VOID ProcessIncomingCall(struct TNCINFO * TNC, struct STREAMINFO * STREAM, int S
|
||||||
{
|
{
|
||||||
char AppName[13];
|
char AppName[13];
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
// if SendTandRtoRelay set and Appl is RMS change to RELAY
|
// if SendTandRtoRelay set and Appl is RMS change to RELAY
|
||||||
|
|
|
@ -48,6 +48,7 @@ extern UCHAR BPQDirectory[];
|
||||||
static RECT Rect;
|
static RECT Rect;
|
||||||
|
|
||||||
VOID __cdecl Debugprintf(const char * format, ...);
|
VOID __cdecl Debugprintf(const char * format, ...);
|
||||||
|
char * strlop(char * buf, char delim);
|
||||||
BOOL KAMStartPort(struct PORTCONTROL * PORT);
|
BOOL KAMStartPort(struct PORTCONTROL * PORT);
|
||||||
BOOL KAMStopPort(struct PORTCONTROL * PORT);
|
BOOL KAMStopPort(struct PORTCONTROL * PORT);
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,7 @@ extern char LOC[];
|
||||||
static RECT Rect;
|
static RECT Rect;
|
||||||
|
|
||||||
VOID __cdecl Debugprintf(const char * format, ...);
|
VOID __cdecl Debugprintf(const char * format, ...);
|
||||||
|
char * strlop(char * buf, char delim);
|
||||||
|
|
||||||
char NodeCall[11]; // Nodecall, Null Terminated
|
char NodeCall[11]; // Nodecall, Null Terminated
|
||||||
|
|
||||||
|
@ -2174,7 +2175,7 @@ VOID TrkProcessDEDFrame(struct TNCINFO * TNC)
|
||||||
{
|
{
|
||||||
char AppName[13];
|
char AppName[13];
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
// Make sure app is available
|
// Make sure app is available
|
||||||
|
|
|
@ -142,7 +142,7 @@ loop:
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL SerialReadConfigFile(int Port, int ProcLine(char * buf, int Port))
|
BOOL SerialReadConfigFile(int Port, int ProcLine())
|
||||||
{
|
{
|
||||||
char buf[256],errbuf[256];
|
char buf[256],errbuf[256];
|
||||||
|
|
||||||
|
|
|
@ -27,16 +27,6 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
|
|
||||||
#include "CHeaders.h"
|
#include "CHeaders.h"
|
||||||
|
|
||||||
typedef struct _TCMDX
|
|
||||||
{
|
|
||||||
char String[12]; // COMMAND STRING
|
|
||||||
UCHAR CMDLEN; // SIGNIFICANT LENGTH
|
|
||||||
VOID (* CMDPROC)(struct TNCDATA * TNC, char * Tail, struct _TCMDX * CMD);// COMMAND PROCESSOR
|
|
||||||
size_t CMDFLAG; // FLAG/VALUE Offset
|
|
||||||
|
|
||||||
} TCMDX;
|
|
||||||
|
|
||||||
|
|
||||||
#define LF 10
|
#define LF 10
|
||||||
#define CR 13
|
#define CR 13
|
||||||
|
|
||||||
|
@ -858,7 +848,7 @@ int LocalSessionState(int stream, int * state, int * change, BOOL ACK)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
VOID ONOFF(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID ONOFF(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// PROCESS COMMANDS WITH ON/OFF PARAM
|
// PROCESS COMMANDS WITH ON/OFF PARAM
|
||||||
|
|
||||||
|
@ -907,7 +897,7 @@ VOID ONOFF(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
VOID ONOFF_CONOK(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID ONOFF_CONOK(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
struct TNC2StreamInfo * TNCStream = TNC->TNC2Stream[TNC->TXStream];
|
struct TNC2StreamInfo * TNCStream = TNC->TNC2Stream[TNC->TXStream];
|
||||||
|
|
||||||
|
@ -921,7 +911,7 @@ VOID ONOFF_CONOK(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
SetAppl(TNCStream->BPQPort, TNC->APPLFLAGS, 0);
|
SetAppl(TNCStream->BPQPort, TNC->APPLFLAGS, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID SETMYCALL(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID SETMYCALL(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char Response[80];
|
char Response[80];
|
||||||
int len;
|
int len;
|
||||||
|
@ -945,7 +935,7 @@ VOID SETMYCALL(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
|
|
||||||
SENDREPLY(TNC, Response, len);
|
SENDREPLY(TNC, Response, len);
|
||||||
}
|
}
|
||||||
VOID CTEXTCMD(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID CTEXTCMD(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char Response[256];
|
char Response[256];
|
||||||
int len, n;
|
int len, n;
|
||||||
|
@ -973,10 +963,10 @@ VOID CTEXTCMD(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
SENDREPLY(TNC, Response, len);
|
SENDREPLY(TNC, Response, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID BTEXT(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID BTEXT(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
VOID VALUE(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID VALUE(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// PROCESS COMMANDS WITH decimal value
|
// PROCESS COMMANDS WITH decimal value
|
||||||
|
|
||||||
|
@ -1005,7 +995,7 @@ VOID VALUE(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
SENDREPLY(TNC, Response, len);
|
SENDREPLY(TNC, Response, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID VALHEX(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID VALHEX(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// PROCESS COMMANDS WITH decimal value
|
// PROCESS COMMANDS WITH decimal value
|
||||||
|
|
||||||
|
@ -1042,7 +1032,7 @@ VOID VALHEX(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
SENDREPLY(TNC, Response, len);
|
SENDREPLY(TNC, Response, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID APPL_VALHEX(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID APPL_VALHEX(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
int ApplNum = 1;
|
int ApplNum = 1;
|
||||||
UINT APPLMASK;
|
UINT APPLMASK;
|
||||||
|
@ -1071,7 +1061,7 @@ VOID APPL_VALHEX(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
memcpy(TNC->MYCALL, GetApplCall(ApplNum), 10);
|
memcpy(TNC->MYCALL, GetApplCall(ApplNum), 10);
|
||||||
|
|
||||||
}
|
}
|
||||||
VOID CSWITCH(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID CSWITCH(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
char Response[80];
|
char Response[80];
|
||||||
int len;
|
int len;
|
||||||
|
@ -1082,12 +1072,12 @@ VOID CSWITCH(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
CONNECTTONODE(TNC);
|
CONNECTTONODE(TNC);
|
||||||
|
|
||||||
}
|
}
|
||||||
VOID CONMODE(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID CONMODE(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
SENDREPLY(TNC, CMDMSG, 4);
|
SENDREPLY(TNC, CMDMSG, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID TNCCONV(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID TNCCONV(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
struct TNC2StreamInfo * TNCStream = TNC->TNC2Stream[TNC->TXStream];
|
struct TNC2StreamInfo * TNCStream = TNC->TNC2Stream[TNC->TXStream];
|
||||||
|
|
||||||
|
@ -1095,7 +1085,7 @@ VOID TNCCONV(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
TNCStream->MODEFLAG &= ~(COMMAND+TRANS);
|
TNCStream->MODEFLAG &= ~(COMMAND+TRANS);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID TNCNODE(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID TNCNODE(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// CONNECT TO NODE
|
// CONNECT TO NODE
|
||||||
|
|
||||||
|
@ -1109,7 +1099,7 @@ VOID TNCNODE(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
CONNECTTONODE(TNC);
|
CONNECTTONODE(TNC);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID CStatus(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID CStatus(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
struct TNC2StreamInfo * TNCStream = TNC->TNC2Stream[TNC->TXStream];
|
struct TNC2StreamInfo * TNCStream = TNC->TNC2Stream[TNC->TXStream];
|
||||||
|
|
||||||
|
@ -1146,7 +1136,7 @@ VOID CStatus(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID TNCCONNECT(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID TNCCONNECT(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
struct TNC2StreamInfo * TNCStream = TNC->TNC2Stream[TNC->TXStream];
|
struct TNC2StreamInfo * TNCStream = TNC->TNC2Stream[TNC->TXStream];
|
||||||
|
|
||||||
|
@ -1189,7 +1179,7 @@ VOID TNCCONNECT(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
SENDPACKET(TNC); // Will now go to node
|
SENDPACKET(TNC); // Will now go to node
|
||||||
|
|
||||||
}
|
}
|
||||||
VOID TNCDISC(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID TNCDISC(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
struct TNC2StreamInfo * TNCStream = TNC->TNC2Stream[TNC->TXStream];
|
struct TNC2StreamInfo * TNCStream = TNC->TNC2Stream[TNC->TXStream];
|
||||||
|
|
||||||
|
@ -1204,7 +1194,7 @@ VOID READCHANGE(int Stream)
|
||||||
LocalSessionState(Stream, &dummy, &dummy, TRUE);
|
LocalSessionState(Stream, &dummy, &dummy, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID TNCRELEASE(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID TNCRELEASE(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
ReturntoNode(TNC->BPQPort);
|
ReturntoNode(TNC->BPQPort);
|
||||||
|
|
||||||
|
@ -1213,7 +1203,7 @@ VOID TNCRELEASE(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
|
|
||||||
SENDREPLY(TNC, CMDMSG, 4);
|
SENDREPLY(TNC, CMDMSG, 4);
|
||||||
}
|
}
|
||||||
VOID TNCTRANS(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
VOID TNCTRANS(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
struct TNC2StreamInfo * TNCStream = TNC->TNC2Stream[TNC->TXStream];
|
struct TNC2StreamInfo * TNCStream = TNC->TNC2Stream[TNC->TXStream];
|
||||||
|
|
||||||
|
@ -1225,7 +1215,7 @@ VOID TNCTRANS(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
TNCStream->MODEFLAG |= TRANS;
|
TNCStream->MODEFLAG |= TRANS;
|
||||||
TNCStream->MODEFLAG &= ~(COMMAND+CONV);
|
TNCStream->MODEFLAG &= ~(COMMAND+CONV);
|
||||||
}
|
}
|
||||||
static VOID TNCRESTART(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
static VOID TNCRESTART(struct TNCDATA * TNC)
|
||||||
{
|
{
|
||||||
// REINITIALISE CHANNEL
|
// REINITIALISE CHANNEL
|
||||||
|
|
||||||
|
@ -1253,12 +1243,12 @@ static VOID TNCRESTART(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static VOID TNCUNPROTOCMD(struct TNCDATA * TNC, char * Tail, TCMDX * CMD)
|
static VOID TNCUNPROTOCMD(struct TNCDATA * TNC, char * Tail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
TCMDX TNCCOMMANDLIST[] =
|
CMDX TNCCOMMANDLIST[] =
|
||||||
{
|
{
|
||||||
"AUTOLF ",2, ONOFF, offsetof(struct TNCDATA, AUTOLF),
|
"AUTOLF ",2, ONOFF, offsetof(struct TNCDATA, AUTOLF),
|
||||||
"BBSMON ",6, ONOFF, offsetof(struct TNCDATA, BBSMON),
|
"BBSMON ",6, ONOFF, offsetof(struct TNCDATA, BBSMON),
|
||||||
|
@ -1311,7 +1301,7 @@ TCMDX TNCCOMMANDLIST[] =
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int NUMBEROFTNCCOMMANDS = sizeof(TNCCOMMANDLIST)/sizeof(TCMDX);
|
int NUMBEROFTNCCOMMANDS = sizeof(TNCCOMMANDLIST)/sizeof(CMDX);
|
||||||
|
|
||||||
/*NEWVALUE DW 0
|
/*NEWVALUE DW 0
|
||||||
HEXFLAG DB 0
|
HEXFLAG DB 0
|
||||||
|
@ -2585,7 +2575,7 @@ VOID TNCCOMMAND(struct TNCDATA * TNC)
|
||||||
|
|
||||||
char * ptr, * ptr1, * ptr2;
|
char * ptr, * ptr1, * ptr2;
|
||||||
int n;
|
int n;
|
||||||
TCMDX * CMD;
|
CMDX * CMD;
|
||||||
|
|
||||||
*(--TNC->CURSOR) = 0;
|
*(--TNC->CURSOR) = 0;
|
||||||
|
|
||||||
|
@ -2663,8 +2653,11 @@ VOID TNCCOMMAND(struct TNCDATA * TNC)
|
||||||
}
|
}
|
||||||
|
|
||||||
CMD++;
|
CMD++;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SENDREPLY(TNC, WHATMSG, 8);
|
SENDREPLY(TNC, WHATMSG, 8);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -4933,7 +4926,6 @@ int STATUSPOLL(struct TNCDATA * TNC, struct StreamInfo * Channel)
|
||||||
|
|
||||||
int State, Change, i;
|
int State, Change, i;
|
||||||
char WorkString[256];
|
char WorkString[256];
|
||||||
char ConMsg[64];
|
|
||||||
|
|
||||||
if (TNC->MSGCHANNEL == 0) // Monitor Chan
|
if (TNC->MSGCHANNEL == 0) // Monitor Chan
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -4949,7 +4941,7 @@ int STATUSPOLL(struct TNCDATA * TNC, struct StreamInfo * Channel)
|
||||||
{
|
{
|
||||||
// DISCONNECTED
|
// DISCONNECTED
|
||||||
|
|
||||||
i = sprintf(ConMsg, "\x3(%d) DISCONNECTED fm 0:SWITCH\r", TNC->MSGCHANNEL);
|
i = sprintf(CONMSG, "\x3(%d) DISCONNECTED fm 0:SWITCH\r", TNC->MSGCHANNEL);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -4958,11 +4950,11 @@ int STATUSPOLL(struct TNCDATA * TNC, struct StreamInfo * Channel)
|
||||||
|
|
||||||
GetCallsign(Channel->BPQStream, WorkString);
|
GetCallsign(Channel->BPQStream, WorkString);
|
||||||
strlop(WorkString, ' ');
|
strlop(WorkString, ' ');
|
||||||
i = sprintf(ConMsg, "\x3(%d) CONNECTED to %s\r", TNC->MSGCHANNEL, WorkString);
|
i = sprintf(CONMSG, "\x3(%d) CONNECTED to %s\r", TNC->MSGCHANNEL, WorkString);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
SENDCMDREPLY(TNC, ConMsg, i);
|
SENDCMDREPLY(TNC, CONMSG, i);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -127,6 +127,7 @@ static HMENU hMenu, hPopMenu, hPopMenu2, hPopMenu3; // handle of menu
|
||||||
|
|
||||||
static int ProcessLine(char * buf, int Port);
|
static int ProcessLine(char * buf, int Port);
|
||||||
VOID __cdecl Debugprintf(const char * format, ...);
|
VOID __cdecl Debugprintf(const char * format, ...);
|
||||||
|
char * strlop(char * buf, char delim);
|
||||||
|
|
||||||
|
|
||||||
int DisplaySessions(struct TNCINFO * TNC);
|
int DisplaySessions(struct TNCINFO * TNC);
|
||||||
|
@ -6756,7 +6757,7 @@ extern struct DATAMESSAGE * REPLYBUFFER;
|
||||||
char * __cdecl Cmdprintf(TRANSPORTENTRY * Session, char * Bufferptr, const char * format, ...);
|
char * __cdecl Cmdprintf(TRANSPORTENTRY * Session, char * Bufferptr, const char * format, ...);
|
||||||
|
|
||||||
|
|
||||||
VOID RECONFIGTELNET (TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID RECONFIGTELNET (TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
int Port = 0, index =0;
|
int Port = 0, index =0;
|
||||||
char * ptr, *Context;
|
char * ptr, *Context;
|
||||||
|
@ -6941,7 +6942,7 @@ VOID RECONFIGTELNET (TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail,
|
||||||
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
SendCommandReply(Session, REPLYBUFFER, (int)(Bufferptr - (char *)REPLYBUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID SHOWTELNET(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD)
|
VOID SHOWTELNET(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD)
|
||||||
{
|
{
|
||||||
// DISPLAY Telnet Server Status Mheard
|
// DISPLAY Telnet Server Status Mheard
|
||||||
|
|
||||||
|
|
2
UIARQ.c
2
UIARQ.c
|
@ -869,7 +869,7 @@ static VOID ProcessFLDigiData(struct TNCINFO * TNC, UCHAR * Input, int Len, int
|
||||||
{
|
{
|
||||||
char AppName[13];
|
char AppName[13];
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
// Make sure app is available
|
// Make sure app is available
|
||||||
|
|
|
@ -62,7 +62,7 @@ void ConnecttoUZ7HOThread(void * portptr);
|
||||||
void CreateMHWindow();
|
void CreateMHWindow();
|
||||||
int Update_MH_List(struct in_addr ipad, char * call, char proto);
|
int Update_MH_List(struct in_addr ipad, char * call, char proto);
|
||||||
|
|
||||||
int ConnecttoUZ7HO(int port);
|
int ConnecttoUZ7HO();
|
||||||
static int ProcessReceivedData(int bpqport);
|
static int ProcessReceivedData(int bpqport);
|
||||||
static int ProcessLine(char * buf, int Port);
|
static int ProcessLine(char * buf, int Port);
|
||||||
int KillTNC(struct TNCINFO * TNC);
|
int KillTNC(struct TNCINFO * TNC);
|
||||||
|
@ -374,7 +374,7 @@ int UZ7HOSetFreq(int port, struct TNCINFO * TNC, struct AGWINFO * AGW, PDATAMESS
|
||||||
{
|
{
|
||||||
// Read Freq
|
// Read Freq
|
||||||
|
|
||||||
buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Modem Frequency %d\r", AGW->CenterFreq);
|
buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Modem Freqency %d\r", AGW->CenterFreq);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2479,7 +2479,7 @@ GotStream:
|
||||||
{
|
{
|
||||||
char AppName[13];
|
char AppName[13];
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
// Make sure app is available
|
// Make sure app is available
|
||||||
|
|
2
V4.c
2
V4.c
|
@ -1273,7 +1273,7 @@ static VOID ProcessResponse(struct TNCINFO * TNC, UCHAR * Buffer, int MsgLen)
|
||||||
{
|
{
|
||||||
char AppName[13];
|
char AppName[13];
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
// Make sure app is available
|
// Make sure app is available
|
||||||
|
|
2
VARA.c
2
VARA.c
|
@ -2231,7 +2231,7 @@ VOID VARAProcessResponse(struct TNCINFO * TNC, UCHAR * Buffer, int MsgLen)
|
||||||
{
|
{
|
||||||
char AppName[13];
|
char AppName[13];
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
// if SendTandRtoRelay set and Appl is RMS change to RELAY
|
// if SendTandRtoRelay set and Appl is RMS change to RELAY
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define KVers 6,0,24,54
|
#define KVers 6,0,24,53
|
||||||
#define KVerstring "6.0.24.54\0"
|
#define KVerstring "6.0.24.53\0"
|
||||||
|
|
||||||
#ifdef CKernel
|
#ifdef CKernel
|
||||||
|
|
||||||
|
|
4
WINMOR.c
4
WINMOR.c
|
@ -508,7 +508,7 @@ static int ProcessLine(char * buf, int Port)
|
||||||
|
|
||||||
void WINMORThread(void * portptr);
|
void WINMORThread(void * portptr);
|
||||||
VOID ProcessDataSocketData(int port);
|
VOID ProcessDataSocketData(int port);
|
||||||
int ConnecttoWINMOR(int port);
|
int ConnecttoWINMOR();
|
||||||
static int ProcessReceivedData(struct TNCINFO * TNC);
|
static int ProcessReceivedData(struct TNCINFO * TNC);
|
||||||
int V4ProcessReceivedData(struct TNCINFO * TNC);
|
int V4ProcessReceivedData(struct TNCINFO * TNC);
|
||||||
VOID ReleaseTNC(struct TNCINFO * TNC);
|
VOID ReleaseTNC(struct TNCINFO * TNC);
|
||||||
|
@ -2231,7 +2231,7 @@ VOID ProcessResponse(struct TNCINFO * TNC, UCHAR * Buffer, int MsgLen)
|
||||||
{
|
{
|
||||||
char AppName[13];
|
char AppName[13];
|
||||||
|
|
||||||
memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
|
memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
|
||||||
AppName[12] = 0;
|
AppName[12] = 0;
|
||||||
|
|
||||||
// Make sure app is available
|
// Make sure app is available
|
||||||
|
|
|
@ -34,7 +34,6 @@ VOID Do_Save_WPRec(HWND hDlg);
|
||||||
VOID SaveInt64Value(config_setting_t * group, char * name, long long value);
|
VOID SaveInt64Value(config_setting_t * group, char * name, long long value);
|
||||||
VOID SaveIntValue(config_setting_t * group, char * name, int value);
|
VOID SaveIntValue(config_setting_t * group, char * name, int value);
|
||||||
VOID SaveStringValue(config_setting_t * group, char * name, char * value);
|
VOID SaveStringValue(config_setting_t * group, char * name, char * value);
|
||||||
void MQTTMessageEvent(void* message);
|
|
||||||
|
|
||||||
WPRec * AllocateWPRecord()
|
WPRec * AllocateWPRecord()
|
||||||
{
|
{
|
||||||
|
@ -1496,10 +1495,6 @@ int CreateWPMessage()
|
||||||
|
|
||||||
BuildNNTPList(Msg); // Build NNTP Groups list
|
BuildNNTPList(Msg); // Build NNTP Groups list
|
||||||
|
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(Msg);
|
|
||||||
#endif
|
|
||||||
To++;
|
To++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
20
WebMail.c
20
WebMail.c
|
@ -78,7 +78,6 @@ char * doXMLTransparency(char * string);
|
||||||
Dll BOOL APIENTRY APISendAPRSMessage(char * Text, char * ToCall);
|
Dll BOOL APIENTRY APISendAPRSMessage(char * Text, char * ToCall);
|
||||||
void SendMessageReadEvent(char * Call, struct MsgInfo * Msg);
|
void SendMessageReadEvent(char * Call, struct MsgInfo * Msg);
|
||||||
void SendNewMessageEvent(char * call, struct MsgInfo * Msg);
|
void SendNewMessageEvent(char * call, struct MsgInfo * Msg);
|
||||||
void MQTTMessageEvent(void* message);
|
|
||||||
|
|
||||||
extern char NodeTail[];
|
extern char NodeTail[];
|
||||||
extern char BBSName[10];
|
extern char BBSName[10];
|
||||||
|
@ -2021,7 +2020,7 @@ void ProcessWebMailMessage(struct HTTPConnectionInfo * Session, char * Key, BOOL
|
||||||
"document.getElementById('myform').action = '/WebMail/QuoteOriginal' + '?%s';"
|
"document.getElementById('myform').action = '/WebMail/QuoteOriginal' + '?%s';"
|
||||||
" document.getElementById('myform').submit();}</script>"
|
" document.getElementById('myform').submit();}</script>"
|
||||||
"<input type=button class='btn' onclick='myfunc()' "
|
"<input type=button class='btn' onclick='myfunc()' "
|
||||||
"value='Include Original Msg'>";
|
"value='Include Orignal Msg'>";
|
||||||
|
|
||||||
char Temp[1024];
|
char Temp[1024];
|
||||||
char ReplyAddr[128];
|
char ReplyAddr[128];
|
||||||
|
@ -2841,11 +2840,6 @@ VOID SaveNewMessage(struct HTTPConnectionInfo * Session, char * MsgPtr, char * R
|
||||||
|
|
||||||
SendNewMessageEvent(user->Call, Msg);
|
SendNewMessageEvent(user->Call, Msg);
|
||||||
|
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(Msg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (user && (user->flags & F_APRSMFOR))
|
if (user && (user->flags & F_APRSMFOR))
|
||||||
{
|
{
|
||||||
char APRS[128];
|
char APRS[128];
|
||||||
|
@ -3790,12 +3784,6 @@ VOID WriteOneRecipient(struct MsgInfo * Msg, WebMailInfo * WebMail, int MsgLen,
|
||||||
Msg->status = '$'; // Has forwarding
|
Msg->status = '$'; // Has forwarding
|
||||||
|
|
||||||
BuildNNTPList(Msg); // Build NNTP Groups list
|
BuildNNTPList(Msg); // Build NNTP Groups list
|
||||||
|
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(Msg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -4380,12 +4368,6 @@ VOID BuildMessageFromHTMLInput(struct HTTPConnectionInfo * Session, char * Reply
|
||||||
|
|
||||||
BuildNNTPList(Msg); // Build NNTP Groups list
|
BuildNNTPList(Msg); // Build NNTP Groups list
|
||||||
|
|
||||||
#ifndef NOMQTT
|
|
||||||
if (MQTT)
|
|
||||||
MQTTMessageEvent(Msg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
SaveMessageDatabase();
|
SaveMessageDatabase();
|
||||||
SaveBIDDatabase();
|
SaveBIDDatabase();
|
||||||
|
|
||||||
|
|
2
WinRPR.c
2
WinRPR.c
|
@ -63,6 +63,8 @@ extern char LOC[];
|
||||||
static RECT Rect;
|
static RECT Rect;
|
||||||
|
|
||||||
VOID __cdecl Debugprintf(const char * format, ...);
|
VOID __cdecl Debugprintf(const char * format, ...);
|
||||||
|
char * strlop(char * buf, char delim);
|
||||||
|
|
||||||
char NodeCall[11]; // Nodecall, Null Terminated
|
char NodeCall[11]; // Nodecall, Null Terminated
|
||||||
|
|
||||||
static BOOL WriteCommBlock(struct TNCINFO * TNC);
|
static BOOL WriteCommBlock(struct TNCINFO * TNC);
|
||||||
|
|
|
@ -111,7 +111,7 @@ int main(int argc, char ** argv)
|
||||||
|
|
||||||
if (argc < 3)
|
if (argc < 3)
|
||||||
{
|
{
|
||||||
printf ("Missing parameters - you need COM port and IP Address and rigctl port of BPQ, eg \r\n"
|
printf ("Missing paramters - you need COM port and IP Address and rigctl port of BPQ, eg \r\n"
|
||||||
" WinRPRHelper com10 192.168.1.64:4532\r\n\r\n"
|
" WinRPRHelper com10 192.168.1.64:4532\r\n\r\n"
|
||||||
"Press any key to exit\r\n");
|
"Press any key to exit\r\n");
|
||||||
|
|
||||||
|
|
28
asmstrucs.h
28
asmstrucs.h
|
@ -62,15 +62,15 @@ extern int ENDOFDATA;
|
||||||
extern int L3LIVES;
|
extern int L3LIVES;
|
||||||
extern int NUMBEROFNODES;
|
extern int NUMBEROFNODES;
|
||||||
|
|
||||||
struct CMDX
|
typedef struct _CMDX
|
||||||
{
|
{
|
||||||
char String[12]; // COMMAND STRING
|
char String[12]; // COMMAND STRING
|
||||||
UCHAR CMDLEN; // SIGNIFICANT LENGTH
|
UCHAR CMDLEN; // SIGNIFICANT LENGTH
|
||||||
// VOID (*CMDPROC)(struct _TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);// COMMAND PROCESSOR
|
VOID (* CMDPROC)(); // COMMAND PROCESSOR
|
||||||
VOID (*CMDPROC)();// COMMAND PROCESSOR
|
|
||||||
size_t CMDFLAG; // FLAG/VALUE Offset
|
size_t CMDFLAG; // FLAG/VALUE Offset
|
||||||
|
|
||||||
};
|
} CMDX;
|
||||||
|
|
||||||
|
|
||||||
struct APPLCONFIG
|
struct APPLCONFIG
|
||||||
{
|
{
|
||||||
|
@ -547,14 +547,14 @@ typedef struct PORTCONTROL
|
||||||
PMESSAGE PORTRX_Q; // FRAMES RECEIVED ON THIS PORT
|
PMESSAGE PORTRX_Q; // FRAMES RECEIVED ON THIS PORT
|
||||||
PMESSAGE PORTTX_Q; // FRAMES TO BE SENT ON THIS PORT
|
PMESSAGE PORTTX_Q; // FRAMES TO BE SENT ON THIS PORT
|
||||||
|
|
||||||
void (FAR * PORTTXROUTINE)(struct _EXTPORTDATA * PORTVEC, MESSAGE * Buffer); // POINTER TO TRANSMIT ROUTINE FOR THIS PORT
|
void (FAR * PORTTXROUTINE)(); // POINTER TO TRANSMIT ROUTINE FOR THIS PORT
|
||||||
void (FAR * PORTRXROUTINE)(struct _EXTPORTDATA * PORTVEC); // POINTER TO RECEIVE ROUTINE FOR THIS PORT
|
void (FAR * PORTRXROUTINE)(); // POINTER TO RECEIVE ROUTINE FOR THIS PORT
|
||||||
void (FAR * PORTINITCODE)(struct PORTCONTROL * PortVector); // INITIALISATION ROUTINE
|
void (FAR * PORTINITCODE)(); // INITIALISATION ROUTINE
|
||||||
void (FAR * PORTTIMERCODE)(struct PORTCONTROL * PortVector); //
|
void (FAR * PORTTIMERCODE)(); //
|
||||||
void (FAR * PORTCLOSECODE)(struct PORTCONTROL * PortVector); // CLOSE ROUTINE
|
void (FAR * PORTCLOSECODE)(); // CLOSE ROUTINE
|
||||||
int (FAR * PORTTXCHECKCODE)(struct PORTCONTROL * PORTVEC, int Chan); // OK to TX Check
|
int (FAR * PORTTXCHECKCODE)(); // OK to TX Check
|
||||||
BOOL (FAR * PORTSTOPCODE)(struct PORTCONTROL * PORT); // Temporarily Stop Port
|
BOOL (FAR * PORTSTOPCODE)(); // Temporarily Stop Port
|
||||||
BOOL (FAR * PORTSTARTCODE)(struct PORTCONTROL * PORT); // Restart Port
|
BOOL (FAR * PORTSTARTCODE)(); // Restart Port
|
||||||
BOOL PortStopped; // STOPPORT command used
|
BOOL PortStopped; // STOPPORT command used
|
||||||
BOOL PortSuspended; // Suspended by interlock
|
BOOL PortSuspended; // Suspended by interlock
|
||||||
|
|
||||||
|
@ -678,7 +678,7 @@ typedef struct PORTCONTROL
|
||||||
BOOL IgnoreUnlocked; // Ignore Unlocked routes
|
BOOL IgnoreUnlocked; // Ignore Unlocked routes
|
||||||
BOOL INP3ONLY; // Default to INP3 and disallow NODES
|
BOOL INP3ONLY; // Default to INP3 and disallow NODES
|
||||||
|
|
||||||
void (* UIHook)(struct _LINKTABLE * LINK, struct PORTCONTROL * PORT, MESSAGE * Buffer, MESSAGE * ADJBUFFER, UCHAR CTL, UCHAR MSGFLAG); // Used for KISSARQ
|
FARPROCY UIHook; // Used for KISSARQ
|
||||||
struct PORTCONTROL * HookPort;
|
struct PORTCONTROL * HookPort;
|
||||||
int PortSlot; // Index in Port Table
|
int PortSlot; // Index in Port Table
|
||||||
struct TNCINFO * TNC; // Associated TNC record
|
struct TNCINFO * TNC; // Associated TNC record
|
||||||
|
@ -766,7 +766,7 @@ typedef struct _EXTPORTDATA
|
||||||
{
|
{
|
||||||
struct PORTCONTROL PORTCONTROL ; // REMAP HARDWARE INFO
|
struct PORTCONTROL PORTCONTROL ; // REMAP HARDWARE INFO
|
||||||
|
|
||||||
void * (* PORT_EXT_ADDR) (int fn, int port, PDATAMESSAGE buff); // ADDR OF RESIDENT ROUTINE
|
void * (* PORT_EXT_ADDR) (); // ADDR OF RESIDENT ROUTINE
|
||||||
char PORT_DLL_NAME[16];
|
char PORT_DLL_NAME[16];
|
||||||
UCHAR EXTRESTART; // FLAG FOR DRIVER REINIT
|
UCHAR EXTRESTART; // FLAG FOR DRIVER REINIT
|
||||||
HINSTANCE DLLhandle;
|
HINSTANCE DLLhandle;
|
||||||
|
|
|
@ -194,7 +194,7 @@ extern int OffsetH, OffsetW;
|
||||||
|
|
||||||
static void ResolveNames(struct AXIPPORTINFO * PORT);
|
static void ResolveNames(struct AXIPPORTINFO * PORT);
|
||||||
void OpenSockets(struct AXIPPORTINFO * PORT);
|
void OpenSockets(struct AXIPPORTINFO * PORT);
|
||||||
void CloseSockets(struct AXIPPORTINFO * PORT);
|
void CloseSockets();
|
||||||
|
|
||||||
|
|
||||||
static int CONVFROMAX25(char * incall, char * outcall);
|
static int CONVFROMAX25(char * incall, char * outcall);
|
||||||
|
|
|
@ -603,7 +603,7 @@ VOID __cdecl nprintf(ChatCIRCUIT * conn, const char * format, ...);
|
||||||
VOID nputs(ChatCIRCUIT * conn, char * buf);
|
VOID nputs(ChatCIRCUIT * conn, char * buf);
|
||||||
#endif
|
#endif
|
||||||
BOOL matchi(char * p1, char * p2);
|
BOOL matchi(char * p1, char * p2);
|
||||||
char * strlop(const char * buf, char delim);
|
char * strlop(char * buf, char delim);
|
||||||
int rt_cmd(ChatCIRCUIT *circuit, char * Buffer);
|
int rt_cmd(ChatCIRCUIT *circuit, char * Buffer);
|
||||||
ChatCIRCUIT *circuit_new(ChatCIRCUIT *circuit, int flags);
|
ChatCIRCUIT *circuit_new(ChatCIRCUIT *circuit, int flags);
|
||||||
void makelinks(void);
|
void makelinks(void);
|
||||||
|
|
|
@ -471,8 +471,6 @@ struct UserInfo
|
||||||
{
|
{
|
||||||
// New Format - with stats maintained by message type and unused fields removed.
|
// New Format - with stats maintained by message type and unused fields removed.
|
||||||
|
|
||||||
// This is no longer a fixed length record so can't be saved as a binarl
|
|
||||||
|
|
||||||
char Call[10]; // Connected call without SSID
|
char Call[10]; // Connected call without SSID
|
||||||
|
|
||||||
int Length; // To make subsequent format changes easier
|
int Length; // To make subsequent format changes easier
|
||||||
|
@ -879,7 +877,7 @@ struct MSESSION
|
||||||
};
|
};
|
||||||
|
|
||||||
VOID __cdecl nprintf(CIRCUIT * conn, const char * format, ...);
|
VOID __cdecl nprintf(CIRCUIT * conn, const char * format, ...);
|
||||||
char * strlop(const char * buf, char delim);
|
char * strlop(char * buf, char delim);
|
||||||
int rt_cmd(CIRCUIT *circuit, char * Buffer);
|
int rt_cmd(CIRCUIT *circuit, char * Buffer);
|
||||||
CIRCUIT *circuit_new(CIRCUIT *circuit, int flags);
|
CIRCUIT *circuit_new(CIRCUIT *circuit, int flags);
|
||||||
VOID BBSputs(CIRCUIT * conn, char * buf);
|
VOID BBSputs(CIRCUIT * conn, char * buf);
|
||||||
|
@ -1213,9 +1211,10 @@ VOID Do_Delete_User(HWND hDlg);
|
||||||
VOID FlagSentMessages(CIRCUIT * conn, struct UserInfo * user);
|
VOID FlagSentMessages(CIRCUIT * conn, struct UserInfo * user);
|
||||||
VOID HoldSentMessages(CIRCUIT * conn, struct UserInfo * user);
|
VOID HoldSentMessages(CIRCUIT * conn, struct UserInfo * user);
|
||||||
VOID Do_Save_User(HWND hDlg, BOOL ShowBox);
|
VOID Do_Save_User(HWND hDlg, BOOL ShowBox);
|
||||||
VOID DeleteBBS(struct UserInfo * user);
|
VOID DeleteBBS();
|
||||||
|
VOID AddBBS();
|
||||||
VOID SaveBBSConfig();
|
VOID SaveBBSConfig();
|
||||||
BOOL GetChatConfig(char * ConfigName);
|
BOOL GetChatConfig();
|
||||||
VOID SaveChatConfig();
|
VOID SaveChatConfig();
|
||||||
VOID SaveISPConfig();
|
VOID SaveISPConfig();
|
||||||
VOID SaveFWDConfig();
|
VOID SaveFWDConfig();
|
||||||
|
|
47
cMain.c
47
cMain.c
|
@ -42,7 +42,7 @@ VOID L2Routine(struct PORTCONTROL * PORT, PMESSAGE Buffer);
|
||||||
VOID ProcessIframe(struct _LINKTABLE * LINK, PDATAMESSAGE Buffer);
|
VOID ProcessIframe(struct _LINKTABLE * LINK, PDATAMESSAGE Buffer);
|
||||||
VOID FindLostBuffers();
|
VOID FindLostBuffers();
|
||||||
VOID ReadMH();
|
VOID ReadMH();
|
||||||
void GetPortCTEXT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, struct CMDX * CMD);
|
void GetPortCTEXT(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, CMDX * CMD);
|
||||||
int upnpInit();
|
int upnpInit();
|
||||||
void AISTimer();
|
void AISTimer();
|
||||||
void ADSBTimer();
|
void ADSBTimer();
|
||||||
|
@ -332,7 +332,7 @@ BOOL LINKTXCHECK()
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void * Dummy(int fn, int port, PDATAMESSAGE buff) // Dummy for missing EXT Driver
|
void * Dummy() // Dummy for missing EXT Driver
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -341,31 +341,26 @@ VOID EXTINIT(PEXTPORTDATA PORTVEC)
|
||||||
{
|
{
|
||||||
// LOAD DLL - NAME IS IN PORT_DLL_NAME
|
// LOAD DLL - NAME IS IN PORT_DLL_NAME
|
||||||
|
|
||||||
void *(* Startup) (PEXTPORTDATA PORTVEC); // ADDR OF Startup ROUTINE
|
VOID * Routine;
|
||||||
|
|
||||||
PORTVEC->PORT_EXT_ADDR = Dummy;
|
PORTVEC->PORT_EXT_ADDR = Dummy;
|
||||||
|
|
||||||
Startup = InitializeExtDriver(PORTVEC);
|
Routine = InitializeExtDriver(PORTVEC);
|
||||||
|
|
||||||
if (Startup == 0)
|
if (Routine == 0)
|
||||||
{
|
{
|
||||||
WritetoConsoleLocal("Driver installation failed\n");
|
WritetoConsoleLocal("Driver installation failed\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
PORTVEC->PORT_EXT_ADDR = Routine;
|
||||||
|
|
||||||
|
// ALSO CALL THE ROUTINE TO START IT UP, ESPECIALLY IF A L2 ROUTINE
|
||||||
|
|
||||||
// CALL THE ROUTINE TO START IT UP
|
Routine = (VOID *)PORTVEC->PORT_EXT_ADDR(PORTVEC);
|
||||||
|
|
||||||
// Startup returns address of processing routine
|
// Startup returns address of processing routine
|
||||||
|
|
||||||
PORTVEC->PORT_EXT_ADDR = (void *(__cdecl *)(int,int,PDATAMESSAGE))Startup(PORTVEC);;
|
PORTVEC->PORT_EXT_ADDR = Routine;
|
||||||
|
|
||||||
if (PORTVEC->PORT_EXT_ADDR == 0)
|
|
||||||
{
|
|
||||||
WritetoConsoleLocal("Driver Initialisation failed\n");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID EXTTX(PEXTPORTDATA PORTVEC, MESSAGE * Buffer)
|
VOID EXTTX(PEXTPORTDATA PORTVEC, MESSAGE * Buffer)
|
||||||
|
@ -377,7 +372,7 @@ VOID EXTTX(PEXTPORTDATA PORTVEC, MESSAGE * Buffer)
|
||||||
|
|
||||||
if (PORT->KISSFLAGS == 255) // Used for BAYCOM
|
if (PORT->KISSFLAGS == 255) // Used for BAYCOM
|
||||||
{
|
{
|
||||||
PORTVEC->PORT_EXT_ADDR(2, PORT->PORTNUMBER, (PDATAMESSAGE)Buffer);
|
PORTVEC->PORT_EXT_ADDR(2, PORT->PORTNUMBER, Buffer);
|
||||||
|
|
||||||
return; // Baycom driver passes frames to trace once sent
|
return; // Baycom driver passes frames to trace once sent
|
||||||
}
|
}
|
||||||
|
@ -393,7 +388,7 @@ VOID EXTTX(PEXTPORTDATA PORTVEC, MESSAGE * Buffer)
|
||||||
Buffer->Linkptr = 0; // CLEAR FLAG FROM BUFFER
|
Buffer->Linkptr = 0; // CLEAR FLAG FROM BUFFER
|
||||||
}
|
}
|
||||||
|
|
||||||
PORTVEC->PORT_EXT_ADDR(2, PORT->PORTNUMBER, (PDATAMESSAGE)Buffer);
|
PORTVEC->PORT_EXT_ADDR(2, PORT->PORTNUMBER, Buffer);
|
||||||
|
|
||||||
if (PORT->PROTOCOL == 10 && PORT->TNC && PORT->TNC->Hardware != H_KISSHF)
|
if (PORT->PROTOCOL == 10 && PORT->TNC && PORT->TNC->Hardware != H_KISSHF)
|
||||||
{
|
{
|
||||||
|
@ -423,7 +418,7 @@ Loop:
|
||||||
if (Message == NULL)
|
if (Message == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Len = (size_t)PORTVEC->PORT_EXT_ADDR(1, PORT->PORTNUMBER, (PDATAMESSAGE)Message);
|
Len = (size_t)PORTVEC->PORT_EXT_ADDR(1, PORT->PORTNUMBER, Message);
|
||||||
|
|
||||||
if (Len == 0)
|
if (Len == 0)
|
||||||
{
|
{
|
||||||
|
@ -507,9 +502,7 @@ VOID EXTSLOWTIMER(PEXTPORTDATA PORTVEC)
|
||||||
|
|
||||||
size_t EXTTXCHECK(PEXTPORTDATA PORTVEC, int Chan)
|
size_t EXTTXCHECK(PEXTPORTDATA PORTVEC, int Chan)
|
||||||
{
|
{
|
||||||
uintptr_t Temp = Chan;
|
return (size_t)PORTVEC->PORT_EXT_ADDR(3, PORTVEC->PORTCONTROL.PORTNUMBER, Chan);
|
||||||
|
|
||||||
return (size_t)PORTVEC->PORT_EXT_ADDR(3, PORTVEC->PORTCONTROL.PORTNUMBER, (void *)Temp);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID PostDataAvailable(TRANSPORTENTRY * Session)
|
VOID PostDataAvailable(TRANSPORTENTRY * Session)
|
||||||
|
@ -585,8 +578,8 @@ extern VOID HDLCTXCHECK();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern VOID KISSINIT(), KISSTX(), KISSRX(), KISSTIMER(), KISSCLOSE();
|
extern VOID KISSINIT(), KISSTX(), KISSRX(), KISSTIMER(), KISSCLOSE();
|
||||||
extern VOID EXTINIT(PEXTPORTDATA PORTVEC), EXTTX(PEXTPORTDATA PORTVEC, MESSAGE * Buffer), LINKRX(), EXTRX(PEXTPORTDATA PORTVEC);
|
extern VOID EXTINIT(), EXTTX(), LINKRX(), EXTRX();
|
||||||
extern VOID LINKCLOSE(), EXTCLOSE() ,LINKTIMER(), EXTTIMER(PEXTPORTDATA PORTVEC);
|
extern VOID LINKCLOSE(), EXTCLOSE() ,LINKTIMER(), EXTTIMER();
|
||||||
|
|
||||||
// VECTORS TO HARDWARE DEPENDENT ROUTINES
|
// VECTORS TO HARDWARE DEPENDENT ROUTINES
|
||||||
|
|
||||||
|
@ -616,7 +609,7 @@ extern int L4TimerProc();
|
||||||
extern int L3FastTimer();
|
extern int L3FastTimer();
|
||||||
extern int StatsTimer();
|
extern int StatsTimer();
|
||||||
extern int COMMANDHANDLER();
|
extern int COMMANDHANDLER();
|
||||||
VOID SDETX(struct _LINKTABLE * LINK);
|
extern int SDETX();
|
||||||
extern int L4BG();
|
extern int L4BG();
|
||||||
extern int L3BG();
|
extern int L3BG();
|
||||||
extern int TNCTimerProc();
|
extern int TNCTimerProc();
|
||||||
|
@ -635,7 +628,7 @@ BOOL Start()
|
||||||
APPLCALLS * APPL;
|
APPLCALLS * APPL;
|
||||||
struct ROUTE * ROUTE;
|
struct ROUTE * ROUTE;
|
||||||
struct DEST_LIST * DEST;
|
struct DEST_LIST * DEST;
|
||||||
struct CMDX * CMD;
|
CMDX * CMD;
|
||||||
int PortSlot = 1;
|
int PortSlot = 1;
|
||||||
uintptr_t int3;
|
uintptr_t int3;
|
||||||
|
|
||||||
|
@ -2349,7 +2342,7 @@ L2Packet:
|
||||||
PORT->L2FRAMESSENT++;
|
PORT->L2FRAMESSENT++;
|
||||||
OutOctets[PORT->PORTNUMBER] += Buffer->LENGTH - MSGHDDRLEN;
|
OutOctets[PORT->PORTNUMBER] += Buffer->LENGTH - MSGHDDRLEN;
|
||||||
|
|
||||||
PORT->PORTTXROUTINE((struct _EXTPORTDATA *)PORT, Buffer);
|
PORT->PORTTXROUTINE(PORT, Buffer);
|
||||||
Sent++;
|
Sent++;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
@ -2395,7 +2388,7 @@ PACTORLOOP:
|
||||||
PORT->L2FRAMESSENT++;
|
PORT->L2FRAMESSENT++;
|
||||||
OutOctets[PORT->PORTNUMBER] += Message->LENGTH;
|
OutOctets[PORT->PORTNUMBER] += Message->LENGTH;
|
||||||
|
|
||||||
PORT->PORTTXROUTINE((struct _EXTPORTDATA *)PORT, Buffer);
|
PORT->PORTTXROUTINE(PORT, Buffer);
|
||||||
Sent++;
|
Sent++;
|
||||||
|
|
||||||
if (Sent < 5)
|
if (Sent < 5)
|
||||||
|
@ -2408,7 +2401,7 @@ ENDOFLIST:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
PORT->PORTRXROUTINE((struct _EXTPORTDATA *)PORT); // SEE IF MESSAGE RECEIVED
|
PORT->PORTRXROUTINE(PORT); // SEE IF MESSAGE RECEIVED
|
||||||
PORT = PORT->PORTPOINTER;
|
PORT = PORT->PORTPOINTER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -208,6 +208,10 @@ VOID md5(char *arg, unsigned char * checksum);
|
||||||
int APIENTRY SendRaw(int port, char * msg, int len);
|
int APIENTRY SendRaw(int port, char * msg, int len);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
BOOL MySetDlgItemText();
|
||||||
|
|
||||||
VOID OutputDebugString(char * string);
|
VOID OutputDebugString(char * string);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
56
config.c
56
config.c
|
@ -649,7 +649,7 @@ BOOL ProcessConfig()
|
||||||
if (LOCATOR[0] == 0 && LocSpecified == 0 && RFOnly == 0)
|
if (LOCATOR[0] == 0 && LocSpecified == 0 && RFOnly == 0)
|
||||||
{
|
{
|
||||||
Consoleprintf("");
|
Consoleprintf("");
|
||||||
Consoleprintf("Please enter a LOCATOR statement in your BPQ32.cfg");
|
Consoleprintf("Please enter a LOCATOR statment in your BPQ32.cfg");
|
||||||
Consoleprintf("If you really don't want to be on the Node Map you can enter LOCATOR=NONE");
|
Consoleprintf("If you really don't want to be on the Node Map you can enter LOCATOR=NONE");
|
||||||
Consoleprintf("");
|
Consoleprintf("");
|
||||||
|
|
||||||
|
@ -1755,7 +1755,8 @@ int tncports(int i)
|
||||||
/* FIND OCCURENCE OF ONE STRING WITHIN ANOTHER */
|
/* FIND OCCURENCE OF ONE STRING WITHIN ANOTHER */
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
|
|
||||||
int xindex(char s[], char t[])
|
int xindex(s, t)
|
||||||
|
char s[], t[];
|
||||||
{
|
{
|
||||||
int i, j ,k;
|
int i, j ,k;
|
||||||
|
|
||||||
|
@ -1774,7 +1775,8 @@ int xindex(char s[], char t[])
|
||||||
/* FIND FIRST OCCURENCE OF A CHARACTER THAT IS NOT c */
|
/* FIND FIRST OCCURENCE OF A CHARACTER THAT IS NOT c */
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
|
|
||||||
int verify(char s[], char c)
|
int verify(s, c)
|
||||||
|
char s[], c;
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -2295,7 +2297,10 @@ int decode_port_rec(char * rec)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int doid(int i, char value[], char rec[])
|
int doid(i, value, rec)
|
||||||
|
int i;
|
||||||
|
char value[];
|
||||||
|
char rec[];
|
||||||
{
|
{
|
||||||
unsigned int j;
|
unsigned int j;
|
||||||
for (j = 3;( j < (unsigned int)strlen(rec)+1); j++)
|
for (j = 3;( j < (unsigned int)strlen(rec)+1); j++)
|
||||||
|
@ -2329,7 +2334,10 @@ int doid(int i, char value[], char rec[])
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
int dodll(int i, char value[], char rec[])
|
int dodll(i, value, rec)
|
||||||
|
int i;
|
||||||
|
char value[];
|
||||||
|
char rec[];
|
||||||
{
|
{
|
||||||
unsigned int j;
|
unsigned int j;
|
||||||
|
|
||||||
|
@ -2416,7 +2424,7 @@ int doSerialPortName(int i, char * value, char * rec)
|
||||||
if (IsNumeric(rec))
|
if (IsNumeric(rec))
|
||||||
xxp.IOADDR = atoi(rec);
|
xxp.IOADDR = atoi(rec);
|
||||||
else
|
else
|
||||||
xxp.SerialPortName = _strdup(rec);
|
xxp.SerialPortName = strdup(rec);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -2449,7 +2457,10 @@ int doKissCommand(int i, char * value, char * rec)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int hwtypes(int i, char value[], char rec[])
|
int hwtypes(i, value, rec)
|
||||||
|
int i;
|
||||||
|
char value[];
|
||||||
|
char rec[];
|
||||||
{
|
{
|
||||||
hw = 255;
|
hw = 255;
|
||||||
if (_stricmp(value,"ASYNC") == 0)
|
if (_stricmp(value,"ASYNC") == 0)
|
||||||
|
@ -2532,7 +2543,10 @@ int hwtypes(int i, char value[], char rec[])
|
||||||
|
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
int protocols(int i, char value[], char rec[])
|
int protocols(i, value, rec)
|
||||||
|
int i;
|
||||||
|
char value[];
|
||||||
|
char rec[];
|
||||||
{
|
{
|
||||||
int hw;
|
int hw;
|
||||||
|
|
||||||
|
@ -2566,7 +2580,10 @@ int protocols(int i, char value[], char rec[])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int bbsflag(int i, char value[],char rec[])
|
int bbsflag(i, value, rec)
|
||||||
|
int i;
|
||||||
|
char value[];
|
||||||
|
char rec[];
|
||||||
{
|
{
|
||||||
int hw=255;
|
int hw=255;
|
||||||
|
|
||||||
|
@ -2617,7 +2634,10 @@ int validcalls(int i, char * value, char * rec)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int kissoptions(int i, char value[], char rec[])
|
int kissoptions(i, value, rec)
|
||||||
|
int i;
|
||||||
|
char value[];
|
||||||
|
char rec[];
|
||||||
{
|
{
|
||||||
int err=255;
|
int err=255;
|
||||||
|
|
||||||
|
@ -2669,19 +2689,7 @@ static int troutine[] =
|
||||||
|
|
||||||
#define TPARAMLIM 6
|
#define TPARAMLIM 6
|
||||||
|
|
||||||
|
extern CMDX TNCCOMMANDLIST[];
|
||||||
typedef struct _TCMDX
|
|
||||||
{
|
|
||||||
char String[12]; // COMMAND STRING
|
|
||||||
UCHAR CMDLEN; // SIGNIFICANT LENGTH
|
|
||||||
VOID (* CMDPROC)(struct TNCDATA * TNC, char * Tail, struct _TCMDX * CMD);// COMMAND PROCESSOR
|
|
||||||
size_t CMDFLAG; // FLAG/VALUE Offset
|
|
||||||
|
|
||||||
} TCMDX;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
extern TCMDX TNCCOMMANDLIST[];
|
|
||||||
extern int NUMBEROFTNCCOMMANDS;
|
extern int NUMBEROFTNCCOMMANDS;
|
||||||
|
|
||||||
int decode_tnc_rec(char * rec)
|
int decode_tnc_rec(char * rec)
|
||||||
|
@ -2758,7 +2766,7 @@ int decode_tnc_rec(char * rec)
|
||||||
// Try process as TNC2 Command
|
// Try process as TNC2 Command
|
||||||
|
|
||||||
int n = 0;
|
int n = 0;
|
||||||
TCMDX * CMD = &TNCCOMMANDLIST[0];
|
CMDX * CMD = &TNCCOMMANDLIST[0];
|
||||||
char * ptr1 = key_word;
|
char * ptr1 = key_word;
|
||||||
UCHAR * valueptr;
|
UCHAR * valueptr;
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,3 @@
|
||||||
linbpq (6.0.24.54+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium
|
|
||||||
|
|
||||||
* New Upstream
|
|
||||||
* Drop AGW Patch
|
|
||||||
* Drop Spelling Patch
|
|
||||||
* Drop Dynamic Links patch
|
|
||||||
|
|
||||||
-- Dave Hibberd <hibby@debian.org> Tue, 17 Dec 2024 16:46:05 +0000
|
|
||||||
|
|
||||||
linbpq (6.0.24.53+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium
|
linbpq (6.0.24.53+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream
|
* New upstream
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
--- a/LinBPQ.c
|
||||||
|
+++ b/LinBPQ.c
|
||||||
|
@@ -717,7 +717,7 @@
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
-#include "getopt.h"
|
||||||
|
+#include <getopt.h>
|
||||||
|
|
||||||
|
static struct option long_options[] =
|
||||||
|
{
|
||||||
|
--- a/DRATS.c
|
||||||
|
+++ b/DRATS.c
|
||||||
|
@@ -563,7 +563,7 @@
|
||||||
|
#define ZEXPORT __stdcall
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#include "zlib.h"
|
||||||
|
+#include <zlib.h>
|
||||||
|
|
||||||
|
|
||||||
|
int doinflate(unsigned char * source, unsigned char * dest, int Len, int destlen, int * outLen)
|
||||||
|
--- a/HTTPcode.c
|
||||||
|
+++ b/HTTPcode.c
|
||||||
|
@@ -38,7 +38,7 @@
|
||||||
|
#define ZEXPORT __stdcall
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#include "zlib.h"
|
||||||
|
+#include <zlib.h>
|
||||||
|
|
||||||
|
#define CKernel
|
||||||
|
#include "httpconnectioninfo.h"
|
||||||
|
--- a/IPCode.c
|
||||||
|
+++ b/IPCode.c
|
||||||
|
@@ -97,8 +97,6 @@
|
||||||
|
|
||||||
|
#include "pcap.h"
|
||||||
|
|
||||||
|
-int pcap_sendpacket(pcap_t *p, u_char *buf, int size);
|
||||||
|
-
|
||||||
|
#ifndef LINBPQ
|
||||||
|
#include "kernelresource.h"
|
||||||
|
LRESULT CALLBACK ResWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
|
|
@ -0,0 +1,33 @@
|
||||||
|
--- a/AGWAPI.c
|
||||||
|
+++ b/AGWAPI.c
|
||||||
|
@@ -128,7 +128,7 @@
|
||||||
|
int AGWGetSessionKey(char * key, struct AGWSocketConnectionInfo * sockptr);
|
||||||
|
int ProcessAGWCommand(struct AGWSocketConnectionInfo * sockptr);
|
||||||
|
int SendDataToAppl(int Stream, byte * Buffer, int Length);
|
||||||
|
-int InternalAGWDecodeFrame(char * msg, char * buffer, int Stamp, int * FrameType, int useLocalTime, int doNodes);
|
||||||
|
+int InternalAGWDecodeFrame(char * msg, char * buffer, time_t Stamp, int * FrameType, int useLocalTime, int doNodes);
|
||||||
|
int AGWDataSocket_Disconnect( struct AGWSocketConnectionInfo * sockptr);
|
||||||
|
int SendRawPacket(struct AGWSocketConnectionInfo * sockptr, char *txmsg, int Length);
|
||||||
|
int ShowApps();
|
||||||
|
--- a/bpqmail.h
|
||||||
|
+++ b/bpqmail.h
|
||||||
|
@@ -502,7 +502,7 @@
|
||||||
|
char CMSPass[16]; // For Secure Signon
|
||||||
|
int WebSeqNo;
|
||||||
|
|
||||||
|
- long long TimeLastConnected; //Last connection date */
|
||||||
|
+ time_t TimeLastConnected; //Last connection date */
|
||||||
|
|
||||||
|
char Filler[44 - 8]; // So we can add a few fields wirhout another resize
|
||||||
|
};
|
||||||
|
@@ -695,8 +695,8 @@
|
||||||
|
unsigned char Type;
|
||||||
|
unsigned char changed;
|
||||||
|
unsigned short seen;
|
||||||
|
- long long last_modif;
|
||||||
|
- long long last_seen;
|
||||||
|
+ time_t last_modif;
|
||||||
|
+ time_t last_seen;
|
||||||
|
char first_homebbs[41];
|
||||||
|
char secnd_homebbs[41];
|
||||||
|
char first_zip[9];
|
|
@ -1,2 +1,4 @@
|
||||||
spelling-fixes.patch
|
ftbfs-gcc14.patch
|
||||||
|
spelling-errors.patch
|
||||||
makefile
|
makefile
|
||||||
|
dynamic-links
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- APRSCode.c
|
--- a/APRSCode.c
|
||||||
+++ APRSCode.c
|
+++ b/APRSCode.c
|
||||||
@@ -3674,7 +3674,7 @@
|
@@ -3674,7 +3674,7 @@
|
||||||
if (ptr1)
|
if (ptr1)
|
||||||
*ptr1 = 0;
|
*ptr1 = 0;
|
||||||
|
@ -9,8 +9,8 @@
|
||||||
return TRUE; // Duplicate
|
return TRUE; // Duplicate
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
--- BPQChat.rc
|
--- a/BPQChat.rc
|
||||||
+++ BPQChat.rc
|
+++ b/BPQChat.rc
|
||||||
@@ -162,7 +162,7 @@
|
@@ -162,7 +162,7 @@
|
||||||
WS_VSCROLL
|
WS_VSCROLL
|
||||||
DEFPUSHBUTTON "Save Welcome Message",SAVEWELCOME,140,296,91,14,
|
DEFPUSHBUTTON "Save Welcome Message",SAVEWELCOME,140,296,91,14,
|
||||||
|
@ -20,8 +20,8 @@
|
||||||
IDC_STATIC,9,52,355,24
|
IDC_STATIC,9,52,355,24
|
||||||
END
|
END
|
||||||
|
|
||||||
--- BPQMail.rc
|
--- a/BPQMail.rc
|
||||||
+++ BPQMail.rc
|
+++ b/BPQMail.rc
|
||||||
@@ -1045,7 +1045,7 @@
|
@@ -1045,7 +1045,7 @@
|
||||||
CONTROL "Delete Log and Message Files to Recycle Bin",
|
CONTROL "Delete Log and Message Files to Recycle Bin",
|
||||||
IDC_DELETETORECYCLE,"Button",BS_AUTOCHECKBOX |
|
IDC_DELETETORECYCLE,"Button",BS_AUTOCHECKBOX |
|
||||||
|
@ -31,8 +31,8 @@
|
||||||
IDC_MAINTNOMAIL,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
|
IDC_MAINTNOMAIL,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
|
||||||
BS_MULTILINE | WS_TABSTOP,5,182,115,20
|
BS_MULTILINE | WS_TABSTOP,5,182,115,20
|
||||||
CONTROL "Generate Traffic Report",IDC_MAINTTRAFFIC,"Button",
|
CONTROL "Generate Traffic Report",IDC_MAINTTRAFFIC,"Button",
|
||||||
--- HanksRT.c
|
--- a/HanksRT.c
|
||||||
+++ HanksRT.c
|
+++ b/HanksRT.c
|
||||||
@@ -1186,7 +1186,7 @@
|
@@ -1186,7 +1186,7 @@
|
||||||
// Duplicate, so discard, but save time
|
// Duplicate, so discard, but save time
|
||||||
|
|
||||||
|
@ -42,8 +42,8 @@
|
||||||
|
|
||||||
return TRUE; // Duplicate
|
return TRUE; // Duplicate
|
||||||
}
|
}
|
||||||
--- RigControl.c
|
--- a/RigControl.c
|
||||||
+++ RigControl.c
|
+++ b/RigControl.c
|
||||||
@@ -8385,7 +8385,7 @@
|
@@ -8385,7 +8385,7 @@
|
||||||
|
|
||||||
switch (Msg[0])
|
switch (Msg[0])
|
||||||
|
@ -53,8 +53,8 @@
|
||||||
|
|
||||||
HLGetFreq(Sock, RIG, sep);
|
HLGetFreq(Sock, RIG, sep);
|
||||||
return 0;
|
return 0;
|
||||||
--- UZ7HODrv.c
|
--- a/UZ7HODrv.c
|
||||||
+++ UZ7HODrv.c
|
+++ b/UZ7HODrv.c
|
||||||
@@ -374,7 +374,7 @@
|
@@ -374,7 +374,7 @@
|
||||||
{
|
{
|
||||||
// Read Freq
|
// Read Freq
|
||||||
|
@ -73,8 +73,8 @@
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
--- WinRPRHelper.c
|
--- a/WinRPRHelper.c
|
||||||
+++ WinRPRHelper.c
|
+++ b/WinRPRHelper.c
|
||||||
@@ -111,7 +111,7 @@
|
@@ -111,7 +111,7 @@
|
||||||
|
|
||||||
if (argc < 3)
|
if (argc < 3)
|
||||||
|
@ -84,8 +84,8 @@
|
||||||
" WinRPRHelper com10 192.168.1.64:4532\r\n\r\n"
|
" WinRPRHelper com10 192.168.1.64:4532\r\n\r\n"
|
||||||
"Press any key to exit\r\n");
|
"Press any key to exit\r\n");
|
||||||
|
|
||||||
--- config.c
|
--- a/config.c
|
||||||
+++ config.c
|
+++ b/config.c
|
||||||
@@ -649,7 +649,7 @@
|
@@ -649,7 +649,7 @@
|
||||||
if (LOCATOR[0] == 0 && LocSpecified == 0 && RFOnly == 0)
|
if (LOCATOR[0] == 0 && LocSpecified == 0 && RFOnly == 0)
|
||||||
{
|
{
|
||||||
|
@ -95,8 +95,8 @@
|
||||||
Consoleprintf("If you really don't want to be on the Node Map you can enter LOCATOR=NONE");
|
Consoleprintf("If you really don't want to be on the Node Map you can enter LOCATOR=NONE");
|
||||||
Consoleprintf("");
|
Consoleprintf("");
|
||||||
|
|
||||||
--- kiss.c
|
--- a/kiss.c
|
||||||
+++ kiss.c
|
+++ b/kiss.c
|
||||||
@@ -1485,7 +1485,7 @@
|
@@ -1485,7 +1485,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -106,8 +106,8 @@
|
||||||
KISS->POLLPOINTER->OURCTRL, (Port->RXMSG[0] & 0xf0));
|
KISS->POLLPOINTER->OURCTRL, (Port->RXMSG[0] & 0xf0));
|
||||||
|
|
||||||
goto SeeifMore; // SEE IF ANYTHING ELSE
|
goto SeeifMore; // SEE IF ANYTHING ELSE
|
||||||
--- templatedefs.c
|
--- a/templatedefs.c
|
||||||
+++ templatedefs.c
|
+++ b/templatedefs.c
|
||||||
@@ -1165,7 +1165,7 @@
|
@@ -1165,7 +1165,7 @@
|
||||||
"Send Non-delivery Notifications<br>\r\n"
|
"Send Non-delivery Notifications<br>\r\n"
|
||||||
"for P and T messages <input %sname=\"SendND\" value=\"SendND\" type=\"checkbox\" /><br>\r\n"
|
"for P and T messages <input %sname=\"SendND\" value=\"SendND\" type=\"checkbox\" /><br>\r\n"
|
||||||
|
@ -126,8 +126,8 @@
|
||||||
|
|
||||||
"<br><br>The Callsign of the Chat Node is not defined here - it is obtained from the bpq32.cfg APPLICATION line corresponding to the Chat Appl Number.<br>\r\n"
|
"<br><br>The Callsign of the Chat Node is not defined here - it is obtained from the bpq32.cfg APPLICATION line corresponding to the Chat Appl Number.<br>\r\n"
|
||||||
"<br></div>\n"
|
"<br></div>\n"
|
||||||
--- WebMail.c
|
--- a/WebMail.c
|
||||||
+++ WebMail.c
|
+++ b/WebMail.c
|
||||||
@@ -2020,7 +2020,7 @@
|
@@ -2020,7 +2020,7 @@
|
||||||
"document.getElementById('myform').action = '/WebMail/QuoteOriginal' + '?%s';"
|
"document.getElementById('myform').action = '/WebMail/QuoteOriginal' + '?%s';"
|
||||||
" document.getElementById('myform').submit();}</script>"
|
" document.getElementById('myform').submit();}</script>"
|
|
@ -1,11 +0,0 @@
|
||||||
--- a/UZ7HODrv.c
|
|
||||||
+++ b/UZ7HODrv.c
|
|
||||||
@@ -382,7 +382,7 @@
|
|
||||||
|
|
||||||
if (AGW->CenterFreq == 0)
|
|
||||||
{
|
|
||||||
- buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Invalid Modem Freqency\r");
|
|
||||||
+ buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Invalid Modem Frequency\r");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
2
kiss.c
2
kiss.c
|
@ -1485,7 +1485,7 @@ SeeifMore:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Debugprintf("Polled KISS - response from wrong address - Polled %d Response %d",
|
Debugprintf("Polled KISS - response from wrong address - Polled %d Reponse %d",
|
||||||
KISS->POLLPOINTER->OURCTRL, (Port->RXMSG[0] & 0xf0));
|
KISS->POLLPOINTER->OURCTRL, (Port->RXMSG[0] & 0xf0));
|
||||||
|
|
||||||
goto SeeifMore; // SEE IF ANYTHING ELSE
|
goto SeeifMore; // SEE IF ANYTHING ELSE
|
||||||
|
|
|
@ -38,7 +38,7 @@ typedef struct MailAPI
|
||||||
{
|
{
|
||||||
char *URL;
|
char *URL;
|
||||||
int URLLen;
|
int URLLen;
|
||||||
int (* APIRoutine)(struct HTTPConnectionInfo * Session, char * response, char * Rest, int Auth);
|
int (* APIRoutine)();
|
||||||
int Auth;
|
int Auth;
|
||||||
} MailAPI;
|
} MailAPI;
|
||||||
|
|
||||||
|
@ -1100,13 +1100,8 @@ int unroutableCount = 0;
|
||||||
ptr += sprintf(ptr, "\"location\": \"%s\",\r\n", ourBBSRec->Address);
|
ptr += sprintf(ptr, "\"location\": \"%s\",\r\n", ourBBSRec->Address);
|
||||||
ptr += sprintf(ptr, "\"unroutable\": %s\r\n}\r\n", Unroutables);
|
ptr += sprintf(ptr, "\"unroutable\": %s\r\n}\r\n", Unroutables);
|
||||||
|
|
||||||
#ifdef LINBPQ
|
|
||||||
SendWebRequest("packetnodes.spots.radio", Request, Params, 0);
|
SendWebRequest("packetnodes.spots.radio", Request, Params, 0);
|
||||||
#else
|
|
||||||
pSendWebRequest("packetnodes.spots.radio", Request, Params, 0);
|
|
||||||
#endif
|
|
||||||
free(Messages);
|
free(Messages);
|
||||||
free(Unroutables);
|
free(Unroutables);
|
||||||
free(Params);
|
free(Params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
26
md5.c
26
md5.c
|
@ -74,14 +74,17 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
surprised if they were a performance bottleneck for MD5. */
|
surprised if they were a performance bottleneck for MD5. */
|
||||||
|
|
||||||
static cvs_uint32
|
static cvs_uint32
|
||||||
getu32(const unsigned char *addr)
|
getu32 (addr)
|
||||||
|
const unsigned char *addr;
|
||||||
{
|
{
|
||||||
return (((((uint32_t)addr[3] << 8) | addr[2]) << 8)
|
return (((((uint32_t)addr[3] << 8) | addr[2]) << 8)
|
||||||
| addr[1]) << 8 | addr[0];
|
| addr[1]) << 8 | addr[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
putu32 (cvs_uint32 data, unsigned char *addr)
|
putu32 (data, addr)
|
||||||
|
cvs_uint32 data;
|
||||||
|
unsigned char *addr;
|
||||||
{
|
{
|
||||||
addr[0] = (unsigned char)data;
|
addr[0] = (unsigned char)data;
|
||||||
addr[1] = (unsigned char)(data >> 8);
|
addr[1] = (unsigned char)(data >> 8);
|
||||||
|
@ -94,7 +97,8 @@ putu32 (cvs_uint32 data, unsigned char *addr)
|
||||||
* initialization constants.
|
* initialization constants.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
cvs_MD5Init (struct cvs_MD5Context *ctx)
|
cvs_MD5Init (ctx)
|
||||||
|
struct cvs_MD5Context *ctx;
|
||||||
{
|
{
|
||||||
ctx->buf[0] = 0x67452301;
|
ctx->buf[0] = 0x67452301;
|
||||||
ctx->buf[1] = 0xefcdab89;
|
ctx->buf[1] = 0xefcdab89;
|
||||||
|
@ -110,8 +114,10 @@ cvs_MD5Init (struct cvs_MD5Context *ctx)
|
||||||
* of bytes.
|
* of bytes.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
cvs_MD5Update (
|
cvs_MD5Update (ctx, buf, len)
|
||||||
struct cvs_MD5Context *ctx, unsigned char const *buf, unsigned len)
|
struct cvs_MD5Context *ctx;
|
||||||
|
unsigned char const *buf;
|
||||||
|
unsigned len;
|
||||||
{
|
{
|
||||||
cvs_uint32 t;
|
cvs_uint32 t;
|
||||||
|
|
||||||
|
@ -158,7 +164,10 @@ cvs_MD5Update (
|
||||||
* Final wrapup - pad to 64-byte boundary with the bit pattern
|
* Final wrapup - pad to 64-byte boundary with the bit pattern
|
||||||
* 1 0* (64-bit count of bits processed, MSB-first)
|
* 1 0* (64-bit count of bits processed, MSB-first)
|
||||||
*/
|
*/
|
||||||
void cvs_MD5Final (unsigned char digest[16], struct cvs_MD5Context *ctx)
|
void
|
||||||
|
cvs_MD5Final (digest, ctx)
|
||||||
|
unsigned char digest[16];
|
||||||
|
struct cvs_MD5Context *ctx;
|
||||||
{
|
{
|
||||||
unsigned count;
|
unsigned count;
|
||||||
unsigned char *p;
|
unsigned char *p;
|
||||||
|
@ -218,7 +227,10 @@ void cvs_MD5Final (unsigned char digest[16], struct cvs_MD5Context *ctx)
|
||||||
* reflect the addition of 16 longwords of new data. MD5Update blocks
|
* reflect the addition of 16 longwords of new data. MD5Update blocks
|
||||||
* the data and converts bytes into longwords for this routine.
|
* the data and converts bytes into longwords for this routine.
|
||||||
*/
|
*/
|
||||||
void cvs_MD5Transform (cvs_uint32 buf[4], const unsigned char inraw[64])
|
void
|
||||||
|
cvs_MD5Transform (buf, inraw)
|
||||||
|
cvs_uint32 buf[4];
|
||||||
|
const unsigned char inraw[64];
|
||||||
{
|
{
|
||||||
register cvs_uint32 a, b, c, d;
|
register cvs_uint32 a, b, c, d;
|
||||||
cvs_uint32 in[16];
|
cvs_uint32 in[16];
|
||||||
|
|
56
mqtt.c
56
mqtt.c
|
@ -317,60 +317,7 @@ int MQTTConnect(char* host, int port, char* user, char* pass)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Message Database Entry. Designed to be compatible with FBB
|
/*
|
||||||
|
|
||||||
#define NBBBS 160 // Max BBSes we can forward to. Must be Multiple of 8, and must be 80 for FBB compatibliliy
|
|
||||||
#define NBMASK NBBBS/8 // Number of bytes in Forward bitlists.
|
|
||||||
|
|
||||||
#pragma pack(1)
|
|
||||||
|
|
||||||
struct MsgInfo
|
|
||||||
{
|
|
||||||
char type;
|
|
||||||
char status;
|
|
||||||
int number;
|
|
||||||
int length;
|
|
||||||
int xdatereceived;
|
|
||||||
char bbsfrom[7]; // ? BBS we got it from ?
|
|
||||||
char via[41];
|
|
||||||
char from[7];
|
|
||||||
char to[7];
|
|
||||||
char bid[13];
|
|
||||||
char title[61];
|
|
||||||
int nntpnum; // Number within topic (ie Bull TO Addr) - used for nntp
|
|
||||||
|
|
||||||
UCHAR B2Flags; // Not all flags specific to B2
|
|
||||||
|
|
||||||
#define B2Msg 1 // Set if Message File is a formatted B2 message
|
|
||||||
#define Attachments 2 // Set if B2 message has attachments
|
|
||||||
#define FromPaclink 4
|
|
||||||
#define FromCMS 8
|
|
||||||
#define FromRMSExpress 16
|
|
||||||
#define RadioOnlyMsg 32 // Received using call-T
|
|
||||||
#define RadioOnlyFwd 64 // Received using call-R
|
|
||||||
#define WarnNotForwardedSent 128
|
|
||||||
|
|
||||||
int xdatecreated;
|
|
||||||
int xdatechanged;
|
|
||||||
UCHAR fbbs[NBMASK];
|
|
||||||
UCHAR forw[NBMASK];
|
|
||||||
char emailfrom[41];
|
|
||||||
char Locked; // Set if selected for sending (NTS Pickup)
|
|
||||||
char Defered; // FBB response '=' received
|
|
||||||
UCHAR UTF8; // Set if Message is in UTF8 (ie from POP/SMTP)
|
|
||||||
|
|
||||||
// For 64 bit time_t compatibility define as long long
|
|
||||||
// (so struct is same with 32 or 64 bit time_t)
|
|
||||||
|
|
||||||
int64_t datereceived;
|
|
||||||
int64_t datecreated;
|
|
||||||
int64_t datechanged;
|
|
||||||
|
|
||||||
char Spare[61 - 24]; // For future use
|
|
||||||
} ;
|
|
||||||
|
|
||||||
#pragma pack()
|
|
||||||
|
|
||||||
void MQTTMessageEvent(void* message)
|
void MQTTMessageEvent(void* message)
|
||||||
{
|
{
|
||||||
struct MsgInfo* msg = (struct MsgInfo *)message;
|
struct MsgInfo* msg = (struct MsgInfo *)message;
|
||||||
|
@ -413,6 +360,7 @@ void MQTTMessageEvent(void* message)
|
||||||
|
|
||||||
MQTTAsync_sendMessage(client, topic, &pubmsg, &opts);
|
MQTTAsync_sendMessage(client, topic, &pubmsg, &opts);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ typedef struct API
|
||||||
{
|
{
|
||||||
char *URL;
|
char *URL;
|
||||||
int URLLen;
|
int URLLen;
|
||||||
int (* APIRoutine)(char * response, char * token, char * param);
|
int (* APIRoutine)();
|
||||||
int Auth;
|
int Auth;
|
||||||
} API;
|
} API;
|
||||||
|
|
||||||
|
|
|
@ -211,7 +211,7 @@ png_default_error(png_structp png_ptr, png_const_charp error_message)
|
||||||
#endif
|
#endif
|
||||||
#ifdef PNG_NO_CONSOLE_IO
|
#ifdef PNG_NO_CONSOLE_IO
|
||||||
/* make compiler happy */ ;
|
/* make compiler happy */ ;
|
||||||
// if (&error_message != NULL)
|
if (&error_message != NULL)
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1165,7 +1165,7 @@ char * Housekeepingtxt()
|
||||||
"Send Non-delivery Notifications<br>\r\n"
|
"Send Non-delivery Notifications<br>\r\n"
|
||||||
"for P and T messages <input %sname=\"SendND\" value=\"SendND\" type=\"checkbox\" /><br>\r\n"
|
"for P and T messages <input %sname=\"SendND\" value=\"SendND\" type=\"checkbox\" /><br>\r\n"
|
||||||
" <br />\r\n"
|
" <br />\r\n"
|
||||||
"Suppress Mailing of<br>\r\n"
|
"Supress Mailing of<br>\r\n"
|
||||||
"Housekeeping Result <input %sname=\"NoMail\" value=\"Yes\" type=\"checkbox\"><br><br>\r\n"
|
"Housekeeping Result <input %sname=\"NoMail\" value=\"Yes\" type=\"checkbox\"><br><br>\r\n"
|
||||||
"Generate Traffic Report<input %sname=\"GenTraffic\" value=\"Yes\" type=\"checkbox\"><br><br>\r\n"
|
"Generate Traffic Report<input %sname=\"GenTraffic\" value=\"Yes\" type=\"checkbox\"><br><br>\r\n"
|
||||||
"<div style=\"text-align: center;\"><input class='btn' name=RunNow value=\"Run Housekeeping\" type=submit class='btn'></div>\r\n"
|
"<div style=\"text-align: center;\"><input class='btn' name=RunNow value=\"Run Housekeeping\" type=submit class='btn'></div>\r\n"
|
||||||
|
@ -1454,7 +1454,7 @@ char * ChatConfigtxt()
|
||||||
"<div style=\"text-align: left; width: 680px; margin: auto;\">The Nodes to link to box defines which other Chat Nodes should be connected to, or from which "
|
"<div style=\"text-align: left; width: 680px; margin: auto;\">The Nodes to link to box defines which other Chat Nodes should be connected to, or from which "
|
||||||
"connections may be accepted. The format is ALIAS:CALL, eg BPQCHT:G8BPQ-4. If the node is not directly "
|
"connections may be accepted. The format is ALIAS:CALL, eg BPQCHT:G8BPQ-4. If the node is not directly "
|
||||||
"connectable (ie is not in your NODES table) you can add a connect script. This consists of a series of commands "
|
"connectable (ie is not in your NODES table) you can add a connect script. This consists of a series of commands "
|
||||||
"separared by |, eg NOTCHT:G8BPQ-4|C 3 GM8BPQ-9|CHAT"
|
"seperared by |, eg NOTCHT:G8BPQ-4|C 3 GM8BPQ-9|CHAT"
|
||||||
|
|
||||||
"<br><br>The Callsign of the Chat Node is not defined here - it is obtained from the bpq32.cfg APPLICATION line corresponding to the Chat Appl Number.<br>\r\n"
|
"<br><br>The Callsign of the Chat Node is not defined here - it is obtained from the bpq32.cfg APPLICATION line corresponding to the Chat Appl Number.<br>\r\n"
|
||||||
"<br></div>\n"
|
"<br></div>\n"
|
||||||
|
|
|
@ -814,9 +814,9 @@ typedef struct TNCINFO
|
||||||
HMENU hMenu;
|
HMENU hMenu;
|
||||||
HMENU hWndMenu;
|
HMENU hWndMenu;
|
||||||
|
|
||||||
VOID (* SuspendPortProc) (struct TNCINFO * TNC, struct TNCINFO * ThisTNC);
|
VOID (* SuspendPortProc) ();
|
||||||
VOID (* ReleasePortProc) (struct TNCINFO * TNC);
|
VOID (* ReleasePortProc) ();
|
||||||
VOID (* ForcedCloseProc) (struct TNCINFO * TNC, int Stream);
|
VOID (* ForcedCloseProc) ();
|
||||||
|
|
||||||
time_t WinmorRestartCodecTimer;
|
time_t WinmorRestartCodecTimer;
|
||||||
int WinmorCurrentMode;
|
int WinmorCurrentMode;
|
||||||
|
|
Loading…
Reference in New Issue