/[zanavi_public1]/navit/navit/tools/gpx2navit_txt/src/emess.h
ZANavi

Contents of /navit/navit/tools/gpx2navit_txt/src/emess.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 28 21:19:04 2011 UTC (12 years, 5 months ago) by zoff99
File MIME type: text/plain
File size: 1461 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 /* Error message processing header file */
21 #ifndef EMESS_H
22 #define EMESS_H
23
24 #ifndef lint
25 /*static char EMESS_H_ID[] = "@(#)emess.h 4.1 93/03/08 GIE REL";*/
26 #endif
27
28 struct EMESS {
29 char *File_name, /* input file name */
30 *Prog_name; /* name of program */
31 int File_line; /* approximate line read
32 where error occured */
33 };
34
35 #ifdef EMESS_ROUTINE /* use type */
36 /* for emess procedure */
37 struct EMESS emess_dat = { (char *)0, (char *)0, 0 };
38
39 #ifdef sun /* Archaic SunOs 4.1.1, etc. */
40 extern char *sys_errlist[];
41 #define strerror(n) (sys_errlist[n])
42 #endif
43
44 #else /* for for calling procedures */
45
46 extern struct EMESS emess_dat;
47 void emess(int, char *, ...);
48
49 #endif /* use type */
50
51 #endif /* end EMESS_H */

   
Visit the ZANavi Wiki