blob: 7d7a272a26a4d923ad317702e9c575ec7296a007 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#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);
|