Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
sapi_reboot.h
Go to the documentation of this file.
1
19#ifndef SAFEAPI_OS_REBOOT_H
20#define SAFEAPI_OS_REBOOT_H
21
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
40sapi_status_t sapi_reboot_request(uint16_t reason_code);
41
42/*
43 * The backend vtable (sapi_reboot_backend_t) and
44 * sapi_reboot_register_backend() live in
45 * safeapi_backend/reboot/sapi_reboot_backend.h, not here (ADR-021). This
46 * header is the consumer-facing surface only.
47 */
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* SAFEAPI_OS_REBOOT_H */
54 /* REBOOT */
sapi_status_t sapi_reboot_request(uint16_t reason_code)
Requests a controlled system restart.
Definition sapi_reboot.c:44
sapi_status_t
Common result/status codes.
Definition sapi_status.h:27
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
Common fixed-width types and the caller-owned-storage handle pattern used by every OAL service (see A...