navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
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 */
Definition: emess.h:28
void emess(int, char *,...)
char * File_name
Definition: emess.h:29
struct EMESS emess_dat
int File_line
Definition: emess.h:31
char * Prog_name
Definition: emess.h:29