Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
rte_dual_types.c File Reference

Diagnostics-only string rendering for the rte_dual module's shared enums (ADR-020). More...

Include dependency graph for rte_dual_types.c:

Go to the source code of this file.

Functions

const char * rte_dual_state_to_string (rte_dual_state_t state)
 Returns a short, static, human-readable string for a rte_dual_state_t. Intended for diagnostics/logging only (e.g. as the Info= field of a rte_log_write_event() call); never on a safety-decision path.
const char * rte_dual_channel_status_to_string (rte_dual_channel_status_t status)
 Returns a short, static, human-readable string for a rte_dual_channel_status_t. Same diagnostics-only contract as rte_dual_state_to_string().

Detailed Description

Diagnostics-only string rendering for the rte_dual module's shared enums (ADR-020).

Definition in file rte_dual_types.c.