Mercurial > pidgin
annotate src/protocols/zephyr/error_table.h @ 5954:fccc33d4b8fa
[gaim-migrate @ 6398]
I made serv_set_info or whatever it's called take a const char *
I don't really remember why
I also made some other small changes
There should be no functionality change
I'm still struggling to get available messages working. They haunt my
dreams. Like the gray gorilla, or the Silhouette of the past, fading
into the dim light of the moon.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Wed, 25 Jun 2003 04:20:30 +0000 |
| parents | 424a40f12a6c |
| children | fc464a0abccc |
| rev | line source |
|---|---|
| 2086 | 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 extern const char *error_table_name(); | |
| 24 #define _ET_H | |
| 25 #endif |
