navit  0.5.3-trunk
roadprofile.h
Go to the documentation of this file.
1 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 struct roadprofile {
26  int speed;
28  int maxspeed;
29 };
30 
31 struct roadprofile * roadprofile_new(struct attr *parent, struct attr **attrs);
32 int roadprofile_get_attr(struct roadprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
33 int roadprofile_set_attr(struct roadprofile *this_, struct attr *attr);
34 int roadprofile_add_attr(struct roadprofile *this_, struct attr *attr);
35 int roadprofile_remove_attr(struct roadprofile *this_, struct attr *attr);
36 struct attr_iter *roadprofile_attr_iter_new(void* unused);
38 #ifdef __cplusplus
39 }
40 #endif
attr_type
Definition: attr.h:34
char type[3]
Definition: garmin_img.c:2
struct roadprofile * roadprofile_new(struct attr *parent, struct attr **attrs)
Definition: roadprofile.c:43
int roadprofile_get_attr(struct roadprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Definition: roadprofile.c:56
int roadprofile_add_attr(struct roadprofile *this_, struct attr *attr)
Definition: roadprofile.c:66
int roadprofile_remove_attr(struct roadprofile *this_, struct attr *attr)
Definition: roadprofile.c:71
void roadprofile_attr_iter_destroy(struct attr_iter *iter)
Definition: roadprofile.c:81
int roadprofile_set_attr(struct roadprofile *this_, struct attr *attr)
Definition: roadprofile.c:60
struct attr_iter * roadprofile_attr_iter_new(void *unused)
Definition: roadprofile.c:77
Definition: config_.c:47
void * iter
Definition: config_.c:48
Definition: attr.h:157
Definition: gpx2navit_txt.h:51
Definition: roadprofile.h:24
int maxspeed
Definition: roadprofile.h:28
int route_weight
Definition: roadprofile.h:27
NAVIT_OBJECT int speed
Definition: roadprofile.h:26
#define NAVIT_OBJECT
Definition: xmlconfig.h:121