vcs-svn: Limit bytes read and written strictly
[git/barrbrain.git] / vcs-svn / line_buffer.h
blob621938dc76d63cb342ceb5261fb97ac329a350cf
1 #ifndef LINE_BUFFER_H_
2 #define LINE_BUFFER_H_
4 int buffer_init(const char *filename);
5 int buffer_deinit(void);
6 char *buffer_read_line(void);
7 char *buffer_read_string(uint32_t len);
8 int buffer_read_char(void);
9 void buffer_copy_bytes(uint32_t len);
10 void buffer_skip_bytes(uint32_t len);
11 void buffer_reset(void);
13 #endif