summaryrefslogtreecommitdiff
path: root/navit/vehicleprofile.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-06-05 14:00:33 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-06-05 14:00:33 +0000
commit6ce43b821613af6ce77902c5e9dbbc84264d8d95 (patch)
treeec1b595859e25ec32d0fa73b84e94a5bb2be5a4d /navit/vehicleprofile.c
parent0758284992f9415a17d7989a3334c7cc7ec8f8b2 (diff)
downloadnavit-svn-6ce43b821613af6ce77902c5e9dbbc84264d8d95.tar.gz
Add:Core:Possibility to get all roadprofiles of a vehicleprofile
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5130 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/vehicleprofile.c')
-rw-r--r--navit/vehicleprofile.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/navit/vehicleprofile.c b/navit/vehicleprofile.c
index 63eb40df..7bb3fa46 100644
--- a/navit/vehicleprofile.c
+++ b/navit/vehicleprofile.c
@@ -102,6 +102,19 @@ vehicleprofile_new(struct attr *parent, struct attr **attrs)
return this_;
}
+struct attr_iter *
+vehicleprofile_attr_iter_new(void)
+{
+ return g_new0(void *,1);
+}
+
+void
+vehicleprofile_attr_iter_destroy(struct attr_iter *iter)
+{
+ g_free(iter);
+}
+
+
int
vehicleprofile_get_attr(struct vehicleprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
{