diff options
Diffstat (limited to 'rushs/evalexpr/fifo/fifo.h')
| -rw-r--r-- | rushs/evalexpr/fifo/fifo.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/rushs/evalexpr/fifo/fifo.h b/rushs/evalexpr/fifo/fifo.h deleted file mode 100644 index c4b0a6f..0000000 --- a/rushs/evalexpr/fifo/fifo.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef FIFO_H -#define FIFO_H - -#include <stddef.h> - -struct list -{ - int data; - struct list *next; -}; - -struct fifo -{ - struct list *head; - struct list *tail; - size_t size; -}; - -struct fifo *fifo_init(void); -size_t fifo_size(struct fifo *fifo); -void fifo_push(struct fifo *fifo, int elt); -int fifo_head(struct fifo *fifo); -void fifo_pop(struct fifo *fifo); -void fifo_clear(struct fifo *fifo); -void fifo_destroy(struct fifo *fifo); -void fifo_print(const struct fifo *fifo); - -#endif /* !FIFO_H */ |
