Revision 23095,
585 bytes
checked in by ghudson, 16 years ago
(diff) |
Import the moira package from SIPB Debathena.
|
Line | |
---|
1 | /* |
---|
2 | * Copyright 1988 by the Student Information Processing Board of the |
---|
3 | * Massachusetts Institute of Technology. |
---|
4 | * |
---|
5 | * For copyright info, see mit-sipb-copyright.h. |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef ET__H |
---|
9 | #define ET__H |
---|
10 | |
---|
11 | struct error_table { |
---|
12 | const char *const *msgs; |
---|
13 | long base; |
---|
14 | int n_msgs; |
---|
15 | }; |
---|
16 | struct et_list { |
---|
17 | struct et_list *next; |
---|
18 | const struct error_table *table; |
---|
19 | }; |
---|
20 | extern struct et_list *_et_list; |
---|
21 | |
---|
22 | #define ERRCODE_RANGE 8 /* # of bits to shift table number */ |
---|
23 | #define BITS_PER_CHAR 6 /* # bits to shift per character in name */ |
---|
24 | |
---|
25 | extern const char *error_table_name(int num); |
---|
26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.