|
Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
See rte_safety_violation.h for behavior. More...
#include "rte/utils/safestate/rte_safety_violation.h"Go to the source code of this file.
Functions | |
| rte_status_t | rte_safety_violation_register_handler (rte_safety_violation_handler_t handler) |
| Registers the single handler invoked by rte_safety_violation_report(). Registering again replaces the previous handler (same convention as rte_safestate_register_handler()). | |
| void | rte_safety_violation_report (rte_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 rte_safety_violation_handler_t | s_handler = NULL |
See rte_safety_violation.h for behavior.
Definition in file rte_safety_violation.c.
|
static |
Definition at line 8 of file rte_safety_violation.c.