|
RTE RBC 2oo2 Reference Application 0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
|
Configuration data structures and parser for Role C Gateway (JSON-based). More...
#include <stdbool.h>#include <stdint.h>#include "rte/oal/netlink/rte_netlink.h"#include "rte/utils/status/rte_status.h"#include "common/site_config.h"Go to the source code of this file.
Data Structures | |
| struct | gateway_c_config_timers_t |
| struct | gateway_c_config_channel_t |
| struct | gateway_c_config_t |
Macros | |
| #define | GATEWAY_C_MAX_CHANNELS 32U |
Functions | |
| rte_status_t | gateway_c_config_init_defaults (rte_example_site_t site, gateway_c_config_t *out_cfg) |
| rte_status_t | gateway_c_config_load_file (const char *filepath, gateway_c_config_t *out_cfg) |
| rte_status_t | gateway_c_config_find_channel (const gateway_c_config_t *cfg, const char *channel_name, rte_netlink_config_t *out_netlink_cfg) |
| rte_status_t | gateway_c_config_find_channel_by_id (const gateway_c_config_t *cfg, uint32_t channel_id, rte_netlink_config_t *out_netlink_cfg) |
Configuration data structures and parser for Role C Gateway (JSON-based).
Definition in file gateway_c_config.h.
| #define GATEWAY_C_MAX_CHANNELS 32U |
Definition at line 19 of file gateway_c_config.h.
| rte_status_t gateway_c_config_init_defaults | ( | rte_example_site_t | site, |
| gateway_c_config_t * | out_cfg ) |
Definition at line 122 of file gateway_c_config.c.
| rte_status_t gateway_c_config_load_file | ( | const char * | filepath, |
| gateway_c_config_t * | out_cfg ) |
Definition at line 435 of file gateway_c_config.c.
| rte_status_t gateway_c_config_find_channel | ( | const gateway_c_config_t * | cfg, |
| const char * | channel_name, | ||
| rte_netlink_config_t * | out_netlink_cfg ) |
Definition at line 491 of file gateway_c_config.c.
| rte_status_t gateway_c_config_find_channel_by_id | ( | const gateway_c_config_t * | cfg, |
| uint32_t | channel_id, | ||
| rte_netlink_config_t * | out_netlink_cfg ) |
Definition at line 522 of file gateway_c_config.c.