Skip to content

File SolidSyslogOriginSdErrors.h

FileList > Core > Interface > SolidSyslogOriginSdErrors.h

Error codes and Source identity for the OriginSd.

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

Public Types Documentation

SolidSyslogOriginSdErrors

Detail codes for events whose Source is SolidSyslogOriginSdErrorSource.

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

SolidSyslogOriginSdErrorSource

The identity for events raised by an OriginSd.

const struct SolidSyslogErrorSource SolidSyslogOriginSdErrorSource;

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


Public Functions Documentation

SolidSyslogOriginSdErrors_Name

The detail's name, read beside the category's: POOL_EXHAUSTED for SOLIDSYSLOG_ORIGIN_SD_ERROR_POOL_EXHAUSTED.

const char * SolidSyslogOriginSdErrors_Name (
    int32_t detail
) 

NULL for a code outside the enum.



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