Statistics
| Branch: | Revision:

grapes / src / config.h @ 7b60aa43

History | View | Annotate | Download (360 Bytes)

1
#ifndef CONFIG_H
2
#define CONFIG_H
3
struct tag;
4

    
5
struct tag *config_parse(const char *cfg);
6
int config_value_int(const struct tag *cfg_values, const char *value, int *res);
7
int config_value_double(const struct tag *cfg_values, const char *value, double *res);
8
const char *config_value_str(const struct tag *cfg_values, const char *value);
9

    
10
#endif /* CONFIG_H */