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