Skip to content

Posix platform

File SolidSyslogPosixDatagramErrors.h

FileList > Interface > SolidSyslogPosixDatagramErrors.h

Error codes and Source identity for the PosixDatagram adapter.

  • #include "SolidSyslogExternC.h"

Public Types Documentation

SolidSyslogPosixDatagramErrors

Detail codes for events whose Source is PosixDatagramErrorSource.

enum SolidSyslogPosixDatagramErrors {
    SOLIDSYSLOG_POSIX_DATAGRAM_ERROR_POOL_EXHAUSTED,
    SOLIDSYSLOG_POSIX_DATAGRAM_ERROR_UNKNOWN_DESTROY,
    SOLIDSYSLOG_POSIX_DATAGRAM_ERROR_MAX
};

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


Public Attributes Documentation

PosixDatagramErrorSource

Identity for events raised by a PosixDatagram.

const struct SolidSyslogErrorSource PosixDatagramErrorSource;

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



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