From 279f3336a8f6b31ca38bdd272c73aebd68fa88fe Mon Sep 17 00:00:00 2001 From: Miguel Date: Sat, 13 Oct 2018 00:57:28 +0200 Subject: ncurses arrow keys working etc --- fs/fifo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fs/fifo.h') 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 -- cgit v1.2.3