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