diff options
author | jonas <himself@jonasgunz.de> | 2019-04-12 05:18:19 +0200 |
---|---|---|
committer | jonas <himself@jonasgunz.de> | 2019-04-12 05:18:19 +0200 |
commit | 329714471c36facbbc68cfa26ebaa51938377c7e (patch) | |
tree | 9ae9ce4d28450098216b2aa0df930b45dc2f3d7b /linkedlist/list.h | |
download | standardstuff-329714471c36facbbc68cfa26ebaa51938377c7e.tar.gz |
initialÃ
Diffstat (limited to 'linkedlist/list.h')
-rw-r--r-- | linkedlist/list.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/linkedlist/list.h b/linkedlist/list.h new file mode 100644 index 0000000..db9162b --- /dev/null +++ b/linkedlist/list.h @@ -0,0 +1,16 @@ +#include <stdio.h> +#include <stdlib.h> + +struct list +{ + struct list *next; + int data; +}; + +void list_init(struct list** _listroot); + +void list_add(int _data, struct list** _listroot); + +int list_popFront(struct list** _listroot); + +int list_get(int _index, struct list** _listroot); |