diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-04-19 09:15:57 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-04-19 09:15:57 -0700 |
commit | 1ae9a10d56fca8fe585e77533c49e5c9d680ff12 (patch) | |
tree | b6e51a3c385727efca5cd9a2ca83bc770d10a6a4 /include/io.h | |
parent | 21055a1e5d34dda1b8151dd46a6bedca22bd73d9 (diff) |
chore: removed bufio from tree
Diffstat (limited to 'include/io.h')
-rw-r--r-- | include/io.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/include/io.h b/include/io.h deleted file mode 100644 index 9813b85..0000000 --- a/include/io.h +++ /dev/null @@ -1,34 +0,0 @@ -#pragma once - -typedef struct io·Reader -{ - Iface impl; - int (*read)(void*, byte *buf, int n); -} io·Reader; - -typedef struct io·ByteReader -{ - Iface impl; - int (*read)(void*, byte *buf, int n); - byte (*get)(void*); -} io·ByteReader; - -typedef struct io·Writer -{ - Iface impl; - int (*write)(void*, byte *buf, int n); -} io·Writer; - -typedef struct io·ReadWriter -{ - Iface impl; - int (*read)(void*, byte *buf, int n); - int (*write)(void*, byte *buf, int n); -} io·ReadWriter; - -typedef enum io·SeekPos -{ - SEEK·set, - SEEK·cur, - SEEK·end, -} io·SeekPos; |