Skip to content

File SolidSyslogErrors.h

FileList > Core > Interface > SolidSyslogErrors.h

Error codes and Source identity for the SolidSyslog instance.

  • #include "SolidSyslogExternC.h"

Public Types Documentation

SolidSyslogErrors

Detail codes for events whose Source is SolidSyslogErrorSource (the SolidSyslog singleton).

enum SolidSyslogErrors {
    SOLIDSYSLOG_ERROR_CREATE_NULL_CONFIG,
    SOLIDSYSLOG_ERROR_CREATE_NULL_BUFFER,
    SOLIDSYSLOG_ERROR_CREATE_NULL_SENDER,
    SOLIDSYSLOG_ERROR_CREATE_NULL_STORE,
    SOLIDSYSLOG_ERROR_CREATE_INCONSISTENT_SD,
    SOLIDSYSLOG_ERROR_LOG_NULL_MESSAGE,
    SOLIDSYSLOG_ERROR_LOG_NULL_HANDLE,
    SOLIDSYSLOG_ERROR_LOG_INCONSISTENT_SD,
    SOLIDSYSLOG_ERROR_SERVICE_NULL_HANDLE,
    SOLIDSYSLOG_ERROR_POOL_EXHAUSTED,
    SOLIDSYSLOG_ERROR_UNKNOWN_DESTROY,
    SOLIDSYSLOG_ERROR_MAX
};

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


Public Attributes Documentation

SolidSyslogErrorSource

The identity for events raised by the SolidSyslog singleton.

const struct SolidSyslogErrorSource SolidSyslogErrorSource;

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



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