1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00
VILLASnode/include/cfg.h
2014-06-05 09:34:32 +00:00

21 lines
509 B
C

/**
* Configuration parser
*
* @author Steffen Vogel <steffen.vogel@rwth-aachen.de>
* @copyright 2014, Institute for Automation of Complex Power Systems, EONERC
*/
#ifndef _CONFIG_H_
#define _CONFIG_H_
#include <libconfig.h>
#include "path.h"
#include "node.h"
int config_parse(config_t *c, const char *filename, struct path *paths, struct node *nodes);
int config_parse_path(config_setting_t *c, struct path *p);
int config_parse_node(config_setting_t *c, struct node *n);
#endif /* _CONFIG_H_ */