summaryrefslogtreecommitdiff
path: root/fs/fifo.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fifo.h')
-rw-r--r--fs/fifo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/fifo.h b/fs/fifo.h
index 92f3b75..27af389 100644
--- a/fs/fifo.h
+++ b/fs/fifo.h
@@ -11,6 +11,7 @@ typedef struct fifo_struct
bool (*put)(struct fifo_struct*,uint8_t);
uint8_t (*get)(struct fifo_struct*);
bool (*has)(struct fifo_struct*);
+ bool (*full)(struct fifo_struct*);
void *data; // opaque data
}fifo;
@@ -18,6 +19,7 @@ typedef struct fifo_struct
bool fifo_put(fifo*,uint8_t);
uint8_t fifo_get(fifo*);
bool fifo_has(fifo*);
+bool fifo_full(fifo*);
fifo fifo_create_buffered(uint8_t size);
#endif