summaryrefslogtreecommitdiffstats
path: root/app/ring.h
blob: 1eae65bfeb72feb47365e4b42c2668f4309bf7eb (plain)
1
2
3
4
5
6
typedef struct ring {
  uint8_t *data;
  size_t size;
  size_t write;
  size_t read;
} ring_t;