From e2a62732f504cca5db8fb8d6d38ca64dfd4b92ac Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Thu, 28 Nov 2024 22:33:53 +0000 Subject: New upstream version 6.0.24.51 --- Bpq32.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'Bpq32.c') 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 -- cgit v1.2.3