aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/list.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/list.h b/src/list.h
deleted file mode 100644
index d31f6fd..0000000
--- a/src/list.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef _LIST_H_
-#define _LIST_H_
-
-typedef struct list_item_t {
- void *data;
- struct list_item_t *next;
-} list_item_t;
-
-typedef struct list_t {
- struct list_item_t *first;
- struct list_item_t *last;
- int size;
-} list_t;
-
-typedef struct iterator_t {
- struct list_item_t *current;
-} iterator_t;
-
-list_t clist_create (void);
-void clist_add (list_t *, void *, int);
-void clist_add_all (list_t *, list_t *);
-void clist_remove (list_t *, list_item_t *);
-iterator_t clist_iterator (list_t *);
-int clist_iterator_has_next(iterator_t *);
-list_item_t *iterator_next (iterator_t *);
-
-#endif