summaryrefslogtreecommitdiff
path: root/Bpq32.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-11-28 22:33:53 +0000
committerDave Hibberd <hibby@debian.org>2024-11-28 22:33:53 +0000
commite2a62732f504cca5db8fb8d6d38ca64dfd4b92ac (patch)
treee757406df9b2efba5890c70b237d2d91380f1c89 /Bpq32.c
parent7d1deaae3884a9ca8bdba9df5c7b317171ab3b40 (diff)
New upstream version 6.0.24.51upstream/6.0.24.51
Diffstat (limited to 'Bpq32.c')
-rw-r--r--Bpq32.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/Bpq32.c b/Bpq32.c
index f7e1f59..1125b31 100644
--- a/Bpq32.c
+++ b/Bpq32.c
@@ -1086,7 +1086,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
// Add ? and * wildcards to NODES command (74)
// Add Port RADIO config parameter (74)
-// Version 6.0.24.1 August 2024
+// Version 6.0.24.1 August 2023
// Apply NODES command wildcard to alias as well a call (2)
// Add STOPPORT/STARTPORT to VARA Driver (2)
@@ -1234,6 +1234,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
// Add optional ATTACH time limit for VARA (48)
// API format fixes (48)
// AGWAPI Add protection against accidental connects from a non-agw application (50)
+// Save MH and NODES every hour (51)
#define CKernel
@@ -1374,6 +1375,9 @@ extern struct _LINKTABLE * LINKS;
extern int LINK_TABLE_LEN;
extern int MAXLINKS;
+extern double LatFromLOC;
+extern double LonFromLOC;
+
extern int BPQHOSTAPI();
extern int INITIALISEPORTS();
@@ -3068,7 +3072,7 @@ SkipInit:
if (AttachedProcesses < 2)
{
- if (AUTOSAVE == 1)
+ if (AUTOSAVE)
SaveNodes();
if (AUTOSAVEMH)
SaveMH();
@@ -6621,11 +6625,19 @@ int GetListeningPortsPID(int Port)
return 0; // Not found
}
-DllExport char * APIENTRY GetLOC()
+DllExport char * APIENTRY GetLOC()
{
return LOC;
}
+DllExport void APIENTRY GetLatLon(double * lat, double * lon)
+{
+ *lat = LatFromLOC;
+ *lon = LonFromLOC;
+ return;
+}
+
+
// UZ7HO Dll PTT interface
// 1 ext_PTT_info