summaryrefslogtreecommitdiff
path: root/navit/config_.h
blob: 64ac0465c4253a51eaa962aa459450b8ec3250d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifdef __cplusplus
extern "C" {
#endif
extern int main_argc;
extern char * const* main_argv;
extern struct config *config;
extern int configured;
extern int config_empty_ok;
/* prototypes */
enum attr_type;
struct attr;
struct attr_iter;
struct config;
struct config * config_get(void);
void config_destroy(struct config *this_);
int config_get_attr(struct config *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
int config_set_attr(struct config *this_, struct attr *attr);
int config_add_attr(struct config *this_, struct attr *attr);
int config_remove_attr(struct config *this_, struct attr *attr);
struct attr_iter *config_attr_iter_new(void);
void config_attr_iter_destroy(struct attr_iter *iter);
struct config *config_new(struct attr *parent, struct attr **attrs);
/* end of prototypes */
#ifdef __cplusplus
}
#endif