Skip to content

C11 atomics platform

File SolidSyslogStdAtomicCounterErrors.h

FileList > Interface > SolidSyslogStdAtomicCounterErrors.h

Error codes and Source identity for the StdAtomicCounter adapter.

  • #include "SolidSyslogExternC.h"

Public Types Documentation

SolidSyslogStdAtomicCounterErrors

Detail codes for events whose Source is StdAtomicCounterErrorSource.

enum SolidSyslogStdAtomicCounterErrors {
    SOLIDSYSLOG_STDATOMIC_COUNTER_ERROR_POOL_EXHAUSTED,
    SOLIDSYSLOG_STDATOMIC_COUNTER_ERROR_UNKNOWN_DESTROY,
    SOLIDSYSLOG_STDATOMIC_COUNTER_ERROR_MAX
};

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


Public Attributes Documentation

StdAtomicCounterErrorSource

Identity for events raised by a StdAtomicCounter.

const struct SolidSyslogErrorSource StdAtomicCounterErrorSource;

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



The documentation for this class was generated from the following file Platform/StdAtomic/Interface/SolidSyslogStdAtomicCounterErrors.h