Skip to content

File SolidSyslogOriginSdErrors.h

FileList > Core > Interface > SolidSyslogOriginSdErrors.h

Error codes and Source identity for the OriginSd.

  • #include "SolidSyslogExternC.h"

Public Types Documentation

SolidSyslogOriginSdErrors

Detail codes for events whose Source is OriginSdErrorSource.

enum SolidSyslogOriginSdErrors {
    SOLIDSYSLOG_ORIGIN_SD_ERROR_POOL_EXHAUSTED,
    SOLIDSYSLOG_ORIGIN_SD_ERROR_UNKNOWN_DESTROY,
    SOLIDSYSLOG_ORIGIN_SD_ERROR_MAX
};

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


Public Attributes Documentation

OriginSdErrorSource

The identity for events raised by an OriginSd.

const struct SolidSyslogErrorSource OriginSdErrorSource;

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



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