Skip to content

Posix platform

File SolidSyslogPosixFileErrors.h

FileList > Interface > SolidSyslogPosixFileErrors.h

Error codes and Source identity for the PosixFile adapter.

  • #include "SolidSyslogExternC.h"

Public Types Documentation

SolidSyslogPosixFileErrors

Detail codes for events whose Source is PosixFileErrorSource.

enum SolidSyslogPosixFileErrors {
    SOLIDSYSLOG_POSIX_FILE_ERROR_POOL_EXHAUSTED,
    SOLIDSYSLOG_POSIX_FILE_ERROR_UNKNOWN_DESTROY,
    SOLIDSYSLOG_POSIX_FILE_ERROR_MAX
};

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


Public Attributes Documentation

PosixFileErrorSource

Identity for events raised by a PosixFile.

const struct SolidSyslogErrorSource PosixFileErrorSource;

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



The documentation for this class was generated from the following file Platform/Posix/Interface/SolidSyslogPosixFileErrors.h