diff options
author | singesang <singesang@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-09-28 11:00:43 +0000 |
---|---|---|
committer | singesang <singesang@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-09-28 11:00:43 +0000 |
commit | e236056ea47366e2d15103de3762e9a10dc570a6 (patch) | |
tree | a1246a0bfdca98dd3a04bc4d64c77817b6f91bd7 /navit/vehicle.h | |
parent | cde0a6f319f145c311263d77af5ce47757e59e10 (diff) | |
download | navit-e236056ea47366e2d15103de3762e9a10dc570a6.tar.gz |
Fix:Core: Applied patch from #475. Thanks for the hint
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2613 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/vehicle.h')
-rw-r--r-- | navit/vehicle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/navit/vehicle.h b/navit/vehicle.h index 455e2d608..d4aaecf2b 100644 --- a/navit/vehicle.h +++ b/navit/vehicle.h @@ -27,6 +27,7 @@ struct vehicle; struct vehicle_priv; enum attr_type; struct attr; +struct attr_iter; struct vehicle_methods { void (*destroy)(struct vehicle_priv *priv); @@ -37,11 +38,13 @@ struct vehicle_methods { /* prototypes */ struct vehicle *vehicle_new(struct attr *parent, struct attr **attrs); +struct attr_iter *vehicle_attr_iter_new(void); int vehicle_get_attr(struct vehicle *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter); int vehicle_set_attr(struct vehicle *this_, struct attr *attr, struct attr **attrs); int vehicle_add_attr(struct vehicle *this_, struct attr *attr); int vehicle_remove_attr(struct vehicle *this_, struct attr *attr); void vehicle_destroy(struct vehicle *this_); +void vehicle_attr_iter_destroy(struct attr_iter *iter); /* end of prototypes */ #ifdef __cplusplus } |