navit 0.5.3-trunk
Loading...
Searching...
No Matches
roadprofile.h
Go to the documentation of this file.
1
20#ifndef NAVIT_ROADPROFILE_H
21#define NAVIT_ROADPROFILE_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27#include "navit.h"
28
31 int speed;
33};
34
35struct roadprofile *roadprofile_new(struct attr *parent, struct attr **attrs);
36int roadprofile_get_attr(struct roadprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
37int roadprofile_set_attr(struct roadprofile *this_, struct attr *attr);
38int roadprofile_add_attr(struct roadprofile *this_, struct attr *attr);
39int roadprofile_remove_attr(struct roadprofile *this_, struct attr *attr);
40struct attr_iter *roadprofile_attr_iter_new(void *unused);
42#ifdef __cplusplus
43}
44#endif
45#endif // NAVIT_ROADPROFILE_H
attr_type
Definition attr_type_def.h:11
char type[3]
Definition garmin_img.c:2
#define NAVIT_OBJECT
Definition navit.h:23
struct navit struct traffic_methods struct attr ** attrs
Definition plugin_def.h:36
int roadprofile_get_attr(struct roadprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Definition roadprofile.c:52
struct roadprofile * roadprofile_new(struct attr *parent, struct attr **attrs)
Definition roadprofile.c:39
int roadprofile_add_attr(struct roadprofile *this_, struct attr *attr)
Definition roadprofile.c:62
int roadprofile_remove_attr(struct roadprofile *this_, struct attr *attr)
Definition roadprofile.c:67
void roadprofile_attr_iter_destroy(struct attr_iter *iter)
Definition roadprofile.c:76
int roadprofile_set_attr(struct roadprofile *this_, struct attr *attr)
Definition roadprofile.c:56
struct attr_iter * roadprofile_attr_iter_new(void *unused)
Definition roadprofile.c:72
Definition config_.c:47
void * iter
Definition config_.c:48
Definition attr.h:138
Definition gpx2navit_txt.h:50
Definition roadprofile.h:29
int maxspeed
Definition roadprofile.h:32
NAVIT_OBJECT int speed
Definition roadprofile.h:31