|
RBC_Test_CommServer 0.1.0 build fe9835b
Non-vital customer-network access point in front of the RBC's role-C gateways
|
See cs_config.h. More...
#include "cs_config.h"#include <stdio.h>#include <string.h>#include "safecomm/ale/ale.h"#include "safecomm/config/config.h"Go to the source code of this file.
Functions | |
| int | load_cfg (const char *path, cs_cfg_t *cfg) |
Loads path into cfg, defaults first then overridden by whatever the file actually sets (out-of-range values are logged to stderr and the default kept - see cs_config.c's own cfg_u32()). | |
See cs_config.h.
Definition in file cs_config.c.
| int load_cfg | ( | const char * | path, |
| cs_cfg_t * | cfg ) |
Loads path into cfg, defaults first then overridden by whatever the file actually sets (out-of-range values are logged to stderr and the default kept - see cs_config.c's own cfg_u32()).
cfg is still fully defaulted in that case, never left uninitialized. Definition at line 42 of file cs_config.c.