]> andersk Git - moira.git/blame - util/et/error_table.h
Add MR_CONTAINER_NO_PARENT error code.
[moira.git] / util / et / error_table.h
CommitLineData
d1b2a10e 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
a91a6d50 8#ifndef ET__H
9#define ET__H
10
d1b2a10e 11struct error_table {
a91a6d50 12 const char *const *msgs;
d1b2a10e 13 long base;
14 int n_msgs;
15};
16struct et_list {
17 struct et_list *next;
18 const struct error_table *table;
19};
a91a6d50 20extern struct et_list *_et_list;
d1b2a10e 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
a91a6d50 25extern const char *error_table_name(int num);
d1b2a10e 26#endif
This page took 0.068216 seconds and 5 git commands to generate.