#pragma once #define LINKEDLIST void *prev, *next struct list { void *tail, *head, *end; }; extern void list_init(struct list *list); extern void list_insert(void *_next, void *_node); extern void list_remove(void *_node);