01b6212fda
(Including all changes for FreeBSD - importing the original eBones distribution would be too complex at this stage, since I don't have access to Piero's CVS.) (If you want to include eBones in your system, don't forget to include MAKE_EBONES in /etc/make.conf.) (This stuff is now also suppable from braae.ru.ac.za.) Bones originally from MIT SIPB. Original port to FreeBSD 1.x by Piero Serini. Moved to FreeBSD 2.0 by Doug Rabson and Geoff Rehmet. Nice bug fixes from Doug Rabson.
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
|