16 #ifndef LIB_LINE_BUFFER_H_ 
   17 #define LIB_LINE_BUFFER_H_ 
   29                 void append(
const char* line, 
size_t size);
 
After appending, data can be retrieved as lines.
const char * c_str()
Peek the complete buffer contents.
void append(const char *line, size_t size)
Insert data in buffer.
std::string get_next_line()
Return and remove first line in buffer, possibly "".
bool has_lines()
Check if get_next_line() returns a non-empty string.