File SolidSyslogTlsStreamCategories.h¶
FileList > Core > Interface > SolidSyslogTlsStreamCategories.h
Go to the source code of this file
Portable category constants (uint16_t macros) for the TLS-stream role: SOLIDSYSLOG_CAT_TLSSTREAM_INIT_FAILED / _HANDSHAKE_FAILED.
#include <stdint.h>#include "SolidSyslogErrorCategory.h"
Macros¶
| Type | Name |
|---|---|
| define | SOLIDSYSLOG_CAT_TLSSTREAM_HANDSHAKE_FAILED ((uint16\_t) ([**SOLIDSYSLOG\_CAT\_TLSSTREAM\_BASE**](SolidSyslogErrorCategory_8h.md#define-solidsyslog_cat_tlsstream_base) + 2U))The TLS handshake with the server did not complete (peer verification, protocol, or transport failure). |
| define | SOLIDSYSLOG_CAT_TLSSTREAM_INIT_FAILED ((uint16\_t) ([**SOLIDSYSLOG\_CAT\_TLSSTREAM\_BASE**](SolidSyslogErrorCategory_8h.md#define-solidsyslog_cat_tlsstream_base) + 1U))Portable TLS-stream error categories, shared by every TLS backend (OpenSSL, Mbed TLS, or an integrator's own). |
Macro Definition Documentation¶
define SOLIDSYSLOG_CAT_TLSSTREAM_HANDSHAKE_FAILED¶
The TLS handshake with the server did not complete (peer verification, protocol, or transport failure).
#define SOLIDSYSLOG_CAT_TLSSTREAM_HANDSHAKE_FAILED `((uint16_t) ( SOLIDSYSLOG_CAT_TLSSTREAM_BASE + 2U))`
define SOLIDSYSLOG_CAT_TLSSTREAM_INIT_FAILED¶
Portable TLS-stream error categories, shared by every TLS backend (OpenSSL, Mbed TLS, or an integrator's own).
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