diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-06-05 14:00:33 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-06-05 14:00:33 +0000 |
commit | 93a89f654195d62ddbb43f28d37720d097482aa8 (patch) | |
tree | ec1b595859e25ec32d0fa73b84e94a5bb2be5a4d /navit/vehicleprofile.c | |
parent | 3639cc2db4cc6e7955e2b0d0be42b4bfcbbdf315 (diff) | |
download | navit-93a89f654195d62ddbb43f28d37720d097482aa8.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.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/navit/vehicleprofile.c b/navit/vehicleprofile.c index 63eb40df9..7bb3fa464 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) { |