Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/rxhandlers.c @ 15823:32c366eeeb99
sed -ie 's/gaim/purple/g'
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 19 Mar 2007 07:01:17 +0000 |
parents | 5fe8042783c1 |
children | 1927f4ead3ca |
comparison
equal
deleted
inserted
replaced
15822:84b0f9b23ede | 15823:32c366eeeb99 |
---|---|
1 /* | 1 /* |
2 * Gaim's oscar protocol plugin | 2 * Purple's oscar protocol plugin |
3 * This file is the legal property of its developers. | 3 * This file is the legal property of its developers. |
4 * Please see the AUTHORS file distributed alongside this file. | 4 * Please see the AUTHORS file distributed alongside this file. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
67 } | 67 } |
68 | 68 |
69 mod->next = (aim_module_t *)od->modlistv; | 69 mod->next = (aim_module_t *)od->modlistv; |
70 od->modlistv = mod; | 70 od->modlistv = mod; |
71 | 71 |
72 gaim_debug_misc("oscar", "registered module %s (family 0x%04x, version = 0x%04x, tool 0x%04x, tool version 0x%04x)\n", mod->name, mod->family, mod->version, mod->toolid, mod->toolversion); | 72 purple_debug_misc("oscar", "registered module %s (family 0x%04x, version = 0x%04x, tool 0x%04x, tool version 0x%04x)\n", mod->name, mod->family, mod->version, mod->toolid, mod->toolversion); |
73 | 73 |
74 return 0; | 74 return 0; |
75 } | 75 } |
76 | 76 |
77 void aim__shutdownmodules(OscarData *od) | 77 void aim__shutdownmodules(OscarData *od) |
269 | 269 |
270 family = byte_stream_get16(&frame->data); | 270 family = byte_stream_get16(&frame->data); |
271 subtype = byte_stream_get16(&frame->data); | 271 subtype = byte_stream_get16(&frame->data); |
272 | 272 |
273 if ((family < maxf) && (subtype+1 < maxs) && (literals[family][subtype] != NULL)) | 273 if ((family < maxf) && (subtype+1 < maxs) && (literals[family][subtype] != NULL)) |
274 gaim_debug_misc("oscar", "bleck: channel %s: null handler for %04x/%04x (%s)\n", channels[frame->channel], family, subtype, literals[family][subtype+1]); | 274 purple_debug_misc("oscar", "bleck: channel %s: null handler for %04x/%04x (%s)\n", channels[frame->channel], family, subtype, literals[family][subtype+1]); |
275 else | 275 else |
276 gaim_debug_misc("oscar", "bleck: channel %s: null handler for %04x/%04x (no literal)\n", channels[frame->channel], family, subtype); | 276 purple_debug_misc("oscar", "bleck: channel %s: null handler for %04x/%04x (no literal)\n", channels[frame->channel], family, subtype); |
277 } else { | 277 } else { |
278 | 278 |
279 if (frame->channel <= maxchannels) | 279 if (frame->channel <= maxchannels) |
280 gaim_debug_misc("oscar", "bleck: channel %s (0x%02x)\n", channels[frame->channel], frame->channel); | 280 purple_debug_misc("oscar", "bleck: channel %s (0x%02x)\n", channels[frame->channel], frame->channel); |
281 else | 281 else |
282 gaim_debug_misc("oscar", "bleck: unknown channel 0x%02x\n", frame->channel); | 282 purple_debug_misc("oscar", "bleck: unknown channel 0x%02x\n", frame->channel); |
283 | 283 |
284 } | 284 } |
285 | 285 |
286 return 1; | 286 return 1; |
287 } | 287 } |