Skip to content

File SolidSyslogCircularBufferErrors.h

FileList > Core > Interface > SolidSyslogCircularBufferErrors.h

Go to the source code of this file

Error codes and Source identity for the CircularBuffer.

  • #include "ExternC.h"

Public Types

Type Name
enum SolidSyslogCircularBufferErrors
Detail codes for events whose Source is CircularBufferErrorSource.

Public Attributes

Type Name
const struct SolidSyslogErrorSource CircularBufferErrorSource
The identity for events raised by a CircularBuffer.

Public Types Documentation

enum SolidSyslogCircularBufferErrors

Detail codes for events whose Source is CircularBufferErrorSource.

enum SolidSyslogCircularBufferErrors {
    CIRCULARBUFFER_ERROR_POOL_EXHAUSTED,
    CIRCULARBUFFER_ERROR_UNKNOWN_DESTROY,
    CIRCULARBUFFER_ERROR_MAX
};

A handler reads these off event->Detail after matching event->Source; the members name their own fault.


Public Attributes Documentation

variable CircularBufferErrorSource

The identity for events raised by a CircularBuffer.

const struct SolidSyslogErrorSource CircularBufferErrorSource;

A handler matches by address (event->Source == &CircularBufferErrorSource), then reads event->Detail as an enum SolidSyslogCircularBufferErrors.



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