Sat, 12 Nov 2005 16:55:47 +0000
[gaim-migrate @ 14349]
oops, didn't mean to commit that
| 2086 | 1 | /* |
| 2 | * zephyr_err.c: | |
| 3 | * This file is automatically generated; please do not edit it. | |
| 4 | */ | |
| 5 | #ifdef __STDC__ | |
| 6 | #define NOARGS void | |
| 7 | #else | |
| 8 | #define NOARGS | |
| 9 | #define const | |
| 10 | #endif | |
| 11 | ||
| 12 | static const char * const text[] = { | |
| 13 | "Packet too long or buffer too small", | |
| 14 | "Notice header too large", | |
| 15 | "Illegal value in notice", | |
| 16 | "Can't get host manager port", | |
| 17 | "Can't assign port", | |
| 18 | "Bad packet format", | |
| 19 | "Incompatible version numbers", | |
| 20 | "No port opened", | |
| 21 | "No notices match criteria", | |
| 22 | "Input queue too long", | |
| 23 | "Hostmanager not responding", | |
| 24 | "Internal error", | |
| 25 | "No previous call to ZLocateUser", | |
| 26 | "No more locations available", | |
| 27 | "Field too long for buffer", | |
| 28 | "Improperly formatted field", | |
| 29 | "SERVNAK received", | |
| 30 | "Server could not verify authentication", | |
| 31 | "Not logged-in", | |
| 32 | "No previous call to ZRetrieveSubscriptions", | |
| 33 | "No more subscriptions available", | |
| 34 | "Too many subscriptions to transmit", | |
| 35 | "End of file detected during read", | |
| 36 | 0 | |
| 37 | }; | |
| 38 | ||
| 39 | struct error_table { | |
| 40 | char const * const * msgs; | |
| 41 | long base; | |
| 42 | int n_msgs; | |
| 43 | }; | |
| 44 | struct et_list { | |
| 45 | struct et_list *next; | |
| 46 | const struct error_table * table; | |
| 47 | }; | |
| 48 | extern struct et_list *_et_list; | |
| 49 | ||
| 50 | static const struct error_table et = { text, -772103680L, 23 }; | |
| 51 | ||
| 52 | static struct et_list link = { 0, 0 }; | |
| 53 | ||
| 54 | void initialize_zeph_error_table (NOARGS) { | |
| 55 | if (!link.table) { | |
| 56 | link.next = _et_list; | |
| 57 | link.table = &et; | |
| 58 | _et_list = &link; | |
| 59 | } | |
| 60 | } |