From d0709a1e0a04bf74f240dc0fdb8697f030b68cea Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Tue, 29 Oct 2024 22:45:21 +0000 Subject: New upstream version 0.0.0.73~rc1 --- ax25.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'ax25.c') diff --git a/ax25.c b/ax25.c index 4ae9083..32933cd 100644 --- a/ax25.c +++ b/ax25.c @@ -29,10 +29,20 @@ __declspec(dllimport) unsigned short __stdcall ntohs(__in unsigned short hostsho #else +#include + +uint32_t htonl(uint32_t hostlong); +uint16_t htons(uint16_t hostshort); +uint32_t ntohl(uint32_t netlong); +uint16_t ntohs(uint16_t netshort); + #define strtok_s strtok_r #include #endif +void set_DM(int snd_ch, Byte * path); +void rst_values(TAX25Port * AX25Sess); + void decode_frame(Byte * frame, int len, Byte * path, string * data, Byte * pid, Byte * nr, Byte * ns, Byte * f_type, Byte * f_id, Byte * rpt, Byte * pf, Byte * cr); @@ -244,6 +254,9 @@ int maxframe[4] = { 0,0,0,0 }; int TXFrmMode[4] = { 0,0,0,0 }; int max_frame_collector[4] = { 0,0,0,0 }; +int bytes[4] = { 0,0,0,0 }; +int bytes2mins[4] = { 0,0,0,0 }; + char MyDigiCall[4][512] = { "","","","" }; char exclude_callsigns[4][512] = { "","","","" }; char exclude_APRS_frm[4][512] = { "","","","" }; @@ -1729,7 +1742,7 @@ int is_excluded_frm(int snd_ch, int f_id, string * data) -int number_digi(string path) +int number_digi(char * path) { int n = 0; -- cgit v1.2.3