4 #define CHUNK_SIZE (64 * 1024)
6 extern unsigned int buffer_nr_chunks
;
8 void buffer_init(void);
9 int buffer_get_rpos(char **pos
);
10 int buffer_get_wpos(char **pos
);
11 void buffer_consume(int count
);
12 int buffer_fill(int count
);
13 void buffer_reset(void);
14 int buffer_get_filled_chunks(void);