| 39818:d63ceb45d88d | 39819:3554dac2991b |
|---|---|
| 3 * Massachusetts Institute of Technology. | 3 * Massachusetts Institute of Technology. |
| 4 * | 4 * |
| 5 * For copyright info, see mit-sipb-copyright.h. | 5 * For copyright info, see mit-sipb-copyright.h. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef _ET_H | 8 #ifndef PURPLE_ZEPHYR_ERROR_TABLE_H |
| 9 #define PURPLE_ZEPHYR_ERROR_TABLE_H | |
| 10 | |
| 9 struct error_table { | 11 struct error_table { |
| 10 char const * const * msgs; | 12 char const * const * msgs; |
| 11 long base; | 13 long base; |
| 12 int n_msgs; | 14 int n_msgs; |
| 13 }; | 15 }; |
| 19 | 21 |
| 20 #define ERRCODE_RANGE 8 /* # of bits to shift table number */ | 22 #define ERRCODE_RANGE 8 /* # of bits to shift table number */ |
| 21 #define BITS_PER_CHAR 6 /* # bits to shift per character in name */ | 23 #define BITS_PER_CHAR 6 /* # bits to shift per character in name */ |
| 22 | 24 |
| 23 const char *error_table_name(void); | 25 const char *error_table_name(void); |
| 24 #define _ET_H | 26 |
| 25 #endif | 27 #endif /* PURPLE_ZEPHYR_ERROR_TABLE_H */ |