libpurple/protocols/zephyr/error_table.h

changeset 40167
9f3aa66e2beb
parent 40164
d3b870b30eb9
parent 40166
811f82db29dd
child 40169
6e6d4e671a85
equal deleted inserted replaced
40164:d3b870b30eb9 40167:9f3aa66e2beb
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 PURPLE_ZEPHYR_ERROR_TABLE_H
9 #define PURPLE_ZEPHYR_ERROR_TABLE_H
10
11 struct error_table {
12 char const * 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 const char *error_table_name(void);
26
27 #endif /* PURPLE_ZEPHYR_ERROR_TABLE_H */

mercurial