navit 0.5.3-trunk
Loading...
Searching...
No Matches
textfile.h
Go to the documentation of this file.
1
20#ifndef __NAVIT_TEXTFILE_H_
21#define __NAVIT_TEXTFILE_H_
22
23#include <stdio.h>
24
25#include "attr_type_def.h"
26#include "coord.h"
27#include "item.h"
28
29#define TEXTFILE_COMMENT_CHAR '#'
30
31struct map_priv {
32 int id;
33 char *filename;
34 char *charset;
37 int flags;
38};
39
40#define TEXTFILE_LINE_SIZE 512
41
42struct map_rect_priv {
43 struct map_selection *sel;
44
45 FILE *f;
46 long pos;
48 int attr_pos;
53 struct coord c;
54 int eoc;
55 int more;
56 struct map_priv *m;
57 struct item item;
58 char *args;
60};
61
62#endif // __NAVIT_TEXTFILE_H_
attr_type
Definition attr_type_def.h:11
Definition attr.c:48
Definition attr.h:138
Definition coord.h:33
Represents an object on a map.
Definition item.h:122
Represents the map from a single binfile.
Definition binfile.c:103
int is_pipe
Definition textfile.h:35
int flags
Definition binfile.c:123
char * filename
Filename of the binfile.
Definition binfile.c:105
int id
Definition binfile.c:104
int no_warning_if_map_file_missing
Definition textfile.h:36
char * charset
Definition csv.h:39
Implementation-specific map rect data.
Definition binfile.c:135
struct map_selection * sel
Definition binfile.c:141
int attr_pos
Definition garmin_img.c:248
int lastlen
Definition textfile.h:59
int eoc
Definition garmin_img.c:254
char * args
Definition textfile.h:58
FILE * f
Definition garmin_img.c:245
char line[256]
Definition garmin_img.c:247
struct attr attrs[8]
Definition binfile.c:149
struct map_priv * m
Definition binfile.c:142
struct coord c
Definition csv.h:46
long pos
Definition garmin_img.c:246
int more
Definition textfile.h:55
enum attr_type attr_last
Definition binfile.c:138
Used to select data from a map.
Definition map.h:63
#define TEXTFILE_LINE_SIZE
Definition traffic.c:91