struct msg_buffer

Overview

Buffer structure for log messages More…

#include <logger_bufs.h>

struct msg_buffer {
    // fields

    size_t n_items;
    size_t total_length;

    // methods

    TAILQ_HEAD(refcnt_buffer);
};

Detailed Documentation

Buffer structure for log messages

Fields

size_t n_items

Number of messages in the buffer

size_t total_length

Total length of all messages, in bytes

Methods

TAILQ_HEAD(refcnt_buffer)

List of messages