|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Reboot service: dispatches to the backend registered via sapi_reboot_register_backend() (ADR-005). More...
#include "safeapi/oal/reboot/sapi_reboot.h"#include "safeapi/utils/lifecycle/sapi_lifecycle.h"#include "safeapi_backend/reboot/sapi_reboot_backend.h"Go to the source code of this file.
Functions | |
| sapi_status_t | sapi_reboot_register_backend (const sapi_reboot_backend_t *backend) |
| Registers the backend implementation used by sapi_reboot_request() (ADR-005 section 2.1). Call once at startup. | |
| sapi_status_t | sapi_reboot_request (uint16_t reason_code) |
| Requests a controlled system restart. | |
Variables | |
| static const sapi_reboot_backend_t * | s_backend = NULL |
| Currently registered backend, or NULL if none (ADR-005). | |
Reboot service: dispatches to the backend registered via sapi_reboot_register_backend() (ADR-005).
Definition in file sapi_reboot.c.
|
static |
Currently registered backend, or NULL if none (ADR-005).
Local makros Local types declarations Local variables declarations
Definition at line 17 of file sapi_reboot.c.