summaryrefslogtreecommitdiff
path: root/hdlc_send.h
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-09-12 21:38:15 +0100
committerDave Hibberd <d@vehibberd.com>2023-09-12 21:38:15 +0100
commit3cdcbeea3e2891f4a10c79b272da144f37ff24f3 (patch)
treedc2daaabc2ba68cc125fc21bd35f8e67bdb0499e /hdlc_send.h
parentf7fc865d93f8448779d320ce152f0fa44a64fcad (diff)
New upstream version 0.67upstream/0.67
Diffstat (limited to 'hdlc_send.h')
-rw-r--r--hdlc_send.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/hdlc_send.h b/hdlc_send.h
new file mode 100644
index 0000000..4f8a105
--- /dev/null
+++ b/hdlc_send.h
@@ -0,0 +1,17 @@
+
+/* hdlc_send.h */
+
+// In version 1.7 an extra layer of abstraction was added here.
+// Rather than calling hdlc_send_frame, we now use another function
+// which sends AX.25, FX.25, or IL2P depending on
+
+#include "ax25_pad.h"
+#include "audio.h"
+
+int layer2_send_frame (int chan, packet_t pp, int bad_fcs, struct audio_s *audio_config_p);
+
+int layer2_preamble_postamble (int chan, int flags, int finish, struct audio_s *audio_config_p);
+
+/* end hdlc_send.h */
+
+