aboutsummaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/io.c b/src/io.c
new file mode 100644
index 0000000..902124a
--- /dev/null
+++ b/src/io.c
@@ -0,0 +1,8 @@
1#include "io.h"
2
3void io_init(p_io io, p_send send, p_recv recv, void *ctx)
4{
5 io->send = send;
6 io->recv = recv;
7 io->ctx = ctx;
8}