diff options
author | fishsoupisgood <github@madingley.org> | 2019-04-29 07:30:28 +0100 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2019-04-29 07:30:28 +0100 |
commit | 259ee0e7022ce15f4f2c8294a4fc3de7005d7fab (patch) | |
tree | d284293075d882911c2c6a3e982570a7c8aec7e4 /app/ring.h | |
download | adapter-259ee0e7022ce15f4f2c8294a4fc3de7005d7fab.tar.gz adapter-259ee0e7022ce15f4f2c8294a4fc3de7005d7fab.tar.bz2 adapter-259ee0e7022ce15f4f2c8294a4fc3de7005d7fab.zip |
working with one set of stripes
Diffstat (limited to 'app/ring.h')
-rw-r--r-- | app/ring.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/ring.h b/app/ring.h new file mode 100644 index 0000000..ba8887b --- /dev/null +++ b/app/ring.h @@ -0,0 +1,7 @@ +typedef struct ring +{ + uint8_t *data; + size_t size; + size_t write; + size_t read; +} ring_t; |