diff options
author | root <root@no.no.james.local> | 2017-06-13 21:10:37 +0100 |
---|---|---|
committer | root <root@no.no.james.local> | 2017-06-13 21:10:37 +0100 |
commit | eaf5d4799cc52e9dd1ebcaeafbf8f670658fea98 (patch) | |
tree | bbeb1993818c5fc8cbcf5a001080f246facc8de6 /app/ring.h | |
download | serial_over_dp-eaf5d4799cc52e9dd1ebcaeafbf8f670658fea98.tar.gz serial_over_dp-eaf5d4799cc52e9dd1ebcaeafbf8f670658fea98.tar.bz2 serial_over_dp-eaf5d4799cc52e9dd1ebcaeafbf8f670658fea98.zip |
inital commit
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; |