summaryrefslogtreecommitdiff
path: root/proto_io.h
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-12-28 00:04:20 +0300
committerOxore <oxore@protonmail.com>2023-12-28 00:04:20 +0300
commit18893127524d87e47a948b9a92d8d8b2ab869852 (patch)
tree1491660a439221174a776b9c7f38f05234590cdb /proto_io.h
parent4faf778b6ec4b9d8ab0c19e22d27c76f4c67ab28 (diff)
WIP
Diffstat (limited to 'proto_io.h')
-rw-r--r--proto_io.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/proto_io.h b/proto_io.h
new file mode 100644
index 0000000..5881027
--- /dev/null
+++ b/proto_io.h
@@ -0,0 +1,8 @@
+#pragma once
+
+/* SPDX-License-Identifier: Unlicense */
+
+#include "proto.h"
+
+int ReceiveFrame(int fd, struct frame *frame);
+int SendFrame(int const fd, struct frame const *const frame);