Skip to content

File SolidSyslogBufferCategories.h

FileList > Core > Interface > SolidSyslogBufferCategories.h

Go to the source code of this file

Portable category constants (uint16_t macros) for the Buffer role: SOLIDSYSLOG_CAT_BUFFER_BACKEND_FAILED.

  • #include <stdint.h>
  • #include "SolidSyslogErrorCategory.h"

Macros

Type Name
define SOLIDSYSLOG_CAT_BUFFER_BACKEND_FAILED ((uint16\_t) ([**SOLIDSYSLOG\_CAT\_BUFFER\_BASE**](SolidSyslogErrorCategory_8h.md#define-solidsyslog_cat_buffer_base) + 1U))
Portable Buffer-role error categories.

Macro Definition Documentation

define SOLIDSYSLOG_CAT_BUFFER_BACKEND_FAILED

Portable Buffer-role error categories.

#define SOLIDSYSLOG_CAT_BUFFER_BACKEND_FAILED `((uint16_t) ( SOLIDSYSLOG_CAT_BUFFER_BASE + 1U))`

Any Buffer implementation reuses these; a portable handler switch on event->Category reacts to a buffer backend failure identically regardless of the underlying mechanism (POSIX message queue, ring, ...). The buffer's underlying backend refused a record (queue full, write failed, ...). event->Source names which buffer.



The documentation for this class was generated from the following file Core/Interface/SolidSyslogBufferCategories.h