MCPcopy Create free account
hub / github.com/apache/trafficserver / next

Method next

src/proxy/logging/LogBuffer.cc:771–786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769 -------------------------------------------------------------------------*/
770
771LogEntryHeader *
772LogBufferIterator::next()
773{
774 LogEntryHeader *ret_val = nullptr;
775 LogEntryHeader *entry = reinterpret_cast<LogEntryHeader *>(m_next);
776
777 if (entry) {
778 if (m_iter_entry_count < m_buffer_entry_count) {
779 m_next += entry->entry_len;
780 ++m_iter_entry_count;
781 ret_val = entry;
782 }
783 }
784
785 return ret_val;
786}

Callers 10

plugin_agents_cleanupMethod · 0.45
ssl_register_protocolFunction · 0.45
start_HttpProxyServerFunction · 0.45
resolve_custom_entryMethod · 0.45
logMethod · 0.45
write_ascii_logbufferMethod · 0.45
operator==Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected