Skip to content

File SolidSyslogMetaSdErrors.h

FileList > Core > Interface > SolidSyslogMetaSdErrors.h

Error codes and Source identity for the MetaSd.

  • #include "SolidSyslogExternC.h"

Public Types Documentation

SolidSyslogMetaSdErrors

Detail codes for events whose Source is MetaSdErrorSource.

enum SolidSyslogMetaSdErrors {
    SOLIDSYSLOG_META_SD_ERROR_NULL_CONFIG,
    SOLIDSYSLOG_META_SD_ERROR_NULL_COUNTER,
    SOLIDSYSLOG_META_SD_ERROR_POOL_EXHAUSTED,
    SOLIDSYSLOG_META_SD_ERROR_UNKNOWN_DESTROY,
    SOLIDSYSLOG_META_SD_ERROR_MAX
};

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


Public Attributes Documentation

MetaSdErrorSource

The identity for events raised by a MetaSd.

const struct SolidSyslogErrorSource MetaSdErrorSource;

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



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