diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-11-28 22:33:53 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-11-28 22:33:53 +0000 |
| commit | e2a62732f504cca5db8fb8d6d38ca64dfd4b92ac (patch) | |
| tree | e757406df9b2efba5890c70b237d2d91380f1c89 /Bpq32.c | |
| parent | 7d1deaae3884a9ca8bdba9df5c7b317171ab3b40 (diff) | |
New upstream version 6.0.24.51upstream/6.0.24.51
Diffstat (limited to 'Bpq32.c')
| -rw-r--r-- | Bpq32.c | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -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
|
