Add xterm-white.theme
[cmus.git] / buffer.h
blob8a230885c831ef664b1dbc1e5824bd84e52233db
1 #ifndef _BUFFER_H
2 #define _BUFFER_H
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 void buffer_fill(int count);
13 void buffer_reset(void);
14 int buffer_get_filled_chunks(void);
16 #endif