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_osadapter_ipc.h
Go to the documentation of this file.
1
7#ifndef RTE_OSADAPTER_IPC_H
8#define RTE_OSADAPTER_IPC_H
9
10#include <stddef.h>
11#include "rte/oal/ipc/rte_ipc.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
22typedef struct rte_osadapter_ipc_s
23{
24 rte_status_t (*create)(rte_ipc_storage_t *storage,
25 const rte_ipc_config_t *config,
26 rte_ipc_handle_t *out_handle);
27 rte_status_t (*send)(rte_ipc_handle_t handle, const void *message,
28 size_t message_size, rte_duration_ms_t timeout_ms);
29 rte_status_t (*receive)(rte_ipc_handle_t handle, void *out_message,
30 size_t buffer_size, rte_duration_ms_t timeout_ms);
31 rte_status_t (*destroy)(rte_ipc_handle_t handle);
33
44
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif /* RTE_OSADAPTER_IPC_H */
struct rte_ipc_impl_s * rte_ipc_handle_t
Opaque handle to a created IPC channel, returned by rte_ipc_create().
Definition rte_ipc.h:34
rte_status_t
Common result/status codes.
Definition rte_status.h:27
uint32_t rte_duration_ms_t
Definition rte_types.h:27
OS Abstraction Layer - Inter-process/inter-task communication service.
rte_status_t rte_osadapter_ipc_register(const rte_osadapter_ipc_t *adapter)
Registers the OSAdapter IPC implementation.
Definition rte_ipc.c:25
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...
Configuration for rte_ipc_create().
Definition rte_ipc.h:38
OSAdapter IPC operations vtable.