summaryrefslogtreecommitdiff
path: root/navit/roadprofile.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-04-12 06:37:36 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-04-12 06:37:36 +0000
commite474f8b91608e8aa23c5e5d0297e9fc0f2bd0828 (patch)
treed374b97c40b326ee01496587ed46f99b2c4f4e58 /navit/roadprofile.h
parent9ecdf6aec3d0fea7b84dc1cb38b81414a7c617db (diff)
downloadnavit-e474f8b91608e8aa23c5e5d0297e9fc0f2bd0828.tar.gz
Fix:Core:Made routing more flexible
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2203 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/roadprofile.h')
-rw-r--r--navit/roadprofile.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/navit/roadprofile.h b/navit/roadprofile.h
index 3154820a7..04d7263e5 100644
--- a/navit/roadprofile.h
+++ b/navit/roadprofile.h
@@ -17,6 +17,12 @@
* Boston, MA 02110-1301, USA.
*/
+struct roadprofile {
+ struct attr **attrs;
+ int speed;
+ int route_weight;
+};
+
struct roadprofile * roadprofile_new(struct attr *parent, struct attr **attrs);
int roadprofile_get_attr(struct roadprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
int roadprofile_set_attr(struct roadprofile *this_, struct attr *attr);