Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
sapi_dual_types.h
Go to the documentation of this file.
1
17#ifndef SAPI_DUAL_TYPES_H
18#define SAPI_DUAL_TYPES_H
19
20#include <stdint.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
56
75
88
98
99#ifdef __cplusplus
100}
101#endif
102
103#endif /* SAPI_DUAL_TYPES_H */
104 /* DUAL */
sapi_dual_state_t
State of one instance in a dual (two-redundant-instance) relationship, as decided by sapi_dual_negoti...
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/logg...
sapi_dual_channel_status_t
Aggregate connection status of a sapi_dual_channel_t across all of its configured redundant links (AD...
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-onl...
@ SAPI_DUAL_STATE_IDLE
@ SAPI_DUAL_STATE_ONLINE
@ SAPI_DUAL_STATE_COLDSTANDBY
@ SAPI_DUAL_STATE_HOTSTANDBY
@ SAPI_DUAL_STATE_UNKNOWN
@ SAPI_DUAL_CHANNEL_STATUS_FULL
@ SAPI_DUAL_CHANNEL_STATUS_DOWN
@ SAPI_DUAL_CHANNEL_STATUS_DEGRADED