|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
See sapi_safety_violation.h for behavior. More...
Go to the source code of this file.
Functions | |
| sapi_status_t | sapi_safety_violation_register_handler (sapi_safety_violation_handler_t handler) |
| Registers the single handler invoked by sapi_safety_violation_report(). Registering again replaces the previous handler (same convention as sapi_safestate_register_handler()). | |
| void | sapi_safety_violation_report (sapi_safety_violation_kind_t kind, const char *file, int32_t line, const char *message) |
| Reports one violation to the registered handler, if any. | |
Variables | |
| static sapi_safety_violation_handler_t | s_handler = NULL |
See sapi_safety_violation.h for behavior.
Definition in file sapi_safety_violation.c.
|
static |
Definition at line 8 of file sapi_safety_violation.c.