37 m_index = m_next_index;
38 m_offset = m_next_offset;
40 while (m_next_index < m_buffers.size()) {
41 const char *base = m_buffers[m_next_index].base + m_next_offset;
42 const char *end = m_buffers[m_next_index].ptr;
43 const char *ptr = base;
44 while (ptr < end && *ptr !=
'\n')
47 m_line.append(base, ptr-base);
55 m_next_offset = ptr - m_buffers[m_next_index].base;
void increment()
Increment to next output line.
Compatibility Macros for C/C++.
Declarations for SshOutputCollector.