|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Validation and dispatch for the named channel service. More...
Go to the source code of this file.
Functions | |
| static sapi_status_t | validate_backend (void) |
| sapi_status_t | sapi_channel_service_register_backend (const sapi_channel_service_backend_t *backend) |
| sapi_status_t | sapi_channel_service_setup (sapi_channel_service_t *storage, const char *channel_name) |
| sapi_status_t | sapi_channel_service_read (sapi_channel_service_t *storage, void *data, size_t data_size, sapi_duration_ms_t timeout_ms) |
| sapi_status_t | sapi_channel_service_send (sapi_channel_service_t *storage, const void *data, size_t data_size, sapi_duration_ms_t timeout_ms) |
| sapi_status_t | sapi_channel_service_close (sapi_channel_service_t *storage) |
Variables | |
| static const sapi_channel_service_backend_t * | s_backend |
Validation and dispatch for the named channel service.
Definition in file sapi_channel_service.c.
|
static |
Definition at line 10 of file sapi_channel_service.c.
| sapi_status_t sapi_channel_service_register_backend | ( | const sapi_channel_service_backend_t * | backend | ) |
Definition at line 20 of file sapi_channel_service.c.
| sapi_status_t sapi_channel_service_setup | ( | sapi_channel_service_t * | storage, |
| const char * | channel_name ) |
Definition at line 31 of file sapi_channel_service.c.
| sapi_status_t sapi_channel_service_read | ( | sapi_channel_service_t * | storage, |
| void * | data, | ||
| size_t | data_size, | ||
| sapi_duration_ms_t | timeout_ms ) |
Definition at line 47 of file sapi_channel_service.c.
| sapi_status_t sapi_channel_service_send | ( | sapi_channel_service_t * | storage, |
| const void * | data, | ||
| size_t | data_size, | ||
| sapi_duration_ms_t | timeout_ms ) |
Definition at line 66 of file sapi_channel_service.c.
| sapi_status_t sapi_channel_service_close | ( | sapi_channel_service_t * | storage | ) |
Definition at line 85 of file sapi_channel_service.c.
|
static |
Definition at line 8 of file sapi_channel_service.c.