diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-10-29 22:45:25 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-10-29 22:45:25 +0000 |
| commit | 6c8e7093c0c01dbf0e7b2d3b3e8909a209faebbd (patch) | |
| tree | 8d4a8ff6b2aff51cd6235b9923eb9c5db5017075 /ax25.c | |
| parent | a724b7ca21df2a3b98bc203f719396d5e62d55d4 (diff) | |
| parent | d0709a1e0a04bf74f240dc0fdb8697f030b68cea (diff) | |
Update upstream source from tag 'upstream/0.0.0.73_rc1'
Update to upstream version '0.0.0.73~rc1'
with Debian dir 676c65807274e34716fecd1055a3812ab33a8229
Diffstat (limited to 'ax25.c')
| -rw-r--r-- | ax25.c | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -29,10 +29,20 @@ __declspec(dllimport) unsigned short __stdcall ntohs(__in unsigned short hostsho #else
+#include <stdint.h>
+
+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 <stddef.h>
#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;
|
