summaryrefslogtreecommitdiffstats
path: root/app/ring.h
diff options
context:
space:
mode:
authorroot <root@lab.panaceas.james.local>2018-04-08 01:14:30 +0100
committerroot <root@lab.panaceas.james.local>2018-04-08 01:14:30 +0100
commit25e6afd831b94b9735cc6691ee19c8edc921aca7 (patch)
treecc194e7cb067c929b3e8bc9c03552d2d300c301b /app/ring.h
downloadclock-25e6afd831b94b9735cc6691ee19c8edc921aca7.tar.gz
clock-25e6afd831b94b9735cc6691ee19c8edc921aca7.tar.bz2
clock-25e6afd831b94b9735cc6691ee19c8edc921aca7.zip
working decoding
Diffstat (limited to 'app/ring.h')
-rw-r--r--app/ring.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/ring.h b/app/ring.h
new file mode 100644
index 0000000..1eae65b
--- /dev/null
+++ b/app/ring.h
@@ -0,0 +1,6 @@
+typedef struct ring {
+ uint8_t *data;
+ size_t size;
+ size_t write;
+ size_t read;
+} ring_t;