Fix:graphics_cocoa:Better main argument handling
[profile/ivi/navit.git] / navit / navit / config_.h
1 #ifdef __cplusplus
2 extern "C" {
3 #endif
4 extern int main_argc;
5 extern char **main_argv;
6 extern struct config *config;
7 extern int config_empty_ok;
8 /* prototypes */
9 enum attr_type;
10 struct attr;
11 struct attr_iter;
12 struct config;
13 struct config * config_get(void);
14 void config_destroy(struct config *this_);
15 int config_get_attr(struct config *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
16 int config_set_attr(struct config *this_, struct attr *attr);
17 int config_add_attr(struct config *this_, struct attr *attr);
18 int config_remove_attr(struct config *this_, struct attr *attr);
19 struct attr_iter *config_attr_iter_new(void);
20 void config_attr_iter_destroy(struct attr_iter *iter);
21 struct config *config_new(struct attr *parent, struct attr **attrs);
22 /* end of prototypes */
23 #ifdef __cplusplus
24 }
25 #endif