Opaque per-thread (or saved) OpenSSL error-queue state.
Declared in <openssl/err.h>
struct err_state_st;
| Name | Description |
|---|---|
bottom | Index of the oldest error slot in the ring buffer. |
err_buffer | Packed error code stored in each slot (OpenSSL or system error). |
err_data | Optional auxiliary detail strings for each error slot (see ERR_TXT_*). |
err_data_flags | ERR_TXT_* flags describing how err_data[i] is owned and formatted. |
err_data_size | Allocated size in bytes of each err_data slot. |
err_file | Source file name associated with each error slot (may be NULL). |
err_flags | Per-slot internal flags (for example ERR_FLAG_MARK, ERR_FLAG_CLEAR). |
err_func | Function-name strings associated with each slot in the error ring buffer. |
err_line | Source line number for each error (-1 when unset). |
err_marks | Mark nesting depth at each ring-buffer slot (used by ERR_set_mark()). |
top | Index of the newest error slot in the ring buffer. |