Skip to content

File SolidSyslogPosixFileErrors.h

FileList > Interface > SolidSyslogPosixFileErrors.h

Go to the source code of this file

Error codes and Source identity for the PosixFile adapter.

  • #include "ExternC.h"

Public Types

Type Name
enum SolidSyslogPosixFileErrors
Detail codes for events whose Source is PosixFileErrorSource.

Public Attributes

Type Name
const struct SolidSyslogErrorSource PosixFileErrorSource
Identity for events raised by a PosixFile.

Public Types Documentation

enum SolidSyslogPosixFileErrors

Detail codes for events whose Source is PosixFileErrorSource.

enum SolidSyslogPosixFileErrors {
    POSIXFILE_ERROR_POOL_EXHAUSTED,
    POSIXFILE_ERROR_UNKNOWN_DESTROY,
    POSIXFILE_ERROR_MAX
};

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


Public Attributes Documentation

variable 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