Mercurial > pidgin
annotate src/protocols/oscar/translate.c @ 5136:381da05cb5ed
[gaim-migrate @ 5500]
this started out as simply adding an option to right-click on a jabber buddy
and re-request authorization. Then I ended up chasing the disgusting mess
of const vs non-const parameters all over gaim.
The end result is that you can now right-click on jabber buddies and
re-request auth like you can for ICQ. Also, a lot more things are const
that should be, I fixed a bug or two, and I cleaned up one of my least
favorite functions in gaim (linkify_text). It is now decidedly less evil.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 15 Apr 2003 04:18:00 +0000 |
parents | 07283934dedd |
children |
rev | line source |
---|---|
2672 | 1 /* |
3952 | 2 * Family 0x000c - Translation. |
3 * | |
2672 | 4 * I have no idea why this group was issued. I have never seen anything |
5 * that uses it. From what I remember, the last time I tried to poke at | |
6 * the server with this group, it whined about not supporting it. | |
7 * | |
8 * But we advertise it anyway, because its fun. | |
9 * | |
10 */ | |
11 | |
12 #define FAIM_INTERNAL | |
13 #include <aim.h> | |
14 | |
15 faim_internal int translate_modfirst(aim_session_t *sess, aim_module_t *mod) | |
16 { | |
17 | |
18 mod->family = 0x000c; | |
19 mod->version = 0x0001; | |
20 mod->toolid = 0x0104; | |
21 mod->toolversion = 0x0001; | |
22 mod->flags = 0; | |
23 strncpy(mod->name, "translate", sizeof(mod->name)); | |
24 mod->snachandler = NULL; | |
25 | |
26 return 0; | |
27 } |