Mercurial > pidgin
comparison libpurple/protocols/oscar/oscar_data.c @ 15822: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 | 8bcd5840fb12 |
comparison
equal
deleted
inserted
replaced
15821:84b0f9b23ede | 15822: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 |
94 } | 94 } |
95 g_free(od->email); | 95 g_free(od->email); |
96 g_free(od->newp); | 96 g_free(od->newp); |
97 g_free(od->oldp); | 97 g_free(od->oldp); |
98 if (od->icontimer > 0) | 98 if (od->icontimer > 0) |
99 gaim_timeout_remove(od->icontimer); | 99 purple_timeout_remove(od->icontimer); |
100 if (od->getblisttimer > 0) | 100 if (od->getblisttimer > 0) |
101 gaim_timeout_remove(od->getblisttimer); | 101 purple_timeout_remove(od->getblisttimer); |
102 if (od->getinfotimer > 0) | 102 if (od->getinfotimer > 0) |
103 gaim_timeout_remove(od->getinfotimer); | 103 purple_timeout_remove(od->getinfotimer); |
104 while (od->oscar_connections != NULL) | 104 while (od->oscar_connections != NULL) |
105 flap_connection_destroy(od->oscar_connections->data, | 105 flap_connection_destroy(od->oscar_connections->data, |
106 OSCAR_DISCONNECT_DONE, NULL); | 106 OSCAR_DISCONNECT_DONE, NULL); |
107 | 107 |
108 while (od->peer_connections != NULL) | 108 while (od->peer_connections != NULL) |
120 void | 120 void |
121 oscar_data_addhandler(OscarData *od, guint16 family, guint16 subtype, aim_rxcallback_t newhandler, guint16 flags) | 121 oscar_data_addhandler(OscarData *od, guint16 family, guint16 subtype, aim_rxcallback_t newhandler, guint16 flags) |
122 { | 122 { |
123 SnacHandler *snac_handler; | 123 SnacHandler *snac_handler; |
124 | 124 |
125 gaim_debug_misc("oscar", "Adding handler for %04x/%04x\n", family, subtype); | 125 purple_debug_misc("oscar", "Adding handler for %04x/%04x\n", family, subtype); |
126 | 126 |
127 snac_handler = g_new0(SnacHandler, 1); | 127 snac_handler = g_new0(SnacHandler, 1); |
128 | 128 |
129 snac_handler->family = family; | 129 snac_handler->family = family; |
130 snac_handler->subtype = subtype; | 130 snac_handler->subtype = subtype; |