|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Diagnostics-only string rendering for the sapi_dual module's shared enums (ADR-020). More...
#include "safeapi/redundancy/dual/sapi_dual_types.h"Go to the source code of this file.
Functions | |
| const char * | sapi_dual_state_to_string (sapi_dual_state_t state) |
| Returns a short, static, human-readable string for a sapi_dual_state_t. Intended for diagnostics/logging only (e.g. as the Info= field of a sapi_log_write_event() call); never on a safety-decision path. | |
| const char * | sapi_dual_channel_status_to_string (sapi_dual_channel_status_t status) |
| Returns a short, static, human-readable string for a sapi_dual_channel_status_t. Same diagnostics-only contract as sapi_dual_state_to_string(). | |
Diagnostics-only string rendering for the sapi_dual module's shared enums (ADR-020).
Definition in file sapi_dual_types.c.