|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Backend implementation for named channel operations. More...
#include <sapi_channel_service.h>
Data Fields | |
| sapi_status_t(*) | setup (sapi_channel_service_storage_t *storage, const char *channel_name) |
| sapi_status_t(*) | read (sapi_channel_service_storage_t *storage, void *data, size_t data_size, sapi_duration_ms_t timeout_ms) |
| sapi_status_t(*) | send (sapi_channel_service_storage_t *storage, const void *data, size_t data_size, sapi_duration_ms_t timeout_ms) |
| sapi_status_t(*) | close (sapi_channel_service_storage_t *storage) |
Backend implementation for named channel operations.
A backend may perform blocking or non-blocking transport work internally, but it must return from each operation within the supplied timeout. The backend owns all transport-specific state and recovery behavior.
Definition at line 42 of file sapi_channel_service.h.
| sapi_status_t(*) sapi_channel_service_backend_t::setup(sapi_channel_service_storage_t *storage, const char *channel_name) |
Definition at line 44 of file sapi_channel_service.h.
| sapi_status_t(*) sapi_channel_service_backend_t::read(sapi_channel_service_storage_t *storage, void *data, size_t data_size, sapi_duration_ms_t timeout_ms) |
Definition at line 46 of file sapi_channel_service.h.
| sapi_status_t(*) sapi_channel_service_backend_t::send(sapi_channel_service_storage_t *storage, const void *data, size_t data_size, sapi_duration_ms_t timeout_ms) |
Definition at line 50 of file sapi_channel_service.h.
| sapi_status_t(*) sapi_channel_service_backend_t::close(sapi_channel_service_storage_t *storage) |
Definition at line 54 of file sapi_channel_service.h.