paul@181 | 1 | /* |
paul@181 | 2 | * Copyright 1988 by the Student Information Processing Board of the |
paul@181 | 3 | * Massachusetts Institute of Technology. |
paul@181 | 4 | * |
paul@181 | 5 | * Permission to use, copy, modify, and distribute this software and |
paul@181 | 6 | * its documentation for any purpose is hereby granted, provided that |
paul@181 | 7 | * the names of M.I.T. and the M.I.T. S.I.P.B. not be used in |
paul@181 | 8 | * advertising or publicity pertaining to distribution of the software |
paul@181 | 9 | * without specific, written prior permission. M.I.T. and the |
paul@181 | 10 | * M.I.T. S.I.P.B. make no representations about the suitability of |
paul@181 | 11 | * this software for any purpose. It is provided "as is" without |
paul@181 | 12 | * express or implied warranty. |
paul@181 | 13 | */ |
paul@181 | 14 | |
paul@181 | 15 | #ifndef _ET_H |
paul@181 | 16 | |
paul@181 | 17 | struct et_list { |
paul@181 | 18 | struct et_list *next; |
paul@181 | 19 | const struct error_table *table; |
paul@181 | 20 | }; |
paul@181 | 21 | extern struct et_list *_et_list, *_et_dynamic_list; |
paul@181 | 22 | |
paul@181 | 23 | #define ERRCODE_RANGE 8 /* # of bits to shift table number */ |
paul@181 | 24 | #define BITS_PER_CHAR 6 /* # bits to shift per character in name */ |
paul@181 | 25 | |
paul@181 | 26 | extern const char *error_table_name(errcode_t num); |
paul@181 | 27 | |
paul@181 | 28 | #define _ET_H |
paul@181 | 29 | #endif |