navit
0.5.3-trunk
emess.h
Go to the documentation of this file.
1
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 */
emess
void emess(int, char *,...)
emess_dat
struct EMESS emess_dat
EMESS
Definition:
emess.h:28
EMESS::File_name
char * File_name
Definition:
emess.h:29
EMESS::Prog_name
char * Prog_name
Definition:
emess.h:30
EMESS::File_line
int File_line
Definition:
emess.h:31
tools
gpx2navit_txt
src
emess.h
Generated by
1.9.1