Navit SVN

/work/compile/navit/src/navit/roadprofile.h

00001 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 struct roadprofile {
00025         struct attr **attrs;
00026         int speed;
00027         int route_weight;
00028         int maxspeed;
00029 };
00030 
00031 struct roadprofile * roadprofile_new(struct attr *parent, struct attr **attrs);
00032 int roadprofile_get_attr(struct roadprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
00033 int roadprofile_set_attr(struct roadprofile *this_, struct attr *attr);
00034 int roadprofile_add_attr(struct roadprofile *this_, struct attr *attr);
00035 int roadprofile_remove_attr(struct roadprofile *this_, struct attr *attr);
00036 #ifdef __cplusplus
00037 }
00038 #endif