summaryrefslogtreecommitdiffstats
path: root/src/include/buffer.h
blob: 3c99bdefb21465d49d33c0277e04d6554e4fa2d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef BUFFER_H
#define BUFFER_H

struct buffer_free_block {
	struct buffer_free_block *next;
	struct buffer_free_block *prev;	
	void *end;
};

struct buffer {
	struct buffer_free_block free_blocks;
	void *start;
	void *end;
};

#endif /* BUFFER_H */