Fix:maptool:Another name for faroe islands
[navit-package] / navit / main.h
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 Library 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 Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License 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 #ifndef NAVIT_MAIN_H
21 #define NAVIT_MAIN_H
22
23 /* prototypes */
24 struct navit;
25 struct iter;
26 struct attr;
27 struct iter * main_iter_new(void);
28 void main_iter_destroy(struct iter *iter);
29 struct navit * main_get_navit(struct iter *iter);
30 void main_add_navit(struct navit *nav);
31 void main_remove_navit(struct navit *nav);
32 int main_add_attr(struct attr *attr);
33 int main_remove_attr(struct attr *attr);
34 void main_init(char *program);
35 void main_init_nls(void);
36 int main(int argc, char **argv);
37 /* end of prototypes */
38
39 #endif
40