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 whichever library provides it.
#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. The TLS library itself would not come up, before any peer is contacted - a context that would not build, defaults that would not apply, a session that would not initialise. Material that will not load is a configuration fault raised by the credentials source under SOLIDSYSLOG_CAT_BAD_CONFIG, not this.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogTlsStreamCategories.h