Logo Search packages:      
Sourcecode: cmus version File versions

buffer.h

#ifndef _BUFFER_H
#define _BUFFER_H

#define CHUNK_SIZE (64 * 1024)

extern unsigned int buffer_nr_chunks;

void buffer_init(void);
int buffer_get_rpos(char **pos);
int buffer_get_wpos(char **pos);
void buffer_consume(int count);
int buffer_fill(int count);
void buffer_reset(void);
int buffer_get_filled_chunks(void);

#endif

Generated by  Doxygen 1.6.0   Back to index