libpurple/protocols/zephyr/error_table.h

changeset 15435
4b933b06d75e
parent 14254
77edc7a6191a
child 16238
33bf2fd32108
child 18068
b6554e3c8224
child 20478
46933dc62880
child 39819
3554dac2991b
equal deleted inserted replaced
15434:94dcf9e39d66 15435:4b933b06d75e
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 struct error_table {
10 char const * const * msgs;
11 long base;
12 int n_msgs;
13 };
14 struct et_list {
15 struct et_list *next;
16 const struct error_table *table;
17 };
18 extern struct et_list * _et_list;
19
20 #define ERRCODE_RANGE 8 /* # of bits to shift table number */
21 #define BITS_PER_CHAR 6 /* # bits to shift per character in name */
22
23 const char *error_table_name(void);
24 #define _ET_H
25 #endif

mercurial