18 lines
373 B
C
18 lines
373 B
C
|
#ifndef _ET
|
||
|
extern int errno;
|
||
|
typedef struct {
|
||
|
char **msgs;
|
||
|
int base;
|
||
|
int n_msgs;
|
||
|
} error_table;
|
||
|
extern error_table **_et_list;
|
||
|
|
||
|
#define ERROR_CODE "int" /* type used for error codes */
|
||
|
|
||
|
#define ERRCODE_RANGE 8 /* # of bits to shift table number */
|
||
|
#define BITS_PER_CHAR 6 /* # bits to shift per character in name */
|
||
|
|
||
|
extern char *error_table_name();
|
||
|
#define _ET
|
||
|
#endif
|