summaryrefslogtreecommitdiffstats
path: root/app/ring.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/ring.h')
-rw-r--r--app/ring.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/ring.h b/app/ring.h
new file mode 100644
index 0000000..e551a5e
--- /dev/null
+++ b/app/ring.h
@@ -0,0 +1,14 @@
+#ifndef _RING_H_
+#define _RING_H_
+
+typedef struct ring
+{
+ uint8_t *data;
+ size_t size;
+ size_t write;
+ size_t read;
+} ring_t;
+
+#endif
+
+