Ticket #475: navit-buildfix.patch

File navit-buildfix.patch, 991 bytes (added by worldcitizen, 13 years ago)

A patch to add the missing entries in the header file.

  • navit/vehicle.h

    diff -Naur navit-old/navit/vehicle.h navit/navit/vehicle.h
    old new  
    2727struct vehicle_priv;
    2828enum attr_type;
    2929struct attr;
     30struct attr_iter;
    3132struct vehicle_methods {
    3233        void (*destroy)(struct vehicle_priv *priv);
    3839/* prototypes */
    3940struct vehicle *vehicle_new(struct attr *parent, struct attr **attrs);
     41struct attr_iter *vehicle_attr_iter_new(void);
    4042int vehicle_get_attr(struct vehicle *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
    4143int vehicle_set_attr(struct vehicle *this_, struct attr *attr, struct attr **attrs);
    4244int vehicle_add_attr(struct vehicle *this_, struct attr *attr);
    4345int vehicle_remove_attr(struct vehicle *this_, struct attr *attr);
    4446void vehicle_destroy(struct vehicle *this_);
     47void vehicle_attr_iter_destroy(struct attr_iter *iter);
    4548/* end of prototypes */
    4649#ifdef __cplusplus