2 * Copyright (C) 2008 Diego Hernan Borghetti.
9 typedef struct _E_Config
{
10 struct _E_Config
*next
;
15 /* value, function, name ... */
19 typedef struct _E_Section
{
20 struct _E_Section
*next
;
25 /* list of key/value pair. */
30 void e_config_init(void);
31 void e_config_parse(char *file
);
33 E_Section
*e_config_find_section(char *name
);
34 E_Config
*e_config_find_config(E_Section
*sc
, char *key
);
36 char *e_config_get(char *name
, char *key
);
37 int e_config_get_int(char *name
, char *key
);
39 #endif /* _ECO_CONFIG_H */