diff options
-rw-r--r-- | navit/config_.c | 6 | ||||
-rw-r--r-- | navit/config_.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/navit/config_.c b/navit/config_.c index 66b77074f..f54a179b5 100644 --- a/navit/config_.c +++ b/navit/config_.c @@ -29,6 +29,12 @@ struct config { struct callback_list *cbl; } *config; +struct config * +config_get(void) +{ + return config; +} + int config_empty_ok; static int configured; diff --git a/navit/config_.h b/navit/config_.h index 085448021..d49e17d72 100644 --- a/navit/config_.h +++ b/navit/config_.h @@ -8,6 +8,7 @@ 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); |