aboutsummaryrefslogtreecommitdiff
path: root/src/apps/emess.h
blob: a0a009f14a88dd11e3977a42bc4247004c061331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Error message processing header file */
#ifndef EMESS_H
#define EMESS_H

struct EMESS {
	char	*File_name,	/* input file name */
			*Prog_name;	/* name of program */
	int		File_line;	/* approximate line read
							where error occurred */
};

#ifdef EMESS_ROUTINE	/* use type */
/* for emess procedure */
struct EMESS emess_dat = { nullptr, nullptr, 0 };

#else	/* for for calling procedures */

extern struct EMESS emess_dat;

#endif /* use type */

void emess(int, const char *, ...);

#endif /* end EMESS_H */