Skip to content

File SolidSyslogMetaSdErrors.h

FileList > Core > Interface > SolidSyslogMetaSdErrors.h

Error codes and Source identity for the MetaSd.

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

Public Types Documentation

SolidSyslogMetaSdErrors

Detail codes for events whose Source is SolidSyslogMetaSdErrorSource.

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

SolidSyslogMetaSdErrorSource

The identity for events raised by a MetaSd.

const struct SolidSyslogErrorSource SolidSyslogMetaSdErrorSource;

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


Public Functions Documentation

SolidSyslogMetaSdErrors_Name

The detail's name, read beside the category's: NULL_CONFIG for SOLIDSYSLOG_META_SD_ERROR_NULL_CONFIG.

const char * SolidSyslogMetaSdErrors_Name (
    int32_t detail
) 

NULL for a code outside the enum.



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