summaryrefslogtreecommitdiff
path: root/datadefs.c
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2022-08-28 09:35:46 +0100
committerJohn Wiseman <john.wiseman@cantab.net>2022-08-28 09:35:46 +0100
commite3ea58d23aae3aca6f382c4b95ec31a1f7875cae (patch)
tree6aa82a196df5ce3330d112e047febc348c44dc1d /datadefs.c
Diffstat (limited to 'datadefs.c')
-rw-r--r--datadefs.c70
1 files changed, 70 insertions, 0 deletions
diff --git a/datadefs.c b/datadefs.c
new file mode 100644
index 0000000..89c94c6
--- /dev/null
+++ b/datadefs.c
@@ -0,0 +1,70 @@
+/*
+Copyright 2001-2018 John Wiseman G8BPQ
+
+This file is part of LinBPQ/BPQ32.
+
+LinBPQ/BPQ32 is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+LinBPQ/BPQ32 is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
+*/
+
+
+#pragma data_seg("_BPQDATA")
+
+#include "compatbits.h"
+#include "asmstrucs.h"
+
+TRANSPORTENTRY * L4TABLE = 0;
+UCHAR NEXTID = 55;
+int MAXCIRCUITS = 50;
+int L4DEFAULTWINDOW = 4;
+int L4T1 = 60;
+APPLCALLS APPLCALLTABLE[NumberofAppls];
+char * APPLS;
+
+int RFOnly = 0;
+
+int MAXRTT = 9000; // 90 secs
+int MaxHops = 4;
+
+int RTTInterval = 24; // 4 Minutes
+
+BOOL IPRequired = FALSE;
+BOOL PMRequired = FALSE;
+
+char HFCTEXT[81] = "";
+int HFCTEXTLEN = 0;
+
+char LOCATOR[80] = ""; // Locator for Reporting - may be Maidenhead or LAT:LON
+char MAPCOMMENT[250] = "";
+char LOC[7] = ""; // Must be in shared mem// Maidenhead Locator for Reporting
+char ReportDest[7];
+
+UCHAR BPQDirectory[260] = ".";
+UCHAR LogDirectory[260] = "";
+UCHAR BPQProgramDirectory[260]="";
+
+UCHAR WINMOR[7] = {'W'+'W','I'+'I','N'+'N','M'+'M','O'+'O','R'+'R'}; // WINMOR IN AX25
+UCHAR PACTORCALL[7] = {'P'+'P','A'+'A','C'+'C','T'+'T','O'+'O','R'+'R'}; //PACTOR IN AX25
+
+UCHAR L3RTT[7] = {'L'+'L','3'+'3','R'+'R','T'+'T','T'+'T',0x40, 0xe0}; // L3RTT IN AX25
+UCHAR L3KEEP[7] = {'K'+'K','E'+'E','E'+'E','P'+'P','L'+'L','I'+'I', 0xe0}; // KEEPLI IN AX25
+
+time_t CurrentSecs;
+time_t lastSlowSecs;
+
+char WL2KCall[10] = "";
+char WL2KLoc[7] = "";
+
+UCHAR ROUTEQUAL = 0;
+
+UCHAR CWTABLE[64] = {0}; \ No newline at end of file