annotate src/protocols/zephyr/error_table.h @ 5351:2aa7e4237142
[gaim-migrate @ 5727]
Buddy icon support!
The MSN protocol does not support this, but it does allow for different
content-types, which no client (except a couple broken ones I can name)
will see. So, I managed to extend the protocol a bit to do buddy icons.
It should work like AIM. Setup your icon in your account editor, and
message somebody. If they change their icon, however, you will have to
close the conversation window, re-open it, and send another message. That's
just how it has to work for now, I'm afraid.
Oh, and another thing. MSNP7 (P6 as well? Not sure) times out inactive
conversations after 5 minutes. Right now, you're seeing "User has closed
the conversation window" messages, but they're really not. So, we now print
out a message saying it timed out. Ugly, yes, but unless we have both
messages, there's confusion. Oh well! Kick the hay!
committer: Tailor Script <tailor@pidgin.im>
| author |
Christian Hammond <chipx86@chipx86.com> |
| date |
Sat, 10 May 2003 23:55:18 +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
|