vcs-svn: allow character-oriented input
[gitweb.git] / vcs-svn / line_buffer.h
index 0c2d3d955a7d5ee3b6562ae44bbfededd603c478..0a59c73e8b858a44e22620c8b1cb5c4c02c5343e 100644 (file)
@@ -16,6 +16,7 @@ int buffer_init(struct line_buffer *buf, const char *filename);
 int buffer_deinit(struct line_buffer *buf);
 char *buffer_read_line(struct line_buffer *buf);
 char *buffer_read_string(struct line_buffer *buf, uint32_t len);
+int buffer_read_char(struct line_buffer *buf);
 void buffer_read_binary(struct line_buffer *buf, struct strbuf *sb, uint32_t len);
 void buffer_copy_bytes(struct line_buffer *buf, uint32_t len);
 void buffer_skip_bytes(struct line_buffer *buf, uint32_t len);