summaryrefslogtreecommitdiffstats
path: root/app/ring.h
diff options
context:
space:
mode:
authorroot <root@lamia.panaceas.james.local>2016-08-20 20:55:43 +0100
committerroot <root@lamia.panaceas.james.local>2016-08-20 20:55:43 +0100
commite696ed2427fe036a0dcfe50f209e22a9f273d100 (patch)
tree837ac9421102a7b83a4d55b72e22fce5f6033214 /app/ring.h
parentb063a2da3024a2e3175e1ba9b0a87cb6c7470765 (diff)
downloadcandlestick-e696ed2427fe036a0dcfe50f209e22a9f273d100.tar.gz
candlestick-e696ed2427fe036a0dcfe50f209e22a9f273d100.tar.bz2
candlestick-e696ed2427fe036a0dcfe50f209e22a9f273d100.zip
working calls
Diffstat (limited to 'app/ring.h')
-rw-r--r--app/ring.h7
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;