Update upstream source from tag 'upstream/6.0.24.40'
Update to upstream version '6.0.24.40'
with Debian dir 5582820246
This commit is contained in:
commit
ca2a16b7fc
|
@ -1 +0,0 @@
|
|||
.pc/
|
|
@ -158,6 +158,7 @@ char MailPage[] = "<html><head><title>%s's BBS Web Server</title>"
|
|||
"<td><a href=/Mail/Wel?%s>Welcome Msgs & Prompts</a></td>"
|
||||
"<td><a href=/Mail/HK?%s>Housekeeping</a></td>"
|
||||
"<td><a href=/Mail/WP?%s>WP Update</a></td>"
|
||||
"<td><a href=/Webmail>WebMail</a></td>"
|
||||
"<td><a href=/>Node Menu</a></td>"
|
||||
"</tr></table>";
|
||||
|
||||
|
@ -178,6 +179,7 @@ char RefreshMainPage[] = "<html><head>"
|
|||
"<td><a href=/Mail/Wel?%s>Welcome Msgs & Prompts</a></td>"
|
||||
"<td><a href=/Mail/HK?%s>Housekeeping</a></td>"
|
||||
"<td><a href=/Mail/WP?%s>WP Update</a></td>"
|
||||
"<td><a href=/Webmail>WebMail</a></td>"
|
||||
"<td><a href=/>Node Menu</a></td>"
|
||||
"</tr></table>";
|
||||
|
||||
|
@ -1887,6 +1889,7 @@ VOID SaveFwdCommon(struct HTTPConnectionInfo * Session, char * MsgPtr, char * Re
|
|||
GetCheckBox(input, "WarnNoRoute=", &WarnNoRoute);
|
||||
GetCheckBox(input, "LocalTime=", &Localtime);
|
||||
GetCheckBox(input, "SendPtoMultiple=", &SendPtoMultiple);
|
||||
GetCheckBox(input, "FourCharCont=", &FOURCHARCONT);
|
||||
|
||||
// Reinitialise Aliases
|
||||
|
||||
|
@ -2716,6 +2719,7 @@ VOID SendFwdMainPage(char * Reply, int * RLen, char * Key)
|
|||
(WarnNoRoute) ? CHKD : UNC,
|
||||
(Localtime) ? CHKD : UNC,
|
||||
(SendPtoMultiple) ? CHKD : UNC,
|
||||
(FOURCHARCONT) ? CHKD : UNC,
|
||||
ALIASES);
|
||||
}
|
||||
|
||||
|
|
|
@ -213,6 +213,7 @@ BOOL UserCantKillT = FALSE;
|
|||
|
||||
typedef int (WINAPI FAR *FARPROCX)();
|
||||
FARPROCX pRunEventProgram;
|
||||
FARPROCX pGetPortFrequency;
|
||||
|
||||
int RunEventProgram(char * Program, char * Param);
|
||||
|
||||
|
@ -9680,6 +9681,7 @@ VOID SaveConfig(char * ConfigName)
|
|||
SaveIntValue(group, "WarnNoRoute", WarnNoRoute);
|
||||
SaveIntValue(group, "Localtime", Localtime);
|
||||
SaveIntValue(group, "SendPtoMultiple", SendPtoMultiple);
|
||||
SaveIntValue(group, "FOURCHARCONT", FOURCHARCONT);
|
||||
|
||||
SaveMultiStringValue(group, "FWDAliases", AliasText);
|
||||
|
||||
|
@ -10116,6 +10118,8 @@ BOOL GetConfig(char * ConfigName)
|
|||
ReaddressReceived = GetIntValue(group, "ReaddressReceived");
|
||||
WarnNoRoute = GetIntValue(group, "WarnNoRoute");
|
||||
SendPtoMultiple = GetIntValue(group, "SendPtoMultiple");
|
||||
FOURCHARCONT = GetIntValue(group, "FOURCHARCONT");
|
||||
|
||||
Localtime = GetIntValue(group, "Localtime");
|
||||
AliasText = GetMultiStringValue(group, "FWDAliases");
|
||||
GetStringValue(group, "BBSName", BBSName);
|
||||
|
@ -10588,8 +10592,24 @@ int Connected(int Stream)
|
|||
|
||||
if (SendNewUserMessage)
|
||||
{
|
||||
int64_t LongFreq = Freq;
|
||||
|
||||
char * MailBuffer = malloc(100);
|
||||
Length += sprintf(MailBuffer, "New User %s Connected to Mailbox on Port %d Freq %d Mode %d\r\n", callsign, port, Freq, Mode);
|
||||
|
||||
if (Freq == 0 && port)
|
||||
{
|
||||
// Get Port Freq if available
|
||||
|
||||
char FreqString[256];
|
||||
|
||||
#ifdef WIN32
|
||||
if (pGetPortFrequency)
|
||||
LongFreq = pGetPortFrequency(port, FreqString);
|
||||
#else
|
||||
LongFreq = GetPortFrequency(port, FreqString);
|
||||
#endif
|
||||
}
|
||||
Length += sprintf(MailBuffer, "New User %s Connected to Mailbox on Port %d Freq %d Mode %ld\r\n", callsign, port, LongFreq, Mode);
|
||||
|
||||
sprintf(Title, "New User %s", callsign);
|
||||
|
||||
|
@ -11754,9 +11774,8 @@ typedef struct _POPENRET
|
|||
*/
|
||||
void run_pgTimeoutThread( pid_t process )
|
||||
{
|
||||
|
||||
printf("watchdog thread: PID of subprocess: %d\n", process);
|
||||
fflush(stdout);
|
||||
// printf("watchdog thread: PID of subprocess: %d\n", process);
|
||||
// fflush(stdout);
|
||||
Sleep(5000);
|
||||
// if still running PID (?) then kill.
|
||||
if ( getpgid(process) >= 0 )
|
||||
|
@ -11768,10 +11787,8 @@ void run_pgTimeoutThread( pid_t process )
|
|||
Debugprintf("Failed to kill PG watchdog Process %d", process);
|
||||
}
|
||||
|
||||
|
||||
Debugprintf("watchdog thread: PID=%d Exit", process);
|
||||
fflush(stdout);
|
||||
//return;
|
||||
// Debugprintf("watchdog thread: PID=%d Exit", process);
|
||||
// fflush(stdout);
|
||||
}
|
||||
|
||||
|
||||
|
@ -12638,7 +12655,6 @@ VOID ProcessLine(CIRCUIT * conn, struct UserInfo * user, char* Buffer, int len)
|
|||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
if (_memicmp(Cmd, "Node", 4) == 0)
|
||||
{
|
||||
ExpandAndSendMessage(conn, SignoffMsg, LOG_BBS);
|
||||
|
@ -15757,7 +15773,9 @@ VOID GetPGConfig()
|
|||
strcat(FN, "PG/PGList.txt");
|
||||
|
||||
if ((file = fopen(FN, "r")) == NULL)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
while(fgets(buf, 255, file) != NULL)
|
||||
{
|
||||
|
@ -15785,6 +15803,7 @@ VOID GetPGConfig()
|
|||
break;
|
||||
}
|
||||
|
||||
|
||||
NUM_SERVERS = n;
|
||||
fclose(file);
|
||||
|
||||
|
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="LAPTOP-Q6S4RP5Q"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="LAPTOP-Q6S4RP5Q"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="SKIGACER"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="SKIGACER"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
BIN
BPQMail.aps
BIN
BPQMail.aps
Binary file not shown.
|
@ -1133,6 +1133,10 @@
|
|||
// Fix possible failure to update last listed count when user disconnects without using B command
|
||||
// Add short random delay (<30 secs) when forward new Messages immediately is enabled (35)
|
||||
// Fix Connect Script IDLETIME (38)
|
||||
// Add "Mail Mgmt" to Webmail menu bar and "WebMail" to Mail Mgmt Menu (39)
|
||||
// Improve "New User" frequency determination (39)
|
||||
// Allow selection of 2 or 4 character country codes for forward processing (39)
|
||||
// Fix Send P to multiple BBS's when routing on HR (40)
|
||||
|
||||
#include "bpqmail.h"
|
||||
#include "winstdint.h"
|
||||
|
@ -1150,6 +1154,7 @@ FARPROCX pDllBPQTRACE;
|
|||
FARPROCZ pGetLOC;
|
||||
FARPROCX pRefreshWebMailIndex;
|
||||
FARPROCX pRunEventProgram;
|
||||
FARPROCX pGetPortFrequency;
|
||||
|
||||
BOOL WINE = FALSE;
|
||||
|
||||
|
@ -1924,6 +1929,8 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
|
|||
pGetLOC = GetProcAddress(ExtDriver,"_GetLOC@0");
|
||||
pRefreshWebMailIndex = GetProcAddress(ExtDriver,"_RefreshWebMailIndex@0");
|
||||
pRunEventProgram = GetProcAddress(ExtDriver,"_RunEventProgram@8");
|
||||
pGetPortFrequency = GetProcAddress(ExtDriver,"_GetPortFrequency@8");
|
||||
|
||||
|
||||
if (pGetLOC)
|
||||
{
|
||||
|
|
11
BPQMail.rc
11
BPQMail.rc
|
@ -387,16 +387,16 @@ BEGIN
|
|||
CONTROL "Warn if no route for P or T",IDC_WARNNOROUTE,"Button",
|
||||
BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_MULTILINE |
|
||||
WS_TABSTOP,5,101,103,8
|
||||
LTEXT "Aliases",IDC_STATIC,5,144,57,13
|
||||
EDITTEXT IDC_ALIAS,4,162,99,81,ES_MULTILINE | ES_UPPERCASE |
|
||||
LTEXT "Aliases",IDC_STATIC,5,165,57,13
|
||||
EDITTEXT IDC_ALIAS,4,183,99,81,ES_MULTILINE | ES_UPPERCASE |
|
||||
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN |
|
||||
WS_VSCROLL
|
||||
CONTROL "Readdress Locally Input",IDC_READDRESSLOCAL,"Button",
|
||||
BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_MULTILINE |
|
||||
WS_DISABLED | WS_TABSTOP,4,246,97,8
|
||||
WS_DISABLED | WS_TABSTOP,4,267,97,8
|
||||
CONTROL "Readdress Received",IDC_READDRESSRXED,"Button",
|
||||
BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_MULTILINE |
|
||||
WS_DISABLED | WS_TABSTOP,4,260,97,8
|
||||
WS_DISABLED | WS_TABSTOP,4,281,97,8
|
||||
GROUPBOX "Per-BBS Params",IDC_STATIC,121,33,326,263
|
||||
LTEXT "BBS",IDC_STATIC,128,46,57,10
|
||||
COMBOBOX IDC_BBS,122,59,50,60,CBS_SIMPLE | CBS_OEMCONVERT |
|
||||
|
@ -471,6 +471,9 @@ BEGIN
|
|||
WS_TABSTOP,5,130,103,8
|
||||
LTEXT "Incoming Connect Timeout",IDC_STATIC,125,278,95,12
|
||||
EDITTEXT IDC_CONTIMEOUT,219,276,22,12,ES_AUTOHSCROLL
|
||||
CONTROL "Use 4 Char Continent Codes",IDC_FOURCHARCONTINENT,
|
||||
"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_MULTILINE |
|
||||
WS_TABSTOP,6,146,103,8
|
||||
END
|
||||
|
||||
IDD_USERADDED_BOX DIALOG DISCARDABLE 176, 132, 129, 68
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
# Visual C++ Express 2005
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BPQMail", "BPQMail.vcproj", "{3766AA10-C777-4ED8-A83D-F1452DE9B665}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3766AA10-C777-4ED8-A83D-F1452DE9B665}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{3766AA10-C777-4ED8-A83D-F1452DE9B665}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{3766AA10-C777-4ED8-A83D-F1452DE9B665}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{3766AA10-C777-4ED8-A83D-F1452DE9B665}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="SKIGACER"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="SKIGACER"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
</Project>
|
|
@ -1867,6 +1867,7 @@ VOID SaveFWDConfig(HWND hDlg)
|
|||
MaxRXSize = GetDlgItemInt(hDlg, IDC_MAXRECV, &OK, FALSE);
|
||||
MaxAge = GetDlgItemInt(hDlg, IDC_MAXAGE, &OK, FALSE);
|
||||
SendPtoMultiple = IsDlgButtonChecked(hDlg, IDC_MULTIP);
|
||||
FOURCHARCONT = IsDlgButtonChecked(hDlg, IDC_FOURCHARCONTINENT);
|
||||
|
||||
|
||||
// Reinitialise Aliases
|
||||
|
@ -3249,6 +3250,7 @@ INT_PTR CALLBACK FwdEditDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARA
|
|||
CheckDlgButton(hDlg, IDC_WARNNOROUTE, WarnNoRoute);
|
||||
CheckDlgButton(hDlg, IDC_USELOCALTIME, Localtime);
|
||||
CheckDlgButton(hDlg, IDC_MULTIP, SendPtoMultiple);
|
||||
CheckDlgButton(hDlg, IDC_FOURCHARCONTINENT, FOURCHARCONT);
|
||||
|
||||
CurrentBBS = NULL;
|
||||
|
||||
|
|
|
@ -319,6 +319,7 @@
|
|||
#define ID_MULTICAST 40024
|
||||
#define IDC_DEFAULTNOWINLINK 41001
|
||||
#define IDC_MULTIP 41002
|
||||
#define IDC_FOURCHARCONTINENT 41003
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
|
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="LAPTOP-Q6S4RP5Q"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="LAPTOP-Q6S4RP5Q"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
3
Bpq32.c
3
Bpq32.c
|
@ -1217,6 +1217,9 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
|||
// Fix potential buffer overflow in Telnet login (36)
|
||||
// Allow longer serial device names (37)
|
||||
// Fix ICF8101 Mode setting (37)
|
||||
// Kill link if we are getting repeated RR(F) after timeout
|
||||
// (Indicating other station is seeing our RR(P) but not the resent I frame) (40)
|
||||
|
||||
|
||||
|
||||
#define CKernel
|
||||
|
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="C:\Devprogs\BPQ32\bpq32.exe"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="LAPTOP-Q6S4RP5Q"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command=""
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="LAPTOP-Q6S4RP5Q"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="C:\Devprogs\BPQ32\bpq32.exe"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command=""
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="C:\Devprogs\BPQ32\bpq32.exe"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="C:\Devprogs\BPQ32\bpq32.exe"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="C:\DevProgs\BPQ32\bpq32.exe"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="SKIGACER"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="C:\DevProgs\BPQ32\bpq32.exe"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="SKIGACER"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="C:\DevProgs\BPQ32\bpq32.exe"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="SKIGACER"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="C:\DevProgs\BPQ32\bpq32.exe"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="SKIGACER"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
</Project>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory="c:\linbpq"
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor="0"
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="SKIGACER"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="SKIGACER"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LocalDebuggerCommand>c:\linbpq\linbpq.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>c:\linbpq</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
</PropertyGroup>
|
||||
</Project>
|
284
MailRouting.c
284
MailRouting.c
|
@ -29,9 +29,9 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
|||
|
||||
// Bulls should not be distributed outside their designated area.
|
||||
|
||||
// Use 4 char continent codes if this isn't defined
|
||||
// Use 4 char continent codes if this is set
|
||||
|
||||
#define TWOCHARCONT
|
||||
int FOURCHARCONT = 0;
|
||||
|
||||
|
||||
#include "bpqmail.h"
|
||||
|
@ -95,21 +95,21 @@ struct Continent Continents[] =
|
|||
|
||||
struct Country Countries[] =
|
||||
{
|
||||
"AFG", "****", "AS", // Afghanistan
|
||||
"AFG", "ASIA", "AS", // Afghanistan
|
||||
"ALA", "EURO", "EU", // Åland Islands
|
||||
"ALB", "EURO", "EU", // Albania
|
||||
"DZA", "NAFR", "AF", // Algeria
|
||||
"ASM", "****", "AS", // American Samoa
|
||||
"ASM", "ASIA", "AS", // American Samoa
|
||||
"AND", "EURO", "EU", // Andorra
|
||||
"AGO", "CAFR", "AF", // Angola
|
||||
"AIA", "CARB", "NA", // Anguilla
|
||||
"ATG", "CARB", "NA", // Antigua and Barbuda
|
||||
"ARG", "SOAM", "SA", // Argentina
|
||||
"ARM", "****", "AS", // Armenia
|
||||
"ARM", "ASIA", "AS", // Armenia
|
||||
"ABW", "CARB", "NA", // Aruba
|
||||
"AUS", "AUNZ", "OC", // Australia
|
||||
"AUT", "EURO", "EU", // Austria
|
||||
"AZE", "****", "AS", // Azerbaijan
|
||||
"AZE", "ASIA", "AS", // Azerbaijan
|
||||
"BHS", "CARB", "NA", // Bahamas
|
||||
"BHR", "MDLE", "AS", // Bahrain
|
||||
"BGD", "INDE", "AS", // Bangladesh
|
||||
|
@ -122,14 +122,14 @@ struct Country Countries[] =
|
|||
"BTN", "ASIA", "AS", // Bhutan
|
||||
"BOL", "SOAM", "SA", // Bolivia (Plurinational State of)
|
||||
"BIH", "EURO", "EU", // Bosnia and Herzegovina
|
||||
"BWA", "****", "AF", // Botswana
|
||||
"BWA", "SAFR", "AF", // Botswana
|
||||
"BRA", "SOAM", "SA", // Brazil
|
||||
"VGB", "CARB", "NA", // British Virgin Islands
|
||||
"BRN", "ASIA", "AS", // Brunei Darussalam
|
||||
"BGR", "EURO", "EU", // Bulgaria
|
||||
"BFA", "CAFR", "AF", // Burkina Faso
|
||||
"BDI", "CAFR", "AF", // Burundi
|
||||
"KHM", "****", "AS", // Cambodia
|
||||
"KHM", "ASIA", "AS", // Cambodia
|
||||
"CMR", "CAFR", "AF", // Cameroon
|
||||
"CAN", "NOAM", "NA", // Canada
|
||||
"CPV", "NAFR", "AF", // Cape Verde
|
||||
|
@ -137,12 +137,12 @@ struct Country Countries[] =
|
|||
"CAF", "CAFR", "AF", // Central African Republic
|
||||
"TCD", "CAFR", "AF", // Chad
|
||||
"CHL", "SOAM", "SA", // Chile
|
||||
"CHN", "****", "AS", // China
|
||||
"HKG", "****", "AS", // Hong Kong Special Administrative Region of China
|
||||
"MAC", "****", "AS", // Macao Special Administrative Region of China
|
||||
"COL", "****", "SA", // Colombia
|
||||
"CHN", "ASIA", "AS", // China
|
||||
"HKG", "ASIA", "AS", // Hong Kong Special Administrative Region of China
|
||||
"MAC", "ASIA", "AS", // Macao Special Administrative Region of China
|
||||
"COL", "ASIA", "SA", // Colombia
|
||||
"COM", "SAFR", "AF", // Comoros
|
||||
"COG", "****", "AF", // Congo
|
||||
"COG", "CAFR", "AF", // Congo
|
||||
"COK", "SPAC", "OC", // Cook Islands
|
||||
"CRI", "CEAM", "NA", // Costa Rica
|
||||
"CIV", "CAFR", "AF", // Côte d'Ivoire
|
||||
|
@ -150,8 +150,8 @@ struct Country Countries[] =
|
|||
"CUB", "CARB", "NA", // Cuba
|
||||
"CYP", "EURO", "EU", // Cyprus
|
||||
"CZE", "EURO", "EU", // Czech Republic
|
||||
"PRK", "****", "AS", // Democratic People's Republic of Korea
|
||||
"COD", "****", "AF", // Democratic Republic of the Congo
|
||||
"PRK", "ASIA", "AS", // Democratic People's Republic of Korea
|
||||
"COD", "CAFR", "AF", // Democratic Republic of the Congo
|
||||
"DNK", "EURO", "EU", // Denmark
|
||||
"DJI", "NAFR", "AF", // Djibouti
|
||||
"DMA", "CARB", "NA", // Dominica
|
||||
|
@ -160,9 +160,9 @@ struct Country Countries[] =
|
|||
"EGY", "MDLE", "AF", // Egypt
|
||||
"SLV", "CEAM", "NA", // El Salvador
|
||||
"GNQ", "CAFR", "AF", // Equatorial Guinea
|
||||
"ERI", "****", "AF", // Eritrea
|
||||
"ERI", "NAFR", "AF", // Eritrea
|
||||
"EST", "EURO", "EU", // Estonia
|
||||
"ETH", "****", "AF", // Ethiopia
|
||||
"ETH", "NAFR", "AF", // Ethiopia
|
||||
"FRO", "EURO", "EU", // Faeroe Islands
|
||||
"FLK", "SOAM", "SA", // Falkland Islands (Malvinas)
|
||||
"FJI", "SPAC", "OC", // Fiji
|
||||
|
@ -192,7 +192,7 @@ struct Country Countries[] =
|
|||
"HUN", "EURO", "EU", // Hungary
|
||||
"ISL", "EURO", "EU", // Iceland
|
||||
"IND", "INDI", "AS", // India
|
||||
"IDN", "****", "AS", // Indonesia
|
||||
"IDN", "ASIA", "AS", // Indonesia
|
||||
"IRN", "MDLE", "AS", // Iran (Islamic Republic of)
|
||||
"IRQ", "MDLE", "AS", // Iraq
|
||||
"IRL", "EURO", "EU", // Ireland
|
||||
|
@ -200,11 +200,11 @@ struct Country Countries[] =
|
|||
"ISR", "MDLE", "AS", // Israel
|
||||
"ITA", "EURO", "EU", // Italy
|
||||
"JAM", "CEAM", "NA", // Jamaica
|
||||
"JPN", "****", "AS", // Japan
|
||||
"JPN", "ASIA", "AS", // Japan
|
||||
"JEY", "EURO", "EU", // Jersey
|
||||
"JOR", "MDLE", "AS", // Jordan
|
||||
"KAZ", "****", "AS", // Kazakhstan
|
||||
"KEN", "****", "AF", // Kenya
|
||||
"KAZ", "ASIA", "AS", // Kazakhstan
|
||||
"KEN", "CAFR", "AF", // Kenya
|
||||
"KIR", "EPAC", "OC", // Kiribati
|
||||
"KWT", "MDLE", "AS", // Kuwait
|
||||
"KGZ", "ASIA", "AS", // Kyrgyzstan
|
||||
|
@ -228,25 +228,25 @@ struct Country Countries[] =
|
|||
"MRT", "NAFR", "AF", // Mauritania
|
||||
"MUS", "SAFR", "AF", // Mauritius
|
||||
"MYT", "SAFR", "AF", // Mayotte
|
||||
"MEX", "****", "NA", // Mexico
|
||||
"MEX", "NOAM", "NA", // Mexico
|
||||
"FSM", "WPAC", "OC", // Micronesia (Federated States of)
|
||||
"MCO", "EURO", "EU", // Monaco
|
||||
"MNG", "****", "AS", // Mongolia
|
||||
"MNG", "ASIA", "AS", // Mongolia
|
||||
"MNE", "EURO", "EU", // Montenegro
|
||||
"MSR", "CARB", "NA", // Montserrat
|
||||
"MAR", "NAFR", "AF", // Morocco
|
||||
"MOZ", "SAFR", "AF", // Mozambique
|
||||
"MMR", "ASIA", "AS", // Myanmar
|
||||
"NAM", "****", "AF", // Namibia
|
||||
"NAM", "SAFR", "AF", // Namibia
|
||||
"NRU", "WPAC", "OC", // Nauru
|
||||
"NPL", "****", "AS", // Nepal
|
||||
"NPL", "ASIA", "AS", // Nepal
|
||||
"NLD", "EURO", "EU", // Netherlands
|
||||
"ANT", "CARB", "NA", // Netherlands Antilles
|
||||
"NCL", "SPAC", "OC", // New Caledonia
|
||||
"NZL", "AUNZ", "OC", // New Zealand
|
||||
"NIC", "****", "SA", // Nicaragua
|
||||
"NIC", "CEAM", "SA", // Nicaragua
|
||||
"NER", "NAFR", "AF", // Niger
|
||||
"NGA", "****", "AF", // Nigeria
|
||||
"NGA", "CAFR", "AF", // Nigeria
|
||||
"NIU", "SPAC", "OC", // Niue
|
||||
"NFK", "SPAC", "OC", // Norfolk Island
|
||||
"MNP", "WPAC", "OC", // Northern Mariana Islands
|
||||
|
@ -270,7 +270,7 @@ struct Country Countries[] =
|
|||
"REU", "SAFR", "AF", // Réunion
|
||||
"ROU", "EURO", "EU", // Romania
|
||||
"RUS", "ASIA", "AS", // Russian Federation
|
||||
"RWA", "****", "AF", // Rwanda
|
||||
"RWA", "CAFR", "AF", // Rwanda
|
||||
"BLM", "CARB", "NA", // Saint-Barthélemy
|
||||
"SHN", "SOAM", "SA", // Saint Helena
|
||||
"KNA", "CARB", "NA", // Saint Kitts and Nevis
|
||||
|
@ -285,50 +285,50 @@ struct Country Countries[] =
|
|||
"SEN", "CAFR", "AF", // Senegal
|
||||
"SRB", "EURO", "EU", // Serbia
|
||||
"SYC", "SAFR", "AF", // Seychelles
|
||||
"SLE", "****", "AF", // Sierra Leone
|
||||
"SGP", "****", "AS", // Singapore
|
||||
"SLE", "NAFR", "AF", // Sierra Leone
|
||||
"SGP", "ASIA", "AS", // Singapore
|
||||
"SVK", "EURO", "EU", // Slovakia
|
||||
"SVN", "EURO", "EU", // Slovenia
|
||||
"SLB", "SPAC", "OC", // Solomon Islands
|
||||
"SOM", "****", "AF", // Somalia
|
||||
"SOM", "NAFR", "AF", // Somalia
|
||||
"ZAF", "SAFR", "AF", // South Africa
|
||||
"ESP", "EURO", "EU", // Spain
|
||||
"LKA", "INDE", "AS", // Sri Lanka
|
||||
"SDN", "****", "AF", // Sudan
|
||||
"SDN", "NAFR", "AF", // Sudan
|
||||
"SUR", "SOAM", "SA", // Suriname
|
||||
"SJM", "EURO", "EU", // Svalbard and Jan Mayen Islands
|
||||
"SWZ", "****", "AF", // Swaziland
|
||||
"SWZ", "SAFR", "AF", // Swaziland
|
||||
"SWE", "EURO", "EU", // Sweden
|
||||
"CHE", "EURO", "EU", // Switzerland
|
||||
"SYR", "MDLE", "AS", // Syrian Arab Republic
|
||||
"TJK", "ASIA", "AS", // Tajikistan
|
||||
"THA", "****", "AS", // Thailand
|
||||
"THA", "ASIA", "AS", // Thailand
|
||||
"MKD", "EURO", "EU", // The former Yugoslav Republic of Macedonia
|
||||
"TLS", "ASIA", "AS", // Timor-Leste
|
||||
"TGO", "CAFR", "AF", // Togo
|
||||
"TKL", "AUNZ", "OC", // Tokelau
|
||||
"TON", "SPAC", "OC", // Tonga
|
||||
"TTO", "CARB", "NA", // Trinidad and Tobago
|
||||
"TUN", "****", "AF", // Tunisia
|
||||
"TUN", "NAFR", "AF", // Tunisia
|
||||
"TUR", "EURO", "EU", // Turkey
|
||||
"TKM", "****", "AS", // Turkmenistan
|
||||
"TKM", "ASIA", "AS", // Turkmenistan
|
||||
"TCA", "CARB", "NA", // Turks and Caicos Islands
|
||||
"TUV", "SPAC", "OC", // Tuvalu
|
||||
"UGA", "****", "AF", // Uganda
|
||||
"UGA", "SAFR", "AF", // Uganda
|
||||
"UKR", "EURO", "EU", // Ukraine
|
||||
"ARE", "MDLE", "AS", // United Arab Emirates
|
||||
"GBR", "EURO", "EU", // United Kingdom of Great Britain and Northern Ireland
|
||||
"TZA", "****", "AF", // United Republic of Tanzania
|
||||
"TZA", "SAFR", "AF", // United Republic of Tanzania
|
||||
"USA", "NOAM", "NA", // United States of America
|
||||
"VIR", "CARB", "NA", // United States Virgin Islands
|
||||
"URY", "SOAM", "SA", // Uruguay
|
||||
"UZB", "ASIA", "AS", // Uzbekistan
|
||||
"VUT", "SPAC", "OC", // Vanuatu
|
||||
"VEN", "SOAM", "SA", // Venezuela (Bolivarian Republic of)
|
||||
"VNM", "****", "AS", // Viet Nam
|
||||
"VNM", "ASIA", "AS", // Viet Nam
|
||||
"WLF", "SPAC", "OC", // Wallis and Futuna Islands
|
||||
"ESH", "****", "AF", // Western Sahara
|
||||
"YEM", "****", "AF", // Yemen
|
||||
"ESH", "CAFR", "AF", // Western Sahara
|
||||
"YEM", "NAFR", "AF", // Yemen
|
||||
"ZMB", "SAFR", "AF", // Zambia
|
||||
"ZWE", "SAFR", "AF" // Zimbabwe
|
||||
};
|
||||
|
@ -339,9 +339,9 @@ struct ALIAS ** NTSAliases = NULL;
|
|||
|
||||
/*struct ALIAS Aliases[] =
|
||||
{
|
||||
"AMSAT", "WW",
|
||||
"USBBS", "USA",
|
||||
"ALLUS", "USA"};
|
||||
"AMSAT", "WW",
|
||||
"USBBS", "USA",
|
||||
"ALLUS", "USA"};
|
||||
*/
|
||||
|
||||
int NumberofContinents = sizeof(Continents)/sizeof(Continents[1]);
|
||||
|
@ -435,7 +435,8 @@ VOID SetupMyHA()
|
|||
|
||||
if (MyElements[1])
|
||||
{
|
||||
#ifdef TWOCHARCONT
|
||||
if (FOURCHARCONT == 0)
|
||||
{
|
||||
if (strlen(MyElements[1]) == 4)
|
||||
{
|
||||
// Convert to 2 char Continent;
|
||||
|
@ -446,7 +447,9 @@ VOID SetupMyHA()
|
|||
MyElements[1] = _strdup(Continent->TwoCharCode);
|
||||
}
|
||||
}
|
||||
#else
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strlen(MyElements[1]) == 2)
|
||||
{
|
||||
// Convert to 4 char Continent;
|
||||
|
@ -457,7 +460,7 @@ VOID SetupMyHA()
|
|||
MyElements[1] = _strdup(Continent->FourCharCode);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -579,7 +582,8 @@ VOID SetupHAElements(struct BBSForwardingInfo * ForwardingInfo)
|
|||
|
||||
if (ForwardingInfo->BBSHAElements[1])
|
||||
{
|
||||
#ifdef TWOCHARCONT
|
||||
if (FOURCHARCONT == 0)
|
||||
{
|
||||
if (strlen(ForwardingInfo->BBSHAElements[1]) == 4)
|
||||
{
|
||||
// Convert to 2 char Continent;
|
||||
|
@ -590,7 +594,9 @@ VOID SetupHAElements(struct BBSForwardingInfo * ForwardingInfo)
|
|||
ForwardingInfo->BBSHAElements[1] = _strdup(Continent->TwoCharCode);
|
||||
}
|
||||
}
|
||||
#else
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strlen(ForwardingInfo->BBSHAElements[1]) == 2)
|
||||
{
|
||||
// Convert to 4 char Continent;
|
||||
|
@ -601,8 +607,7 @@ VOID SetupHAElements(struct BBSForwardingInfo * ForwardingInfo)
|
|||
ForwardingInfo->BBSHAElements[1] = _strdup(Continent->FourCharCode);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
free(SaveHText);
|
||||
|
@ -614,7 +619,7 @@ VOID SetupHAddreses(struct BBSForwardingInfo * ForwardingInfo)
|
|||
int Count=0;
|
||||
char ** HText = ForwardingInfo->Haddresses;
|
||||
char * SaveHText, * ptr2;
|
||||
// char * TopElement;
|
||||
// char * TopElement;
|
||||
char * Num;
|
||||
struct Continent * Continent;
|
||||
|
||||
|
@ -671,7 +676,7 @@ VOID SetupHAddreses(struct BBSForwardingInfo * ForwardingInfo)
|
|||
// Far simpler to config it, but can users cope??
|
||||
// Will config for testing. HA, N
|
||||
|
||||
/*
|
||||
/*
|
||||
TopElement=ForwardingInfo->HADDRS[Count][0];
|
||||
|
||||
if (strcmp(TopElement, MyElements[0]) == 0)
|
||||
|
@ -687,14 +692,16 @@ VOID SetupHAddreses(struct BBSForwardingInfo * ForwardingInfo)
|
|||
if (Elements < MyElementCount)
|
||||
break;
|
||||
|
||||
FullHR:
|
||||
*/
|
||||
FullHR:
|
||||
*/
|
||||
|
||||
ForwardingInfo->HADDROffet[Count] = (Num)? atoi(Num): 0;
|
||||
|
||||
if (ForwardingInfo->HADDRS[Count][1])
|
||||
{
|
||||
#ifdef TWOCHARCONT
|
||||
if (FOURCHARCONT == 0)
|
||||
{
|
||||
|
||||
if (strlen(ForwardingInfo->HADDRS[Count][1]) == 4)
|
||||
{
|
||||
// Convert to 2 char Continent;
|
||||
|
@ -705,7 +712,9 @@ FullHR:
|
|||
ForwardingInfo->HADDRS[Count][1] = _strdup(Continent->TwoCharCode);
|
||||
}
|
||||
}
|
||||
#else
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strlen(ForwardingInfo->HADDRS[Count][1]) == 2)
|
||||
{
|
||||
// Convert to 4 char Continent;
|
||||
|
@ -716,8 +725,7 @@ FullHR:
|
|||
ForwardingInfo->HADDRS[Count][1] = _strdup(Continent->FourCharCode);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
free(SaveHText);
|
||||
HText++;
|
||||
|
@ -732,7 +740,7 @@ VOID SetupHAddresesP(struct BBSForwardingInfo * ForwardingInfo)
|
|||
int Count=0;
|
||||
char ** HText = ForwardingInfo->HaddressesP;
|
||||
char * SaveHText, * ptr2;
|
||||
// char * TopElement;
|
||||
// char * TopElement;
|
||||
char * Num;
|
||||
struct Continent * Continent;
|
||||
|
||||
|
@ -781,7 +789,9 @@ VOID SetupHAddresesP(struct BBSForwardingInfo * ForwardingInfo)
|
|||
|
||||
if (ForwardingInfo->HADDRSP[Count][1])
|
||||
{
|
||||
#ifdef TWOCHARCONT
|
||||
if (FOURCHARCONT == 0)
|
||||
{
|
||||
|
||||
if (strlen(ForwardingInfo->HADDRSP[Count][1]) == 4)
|
||||
{
|
||||
// Convert to 2 char Continent;
|
||||
|
@ -792,7 +802,9 @@ VOID SetupHAddresesP(struct BBSForwardingInfo * ForwardingInfo)
|
|||
ForwardingInfo->HADDRSP[Count][1] = _strdup(Continent->TwoCharCode);
|
||||
}
|
||||
}
|
||||
#else
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strlen(ForwardingInfo->HADDRSP[Count][1]) == 2)
|
||||
{
|
||||
// Convert to 4 char Continent;
|
||||
|
@ -803,7 +815,7 @@ VOID SetupHAddresesP(struct BBSForwardingInfo * ForwardingInfo)
|
|||
ForwardingInfo->HADDRSP[Count][1] = _strdup(Continent->FourCharCode);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
free(SaveHText);
|
||||
HText++;
|
||||
|
@ -1070,7 +1082,7 @@ int MatchMessagetoBBSList(struct MsgInfo * Msg, CIRCUIT * conn)
|
|||
}
|
||||
}
|
||||
|
||||
// See if sending @ winlink.org
|
||||
// See if sending @ winlink.org
|
||||
|
||||
if (_stricmp(Msg->to, "RMS") == 0)
|
||||
{
|
||||
|
@ -1223,11 +1235,11 @@ int MatchMessagetoBBSList(struct MsgInfo * Msg, CIRCUIT * conn)
|
|||
if (Country)
|
||||
{
|
||||
// Just need to add Continent and WW
|
||||
#ifdef TWOCHARCONT
|
||||
if (FOURCHARCONT == 0)
|
||||
sprintf_s(FullRoute, sizeof(FullRoute),"%s.%s.WW", RouteElements, Country->Continent2);
|
||||
#else
|
||||
else
|
||||
sprintf_s(FullRoute, sizeof(FullRoute),"%s.%s.WW", RouteElements, Country->Continent4);
|
||||
#endif
|
||||
|
||||
goto FULLHA;
|
||||
}
|
||||
|
||||
|
@ -1270,29 +1282,32 @@ FULLHA:
|
|||
|
||||
if (HElements[1])
|
||||
{
|
||||
#ifdef TWOCHARCONT
|
||||
if (FOURCHARCONT == 0)
|
||||
{
|
||||
if (strlen(HElements[1]) == 4)
|
||||
{
|
||||
// Convert to 2 char Continent;
|
||||
Continent = FindContinent(HElements[1]);
|
||||
if (Continent)
|
||||
{
|
||||
// free(MyElements[1]);
|
||||
// free(MyElements[1]);
|
||||
HElements[1] = _strdup(Continent->TwoCharCode);
|
||||
}
|
||||
}
|
||||
#else
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strlen(HElements[1]) == 2)
|
||||
{
|
||||
// Convert to 4 char Continent;
|
||||
Continent = FindContinent(HElements[1]);
|
||||
if (Continent)
|
||||
{
|
||||
// free(MyElements[1]);
|
||||
// free(MyElements[1]);
|
||||
HElements[1] = _strdup(Continent->FourCharCode);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -1386,6 +1401,62 @@ NOHA:
|
|||
goto CheckWildCardedAT;
|
||||
}
|
||||
|
||||
// First check P message to multiple destinations
|
||||
|
||||
// We should choose the BBS with most matching elements (ie match on #23.GBR better that GBR)
|
||||
// If SendPtoMultiple is set I think we send to any with same match level
|
||||
|
||||
// So if SendPtoMultiple is set I think I need to find the best depth then send to all with the same depth
|
||||
// If none are found on HA match drop through.
|
||||
|
||||
if (SendPtoMultiple && Msg->type == 'P')
|
||||
{
|
||||
struct UserInfo * bestbbs = NULL;
|
||||
int bestmatch = 0;
|
||||
int depth;
|
||||
int Matched = 0;
|
||||
int MultiPDepth = 0;
|
||||
|
||||
Count = 0;
|
||||
|
||||
Logprintf(LOG_BBS, conn, '?', "SendPtoMultiple is set. Checking for best match level");
|
||||
|
||||
for (bbs = BBSChain; bbs; bbs = bbs->BBSNext)
|
||||
{
|
||||
ForwardingInfo = bbs->ForwardingInfo;
|
||||
|
||||
depth = CheckBBSHElements(Msg, bbs, ForwardingInfo, ATBBS, &HElements[0]);
|
||||
|
||||
if (depth)
|
||||
{
|
||||
if (depth > MultiPDepth)
|
||||
{
|
||||
MultiPDepth = depth;
|
||||
bestbbs = bbs;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (MultiPDepth)
|
||||
{
|
||||
for (bbs = BBSChain; bbs; bbs = bbs->BBSNext)
|
||||
{
|
||||
ForwardingInfo = bbs->ForwardingInfo;
|
||||
|
||||
depth = CheckBBSHElements(Msg, bbs, ForwardingInfo, ATBBS, &HElements[0]);
|
||||
|
||||
if (depth == MultiPDepth)
|
||||
{
|
||||
Logprintf(LOG_BBS, conn, '?', "Routing Trace HR Matches BBS %s Depth %d", bbs->Call, depth);
|
||||
CheckAndSend(Msg, conn, bbs);
|
||||
Count++;
|
||||
}
|
||||
}
|
||||
return Count;
|
||||
}
|
||||
else
|
||||
Logprintf(LOG_BBS, conn, '?', "SendPtoMultiple is set but no match on HA");
|
||||
}
|
||||
|
||||
if (Msg->type == 'P' || Flood == 0)
|
||||
{
|
||||
|
@ -1467,50 +1538,7 @@ NOHA:
|
|||
return 1;
|
||||
}
|
||||
|
||||
// We should choose the BBS with most matching elements (ie match on #23.GBR better that GBR)
|
||||
// If SendPtoMultiple is set I think we send to any with same match level
|
||||
|
||||
// So if SendPtoMultiple is set I think I need to find the best depth then send to all with the same depth
|
||||
|
||||
|
||||
if (SendPtoMultiple && Msg->type == 'P')
|
||||
{
|
||||
Logprintf(LOG_BBS, conn, '?', "SendPtoMultiple is set. Checking for best match level");
|
||||
|
||||
for (bbs = BBSChain; bbs; bbs = bbs->BBSNext)
|
||||
{
|
||||
ForwardingInfo = bbs->ForwardingInfo;
|
||||
|
||||
depth = CheckBBSHElements(Msg, bbs, ForwardingInfo, ATBBS, &HElements[0]);
|
||||
|
||||
if (depth)
|
||||
{
|
||||
if (depth > MultiPDepth)
|
||||
{
|
||||
MultiPDepth = depth;
|
||||
bestbbs = bbs;
|
||||
}
|
||||
}
|
||||
|
||||
if (MultiPDepth)
|
||||
{
|
||||
for (bbs = BBSChain; bbs; bbs = bbs->BBSNext)
|
||||
{
|
||||
ForwardingInfo = bbs->ForwardingInfo;
|
||||
|
||||
depth = CheckBBSHElements(Msg, bbs, ForwardingInfo, ATBBS, &HElements[0]);
|
||||
|
||||
if (depth == MultiPDepth)
|
||||
{
|
||||
Logprintf(LOG_BBS, conn, '?', "Routing Trace HR Matches BBS %s Depth %d", bbs->Call, depth);
|
||||
CheckAndSend(Msg, conn, bbs);
|
||||
}
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
// Normal HA match (not SendPToMultiple)
|
||||
|
||||
for (bbs = BBSChain; bbs; bbs = bbs->BBSNext)
|
||||
{
|
||||
|
@ -1644,10 +1672,10 @@ CheckWildCardedAT:
|
|||
Logprintf(LOG_BBS, conn, '?', "Routing Trace - No Match");
|
||||
|
||||
return Count;
|
||||
}
|
||||
}
|
||||
|
||||
BOOL CheckBBSToList(struct MsgInfo * Msg, struct UserInfo * bbs, struct BBSForwardingInfo * ForwardingInfo)
|
||||
{
|
||||
BOOL CheckBBSToList(struct MsgInfo * Msg, struct UserInfo * bbs, struct BBSForwardingInfo * ForwardingInfo)
|
||||
{
|
||||
char ** Calls;
|
||||
|
||||
// Check TO distributions
|
||||
|
@ -1665,10 +1693,10 @@ CheckWildCardedAT:
|
|||
}
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
BOOL CheckBBSAtList(struct MsgInfo * Msg, struct BBSForwardingInfo * ForwardingInfo, char * ATBBS)
|
||||
{
|
||||
BOOL CheckBBSAtList(struct MsgInfo * Msg, struct BBSForwardingInfo * ForwardingInfo, char * ATBBS)
|
||||
{
|
||||
char ** Calls;
|
||||
|
||||
// Check AT distributions
|
||||
|
@ -1689,10 +1717,10 @@ CheckWildCardedAT:
|
|||
}
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
int CheckBBSHElements(struct MsgInfo * Msg, struct UserInfo * bbs, struct BBSForwardingInfo * ForwardingInfo, char * ATBBS, char ** HElements)
|
||||
{
|
||||
int CheckBBSHElements(struct MsgInfo * Msg, struct UserInfo * bbs, struct BBSForwardingInfo * ForwardingInfo, char * ATBBS, char ** HElements)
|
||||
{
|
||||
// Used for Personal Messages, and Bulls not yot at their target area
|
||||
|
||||
char *** HRoutes;
|
||||
|
@ -1729,11 +1757,11 @@ CheckWildCardedAT:
|
|||
}
|
||||
}
|
||||
return bestmatch;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int CheckBBSHElementsFlood(struct MsgInfo * Msg, struct UserInfo * bbs, struct BBSForwardingInfo * ForwardingInfo, char * ATBBS, char ** HElements)
|
||||
{
|
||||
int CheckBBSHElementsFlood(struct MsgInfo * Msg, struct UserInfo * bbs, struct BBSForwardingInfo * ForwardingInfo, char * ATBBS, char ** HElements)
|
||||
{
|
||||
char *** HRoutes;
|
||||
char ** BBSHA;
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
#endif
|
||||
|
||||
#define KVers 6,0,24,38
|
||||
#define KVerstring "6.0.24.38\0"
|
||||
#define KVers 6,0,24,40
|
||||
#define KVerstring "6.0.24.40\0"
|
||||
|
||||
#ifdef CKernel
|
||||
|
||||
|
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="LAPTOP-Q6S4RP5Q"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="LAPTOP-Q6S4RP5Q"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="NOTTSDESKTOP"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
#define NEWROUTING
|
||||
|
||||
|
||||
extern int FOURCHARCONT;
|
||||
|
||||
// Standard __except handler for try/except
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ char * FwdPagetxt()
|
|||
"{"
|
||||
"position: absolute;"
|
||||
"width:290px;"
|
||||
"height:510px;"
|
||||
"height:550px;"
|
||||
"border:0px solid;"
|
||||
"overflow: auto;"
|
||||
"}"
|
||||
|
@ -109,7 +109,7 @@ char * FwdPagetxt()
|
|||
"{"
|
||||
"position: absolute;"
|
||||
"width:180px;"
|
||||
"height:500px;"
|
||||
"height:540px;"
|
||||
"border:2px solid;"
|
||||
"overflow: auto;"
|
||||
"}"
|
||||
|
@ -118,7 +118,7 @@ char * FwdPagetxt()
|
|||
"position: absolute;"
|
||||
"width:95px;"
|
||||
"left:190px;"
|
||||
"height:500px;"
|
||||
"height:540px;"
|
||||
"border:2px solid;"
|
||||
"overflow: auto;"
|
||||
"}"
|
||||
|
@ -255,6 +255,7 @@ char * FwdPagetxt()
|
|||
" <td><a href=\"/Mail/Wel?%s\">Welcome Msgs & Prompts</a></td>"
|
||||
" <td><a href=\"/Mail/HK?%s\">Housekeeping</a></td>"
|
||||
" <td><a href=\"/Mail/WP?%s\">WP Update</a></td>"
|
||||
"<td><a href=/Webmail>WebMail</a></td>"
|
||||
" <td><a href=\"/\">Node Menu</a></td>"
|
||||
" </tr>"
|
||||
" </tbody>"
|
||||
|
@ -279,7 +280,8 @@ char * FwdPagetxt()
|
|||
" <br />"
|
||||
"Send P Msgs to more than one BBS <input %sname=SendPtoMultiple type=checkbox /><br />"
|
||||
" <br />"
|
||||
|
||||
"Use 4 Char Continent Codes <input %sname=FourCharCont type=checkbox /><br />"
|
||||
" <br />"
|
||||
"Aliases<br />"
|
||||
" <br />"
|
||||
" <textarea rows=8 cols=12 name=Aliases>%s</textarea><br><br>"
|
||||
|
@ -400,6 +402,7 @@ char * WebMailPagetxt()
|
|||
"<td><a href=/WebMail/WMAuto?%s>Auto Refresh</a></td>\r\n"
|
||||
"<td><a href=\"#\" onclick=\"newmsg('%s'); return false;\">Send Message</a></td>\r\n"
|
||||
"<td><a href=/WebMail/WMLogout?%s>Logout</a></td>\r\n"
|
||||
"<td><a href=/Mail/Header>Mail Mgmt</a></td>\r\n"
|
||||
"<td><a href=/>Node Menu</a></td></tr></table>\r\n"
|
||||
"<br>\r\n"
|
||||
"<div align=left id=\"main\" style=\"overflow:scroll;\">\r\n"
|
||||
|
@ -452,6 +455,7 @@ char * MainConfigtxt()
|
|||
" <td><a href=\"/Mail/Wel?%s\">Welcome Msgs & Prompts</a></td>\r\n"
|
||||
" <td><a href=\"/Mail/HK?%s\">Housekeeping</a></td>\r\n"
|
||||
" <td><a href=\"/Mail/WP?%s\">WP Update</a></td>\r\n"
|
||||
"<td><a href=/Webmail>WebMail</a></td>"
|
||||
" <td><a href=\"/\">Node Menu</a></td>\r\n"
|
||||
"</tr></table>\r\n"
|
||||
"<br>\r\n"
|
||||
|
@ -701,6 +705,7 @@ char * MsgPagetxt()
|
|||
" <td><a href=\"/Mail/Wel?%s\">Welcome Msgs & Prompts</a></td>\r\n"
|
||||
" <td><a href=\"/Mail/HK?%s\">Housekeeping</a></td>\r\n"
|
||||
" <td><a href=\"/Mail/WP?%s\">WP Update</a></td>\r\n"
|
||||
"<td><a href=/Webmail>WebMail</a></td>"
|
||||
" <td><a href=\"/\">Node Menu</a></td>\r\n"
|
||||
" </tr>\r\n"
|
||||
" </tbody>\r\n"
|
||||
|
@ -1060,6 +1065,7 @@ char * UserPagetxt()
|
|||
"<td><a href=/Mail/Wel?%s>Welcome Msgs & Prompts</a></td>\r\n"
|
||||
"<td><a href=/Mail/HK?%s>Housekeeping</a></td>\r\n"
|
||||
"<td><a href=/Mail/WP?%s>WP Update</a></td>\r\n"
|
||||
"<td><a href=/Webmail>WebMail</a></td>"
|
||||
"<td><a href=/>Node Menu</a></td></tr></table>\r\n"
|
||||
"<br>\r\n"
|
||||
"<div id=\"outer\">\r\n"
|
||||
|
@ -1116,6 +1122,7 @@ char * Housekeepingtxt()
|
|||
"<td><a href=/Mail/Wel?%s>Welcome Msgs & Prompts</a></td>\r\n"
|
||||
"<td><a href=/Mail/HK?%s>Housekeeping</a></td>\r\n"
|
||||
"<td><a href=/Mail/WP?%s>WP Update</a></td>\r\n"
|
||||
"<td><a href=/Webmail>WebMail</a></td>"
|
||||
"<td><a href=/>Node Menu</a></td></tr></table>\r\n"
|
||||
"<br>\r\n"
|
||||
"<div style=\"text-align: center;\"><font size=\"+1\"><span style=\"font-family: monospace; font-weight: bold;\">Housekeeping</span></font></div>\r\n"
|
||||
|
@ -1364,6 +1371,7 @@ char * WPtxt()
|
|||
" <td><a href=\"/Mail/Wel?%s\">Welcome Msgs & Prompts</a></td>\r\n"
|
||||
" <td><a href=\"/Mail/HK?%s\">Housekeeping</a></td>\r\n"
|
||||
" <td><a href=\"/Mail/WP?%s\">WP Update</a></td>\r\n"
|
||||
"<td><a href=/Webmail>WebMail</a></td>"
|
||||
" <td><a href=\"/\">Node Menu</a></td>\r\n"
|
||||
" </tr>\r\n"
|
||||
" </tbody>\r\n"
|
||||
|
|
Loading…
Reference in New Issue