]> andersk Git - moira.git/blob - util/et/error_table.h
New version which includes enrolled, half-enrolled, and half-registered
[moira.git] / util / et / error_table.h
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 /* Are we using ANSI C? */
10 #ifndef __STDC__
11 #define const
12 #endif
13 extern int errno;
14 struct error_table {
15     char const * const * msgs;
16     long base;
17     int n_msgs;
18 };
19 struct et_list {
20     struct et_list *next;
21     const struct error_table *table;
22 };
23 extern struct et_list * _et_list;
24
25 #define ERRCODE_RANGE   8       /* # of bits to shift table number */
26 #define BITS_PER_CHAR   6       /* # bits to shift per character in name */
27
28 extern const char *error_table_name();
29 #define _ET_H
30 #endif
This page took 0.104448 seconds and 5 git commands to generate.