Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
sapi_netlink_backend.h
Go to the documentation of this file.
1
16#ifndef SAFEAPI_OS_NETLINK_BACKEND_H
17#define SAFEAPI_OS_NETLINK_BACKEND_H
18
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
32typedef struct sapi_netlink_backend_s
33{
35 sapi_status_t (*open)(sapi_netlink_storage_t *storage,
36 const sapi_netlink_config_t *config,
37 sapi_netlink_handle_t *out_handle);
39 sapi_status_t (*send)(sapi_netlink_handle_t handle, const void *message,
40 size_t message_size, sapi_duration_ms_t timeout_ms);
42 sapi_status_t (*receive)(sapi_netlink_handle_t handle, void *out_message,
43 size_t buffer_size, sapi_duration_ms_t timeout_ms);
47
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif /* SAFEAPI_OS_NETLINK_BACKEND_H */
62 /* NETLINK_BACKEND */
sapi_status_t
Common result/status codes.
Definition sapi_status.h:27
uint32_t sapi_duration_ms_t
Definition sapi_types.h:27
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...