|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Backend vtable and registration for clock sync (ADR-005). More...
Data Structures | |
| struct | sapi_clocksync_backend_t |
| Backend vtable: an integrator's implementation of clock synchronization for a specific mechanism (PTP/GPS/NTP/custom). Any slot may be NULL if unsupported by the backend (-> SAPI_STATUS_NOT_SUPPORTED). More... | |
Functions | |
| sapi_status_t | sapi_clocksync_register_backend (const sapi_clocksync_backend_t *backend) |
| Registers the backend implementation used by every sapi_clocksync_* call (ADR-005-style single global backend). | |
Backend vtable and registration for clock sync (ADR-005).
| sapi_status_t sapi_clocksync_register_backend | ( | const sapi_clocksync_backend_t * | backend | ) |
Registers the backend implementation used by every sapi_clocksync_* call (ADR-005-style single global backend).
| backend | Must not be NULL. |
Global variables declarations Local function declarations Global functions
Definition at line 26 of file sapi_clocksync.c.