:orphan: .. index:: pair: struct; msg_buffer .. _doxid-structmsg__buffer: struct msg_buffer ================= .. toctree:: :hidden: Overview ~~~~~~~~ Buffer structure for log messages :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct msg_buffer { // fields size_t :ref:`n_items`; size_t :ref:`total_length`; // methods :ref:`TAILQ_HEAD`(:ref:`refcnt_buffer`); }; .. _details-structmsg__buffer: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Buffer structure for log messages Fields ------ .. index:: pair: variable; n_items .. _doxid-structmsg__buffer_1ad74a8cac87966d36a2e68df25a2e9406: .. ref-code-block:: cpp :class: doxyrest-title-code-block size_t n_items Number of messages in the buffer .. index:: pair: variable; total_length .. _doxid-structmsg__buffer_1a7ab7c3288b4b44989ca338eb0ca3c8d6: .. ref-code-block:: cpp :class: doxyrest-title-code-block size_t total_length Total length of all messages, in bytes Methods ------- .. index:: pair: function; TAILQ_HEAD .. _doxid-structmsg__buffer_1a10dad85ad367b9ffb2c53e2c0cddde47: .. ref-code-block:: cpp :class: doxyrest-title-code-block TAILQ_HEAD(:ref:`refcnt_buffer`) List of messages