diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2025-10-11 22:20:05 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2025-10-11 22:20:05 +0200 |
| commit | 3b27def26196cc96fe14fc8333d9e66189d6230f (patch) | |
| tree | 3b1c1d0e0d4a924cbd605ed99a339dbb3218c5c4 /graphs/piscine/evalexpr/src/fifo.h | |
| parent | 73c2b00a10c5786ddeeacc915e233fd4df1c9321 (diff) | |
Diffstat (limited to 'graphs/piscine/evalexpr/src/fifo.h')
| -rw-r--r-- | graphs/piscine/evalexpr/src/fifo.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/graphs/piscine/evalexpr/src/fifo.h b/graphs/piscine/evalexpr/src/fifo.h deleted file mode 100644 index b330eac..0000000 --- a/graphs/piscine/evalexpr/src/fifo.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef FIFO_H -#define FIFO_H - -#include <stddef.h> - -#include "evalexpr.h" - -struct list -{ - struct token *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, struct token *elt); -struct token *fifo_head(struct fifo *fifo); -void fifo_pop(struct fifo *fifo); -void fifo_clear(struct fifo *fifo); -void fifo_destroy(struct fifo *fifo); - -#endif /* !FIFO_H */ |
