Statistics
| Revision:

svn-gvsig-desktop / tags / gvsig_topologia-0_1_0-1234 / libraries / libjni-proj4 / include / emess.h @ 33794

History | View | Annotate | Download (711 Bytes)

1
/* Error message processing header file */
2
#ifndef EMESS_H
3
#define EMESS_H
4

    
5
#ifndef lint
6
static char EMESS_H_ID[] = "@(#)emess.h        4.1        93/03/08        GIE        REL";
7
#endif
8

    
9
struct EMESS {
10
        char        *File_name,        /* input file name */
11
                        *Prog_name;        /* name of program */
12
        int                File_line;        /* approximate line read
13
                                                        where error occured */
14
};
15

    
16
#ifdef EMESS_ROUTINE        /* use type */
17
/* for emess procedure */
18
struct EMESS emess_dat = { (char *)0, (char *)0, 0 };
19

    
20
#ifdef sun /* Archaic SunOs 4.1.1, etc. */
21
extern char *sys_errlist[];
22
#define strerror(n) (sys_errlist[n])
23
#endif
24

    
25
#else        /* for for calling procedures */
26

    
27
extern struct EMESS emess_dat;
28
void emess(int, char *, ...);
29

    
30
#endif /* use type */
31

    
32
#endif /* end EMESS_H */