Skip to content

OpenSSL platform

File SolidSyslogOpenSslStreamErrors.h

FileList > Interface > SolidSyslogOpenSslStreamErrors.h

Error codes and Source identity for the OpenSslStream adapter.

  • #include "SolidSyslogExternC.h"

Public Types Documentation

SolidSyslogOpenSslStreamErrors

Detail codes for events whose Source is OpenSslStreamErrorSource.

enum SolidSyslogOpenSslStreamErrors {
    SOLIDSYSLOG_OPENSSL_STREAM_ERROR_POOL_EXHAUSTED,
    SOLIDSYSLOG_OPENSSL_STREAM_ERROR_UNKNOWN_DESTROY,
    SOLIDSYSLOG_OPENSSL_STREAM_ERROR_CONTEXT_INIT_FAILED,
    SOLIDSYSLOG_OPENSSL_STREAM_ERROR_SESSION_INIT_FAILED,
    SOLIDSYSLOG_OPENSSL_STREAM_ERROR_SERVER_NAME_NOT_SET,
    SOLIDSYSLOG_OPENSSL_STREAM_ERROR_HANDSHAKE_REJECTED,
    SOLIDSYSLOG_OPENSSL_STREAM_ERROR_HANDSHAKE_TIMEOUT,
    SOLIDSYSLOG_OPENSSL_STREAM_ERROR_MAX
};

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


Public Attributes Documentation

OpenSslStreamErrorSource

Identity for events raised by a OpenSslStream.

const struct SolidSyslogErrorSource OpenSslStreamErrorSource;

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



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