mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@6 8ec27952-4edc-4aab-86aa-e87bb2611832
21 lines
509 B
C
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_ */
|