Start of an implementation using doubly-linked lists and virtual
[people/xl0/gpxe.git] / src / include / buffer.h
1 #ifndef BUFFER_H
2 #define BUFFER_H
3
4 struct buffer_free_block {
5         struct buffer_free_block *next;
6         struct buffer_free_block *prev; 
7         void *end;
8 };
9
10 struct buffer {
11         struct buffer_free_block free_blocks;
12         void *start;
13         void *end;
14 };
15
16 #endif /* BUFFER_H */