Statistics
| Branch: | Revision:

grapes / src / config.h @ 7b60aa43

History | View | Annotate | Download (360 Bytes)

1 9c41353a Luca Abeni
#ifndef CONFIG_H
2 60fa723d Luca Abeni
#define CONFIG_H
3 9c41353a Luca Abeni
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 8e0afb75 MarcoMellia
int config_value_double(const struct tag *cfg_values, const char *value, double *res);
8 8eab17c6 Luca Abeni
const char *config_value_str(const struct tag *cfg_values, const char *value);
9 9c41353a Luca Abeni
10
#endif /* CONFIG_H */