|
Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
OSAdapter interface for logging and diagnostics. More...
Go to the source code of this file.
Data Structures | |
| struct | rte_osadapter_log_t |
| OSAdapter logging operations vtable. More... | |
Functions | |
| rte_status_t | rte_osadapter_log_register (const rte_osadapter_log_t *adapter) |
| Registers the OSAdapter log implementation. | |
OSAdapter interface for logging and diagnostics.
Compliant with CENELEC EN 50128 SIL 4 and MISRA C:2012.
Definition in file rte_osadapter_log.h.
| rte_status_t rte_osadapter_log_register | ( | const rte_osadapter_log_t * | osadapter | ) |
Registers the OSAdapter log implementation.
| adapter | Pointer to log operations vtable. |
REQ-OAL-LOG-012: Follows the OSAdapter-registration contract (ADR-005 section 2.1): a NULL adapter is rejected with RTE_STATUS_INVALID_PARAM; re-registering replaces the previous OSAdapter. Exception for this service only (ADR-005 section 2.5): no OSAdapter registered is not an error; rte_log_write() then silently does nothing.
Global functions