mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
cleanups: struct config_setting_t => config_setting_t
This commit is contained in:
parent
4df5bc0c61
commit
3ca3853e11
3 changed files with 5 additions and 5 deletions
|
@ -102,7 +102,7 @@ int config_parse_path(config_setting_t *cfg,
|
|||
struct path *p = path_create();
|
||||
|
||||
/* Input node */
|
||||
struct config_setting_t *cfg_in = config_setting_get_member(cfg, "in");
|
||||
config_setting_t *cfg_in = config_setting_get_member(cfg, "in");
|
||||
if (!cfg_in || config_setting_type(cfg_in) != CONFIG_TYPE_STRING)
|
||||
cerror(cfg, "Invalid input node for path");
|
||||
|
||||
|
@ -112,7 +112,7 @@ int config_parse_path(config_setting_t *cfg,
|
|||
cerror(cfg_in, "Invalid input node '%s'", in);
|
||||
|
||||
/* Output node(s) */
|
||||
struct config_setting_t *cfg_out = config_setting_get_member(cfg, "out");
|
||||
config_setting_t *cfg_out = config_setting_get_member(cfg, "out");
|
||||
if (cfg_out)
|
||||
config_parse_nodelist(cfg_out, &p->destinations, nodes);
|
||||
|
||||
|
@ -122,7 +122,7 @@ int config_parse_path(config_setting_t *cfg,
|
|||
cerror(cfg, "Missing output node for path");
|
||||
|
||||
/* Optional settings */
|
||||
struct config_setting_t *cfg_hook = config_setting_get_member(cfg, "hook");
|
||||
config_setting_t *cfg_hook = config_setting_get_member(cfg, "hook");
|
||||
if (cfg_hook)
|
||||
config_parse_hooklist(cfg_hook, p->hooks);
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
int reverse = 0;
|
||||
|
||||
struct config_t config;
|
||||
config_t config;
|
||||
|
||||
_mtid = pthread_self();
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ struct list nodes;
|
|||
/** The global configuration */
|
||||
struct settings settings;
|
||||
|
||||
static struct config_t config;
|
||||
static config_t config;
|
||||
static struct settings set;
|
||||
static struct msg *pool;
|
||||
static struct node *node;
|
||||
|
|
Loading…
Add table
Reference in a new issue