/[zanavi_public1]/navit/navit/roadprofile.h
ZANavi

Contents of /navit/navit/roadprofile.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 40 - (show annotations) (download)
Wed Mar 4 14:00:54 2015 UTC (9 years ago) by zoff99
File MIME type: text/plain
File size: 1347 byte(s)
new market version, lots of fixes
1 /**
2 * Navit, a modular navigation system.
3 * Copyright (C) 2005-2008 Navit Team
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * version 2 as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 */
19
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 struct roadprofile
25 {
26 struct attr **attrs;
27 int speed;
28 int route_weight;
29 int route_prio_weight;
30 int maxspeed;
31 };
32
33 struct roadprofile * roadprofile_new(struct attr *parent, struct attr **attrs);
34 int roadprofile_get_attr(struct roadprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
35 int roadprofile_set_attr(struct roadprofile *this_, struct attr *attr);
36 int roadprofile_add_attr(struct roadprofile *this_, struct attr *attr);
37 int roadprofile_remove_attr(struct roadprofile *this_, struct attr *attr);
38 #ifdef __cplusplus
39 }
40 #endif

   
Visit the ZANavi Wiki