summaryrefslogtreecommitdiff
path: root/datadefs.c
blob: fb16c62d9234c9a263f0a6521903e96f26747dab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
Copyright 2001-2022 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 = 8;
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};