summaryrefslogtreecommitdiff
path: root/navit/route.h
diff options
context:
space:
mode:
authorakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-09-01 07:19:12 +0000
committerakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-09-01 07:19:12 +0000
commita98f3ea3ff49f186db4e9f2ac51a89338a37b843 (patch)
tree84d592812df3097e83a78bde247803b9815ed351 /navit/route.h
parent89f516e7bc6c463dfa2e3083591098a6365207d6 (diff)
downloadnavit-a98f3ea3ff49f186db4e9f2ac51a89338a37b843.tar.gz
Add:core:Added iterator for destinations
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3542 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/route.h')
-rw-r--r--navit/route.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/navit/route.h b/navit/route.h
index 71e4d4c67..3878ec4dc 100644
--- a/navit/route.h
+++ b/navit/route.h
@@ -123,9 +123,12 @@ struct map *route_get_map(struct route *route);
struct map *route_get_graph_map(struct route *route);
void route_set_projection(struct route *this_, enum projection pro);
int route_destination_reached(struct route *);
+void route_set_destinations(struct route *this_, struct pcoord *dst, int count, int async);
int route_set_attr(struct route *this_, struct attr *attr);
int route_add_attr(struct route *this_, struct attr *attr);
int route_remove_attr(struct route *this_, struct attr *attr);
+struct attr_iter * route_attr_iter_new(void);
+void route_attr_iter_destroy(struct attr_iter *iter);
int route_get_attr(struct route *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
void route_init(void);
int route_pos_contains(struct route *, struct item *item);