Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
rte_safety_violation.c File Reference

See rte_safety_violation.h for behavior. More...

Include dependency graph for rte_safety_violation.c:

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

Detailed Description

See rte_safety_violation.h for behavior.

Definition in file rte_safety_violation.c.

Variable Documentation

◆ s_handler

rte_safety_violation_handler_t s_handler = NULL
static

Definition at line 8 of file rte_safety_violation.c.