Skip to content

File SolidSyslogTlsStreamCategories.h

FileList > Core > Interface > SolidSyslogTlsStreamCategories.h

Portable category constants (uint16_t macros) for the TLS-stream role: SOLIDSYSLOG_CAT_TLS_STREAM_INIT_FAILED / _HANDSHAKE_FAILED.

  • #include <stdint.h>
  • #include "SolidSyslogErrorCategory.h"

Macro Definition Documentation

SOLIDSYSLOG_CAT_TLS_STREAM_HANDSHAKE_FAILED

The TLS handshake with the server did not complete (peer verification, protocol, or transport failure).

#define SOLIDSYSLOG_CAT_TLS_STREAM_HANDSHAKE_FAILED `((uint16_t) ( SOLIDSYSLOG_CAT_TLS_STREAM_BASE + 2U))`


SOLIDSYSLOG_CAT_TLS_STREAM_INIT_FAILED

Portable TLS-stream error categories, shared by every TLS backend (OpenSSL, Mbed TLS, or an integrator's own).

#define SOLIDSYSLOG_CAT_TLS_STREAM_INIT_FAILED `((uint16_t) ( SOLIDSYSLOG_CAT_TLS_STREAM_BASE + 1U))`

A portable handler switch on event->Category reacts to a TLS init or handshake failure identically regardless of which TLS library produced it. TLS context / library setup failed before any handshake (bad CA bundle, cert or key load failure...).



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