blob: 4f10991102a1bbfab0da0b9246c72a21df4e0aee [file] [log] [blame]
Theodore Ts'o3839e651997-04-26 13:21:57 +00001/*
2 * Copyright 1988 by the Student Information Processing Board of the
3 * Massachusetts Institute of Technology.
4 *
Theodore Ts'o06cefee1999-10-23 01:16:22 +00005 * 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.
Theodore Ts'o3839e651997-04-26 13:21:57 +000013 */
14
15#ifndef _ET_H
Theodore Ts'of3db3561997-04-26 13:34:30 +000016
Theodore Ts'o3839e651997-04-26 13:21:57 +000017struct et_list {
18 struct et_list *next;
19 const struct error_table *table;
20};
21extern struct et_list * _et_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
Theodore Ts'oa47b66e1997-08-10 23:02:21 +000026extern const char *error_table_name(errcode_t num);
Theodore Ts'of3db3561997-04-26 13:34:30 +000027
Theodore Ts'o3839e651997-04-26 13:21:57 +000028#define _ET_H
29#endif