diff options
| author | John Wiseman <john.wiseman@cantab.net> | 2023-05-25 14:17:53 +0100 |
|---|---|---|
| committer | John Wiseman <john.wiseman@cantab.net> | 2023-05-25 14:17:53 +0100 |
| commit | 4924c1223ef5e47353ef34892b732c2081096427 (patch) | |
| tree | bfc0e3c6ef678127d747e47431d4054b73ed160d /CommonCode.c | |
| parent | ac7e6b99beace1e002246436175581d01b02a117 (diff) | |
6.0.23.7023.71
Diffstat (limited to 'CommonCode.c')
| -rw-r--r-- | CommonCode.c | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/CommonCode.c b/CommonCode.c index 1ec3989..1a1dfd6 100644 --- a/CommonCode.c +++ b/CommonCode.c @@ -49,7 +49,7 @@ extern struct CONFIGTABLE xxcfg; #endif
-struct TNCINFO * TNCInfo[41]; // Records are Malloc'd
+struct TNCINFO * TNCInfo[70]; // Records are Malloc'd
extern int ReportTimer;
@@ -897,9 +897,6 @@ VOID SetApplPorts() }
-extern struct TNCINFO * TNCInfo[41]; // Records are Malloc'd
-
-
char Modenames[19][10] = {"WINMOR", "SCS", "KAM", "AEA", "HAL", "TELNET", "TRK",
"V4", "UZ7HO", "MPSK", "FLDIGI", "UIARQ", "ARDOP", "VARA",
"SERIAL", "KISSHF", "WINRPR", "HSMODEM", "FREEDATA"};
@@ -3761,23 +3758,23 @@ typedef struct _MESSAGEX #pragma pack()
-int PortNum[33] = {0}; // Tab nunber to port
+int PortNum[MaxBPQPortNo + 1] = {0}; // Tab nunber to port
-char * UIUIDigi[33]= {0};
-char * UIUIDigiAX[33] = {0}; // ax.25 version of digistring
-int UIUIDigiLen[33] = {0}; // Length of AX string
+char * UIUIDigi[MaxBPQPortNo + 1]= {0};
+char * UIUIDigiAX[MaxBPQPortNo + 1] = {0}; // ax.25 version of digistring
+int UIUIDigiLen[MaxBPQPortNo + 1] = {0}; // Length of AX string
-char UIUIDEST[33][11] = {0}; // Dest for Beacons
+char UIUIDEST[MaxBPQPortNo + 1][11] = {0}; // Dest for Beacons
-char UIAXDEST[33][7] = {0};
+char UIAXDEST[MaxBPQPortNo + 1][7] = {0};
-UCHAR FN[33][256]; // Filename
-int Interval[33]; // Beacon Interval (Mins)
-int MinCounter[33]; // Interval Countdown
+UCHAR FN[MaxBPQPortNo + 1][256]; // Filename
+int Interval[MaxBPQPortNo + 1]; // Beacon Interval (Mins)
+int MinCounter[MaxBPQPortNo + 1]; // Interval Countdown
-BOOL SendFromFile[33];
-char Message[33][1000]; // Beacon Text
+BOOL SendFromFile[MaxBPQPortNo + 1];
+char Message[MaxBPQPortNo + 1][1000]; // Beacon Text
VOID SendUIBeacon(int Port);
@@ -3945,7 +3942,7 @@ typedef struct tag_dlghdr HWND hwndDisplay; // current child dialog box
RECT rcDisplay; // display rectangle for the tab control
- DLGTEMPLATE *apRes[33];
+ DLGTEMPLATE *apRes[MaxBPQPortNo + 1];
} DLGHDR;
|
