/[zanavi_public1]/navit/navit/map/textfile/textfile.h
ZANavi

Contents of /navit/navit/map/textfile/textfile.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 28 21:19:04 2011 UTC (8 years, 11 months ago) by zoff99
File MIME type: text/plain
File size: 1212 byte(s)
import files
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 #include <stdio.h>
21 #include "attr.h"
22 #include "coord.h"
23 struct map_priv {
24 int id;
25 char *filename;
26 char *charset;
27 int is_pipe;
28 int flags;
29 };
30
31 #define SIZE 512
32
33 struct map_rect_priv {
34 struct map_selection *sel;
35
36 FILE *f;
37 long pos;
38 char line[SIZE];
39 int attr_pos;
40 enum attr_type attr_last;
41 char attrs[SIZE];
42 char attr[SIZE];
43 char attr_name[SIZE];
44 struct coord c;
45 int eoc;
46 int more;
47 struct map_priv *m;
48 struct item item;
49 char *args;
50 int lastlen;
51 };
52

   
Visit the ZANavi Wiki