summaryrefslogtreecommitdiff
path: root/navit/xmlconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'navit/xmlconfig.h')
-rw-r--r--navit/xmlconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/navit/xmlconfig.h b/navit/xmlconfig.h
index 5465d913e..88ec349ab 100644
--- a/navit/xmlconfig.h
+++ b/navit/xmlconfig.h
@@ -54,6 +54,10 @@ struct object_func {
void *(*unref)(void *);
};
+extern struct object_func map_func, mapset_func, navit_func, tracking_func, vehicle_func;
+
+#define HAS_OBJECT_FUNC(x) ((x) == attr_map || (x) == attr_mapset || (x) == attr_navit || (x) == attr_trackingo || (x) == attr_vehicle)
+
struct navit_object {
struct object_func *func;
int refcount;