From aeefdb37d1fc1c0eb7953b9c196cab09460bc167 Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 20 Sep 2018 20:51:57 +0200 Subject: we are now prepared for piping with _pipe and _dup2 --- kernel/fifo.h | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 kernel/fifo.h (limited to 'kernel/fifo.h') diff --git a/kernel/fifo.h b/kernel/fifo.h deleted file mode 100644 index 92f3b75..0000000 --- a/kernel/fifo.h +++ /dev/null @@ -1,23 +0,0 @@ -// SIMPLE FIFO DRIVER // - -#ifndef FIFO_H -#define FIFO_H - -#include -#include - -typedef struct fifo_struct -{ - bool (*put)(struct fifo_struct*,uint8_t); - uint8_t (*get)(struct fifo_struct*); - bool (*has)(struct fifo_struct*); - void *data; // opaque data - -}fifo; - -bool fifo_put(fifo*,uint8_t); -uint8_t fifo_get(fifo*); -bool fifo_has(fifo*); - -fifo fifo_create_buffered(uint8_t size); -#endif -- cgit v1.2.3