comparison libpurple/protocols/yahoo/yahoo_friend.c @ 27694:908be3822215

Move from "struct yahoo_data" to "YahooData" to be consistent with other structs in the prpl. I'm sure someone is going to want to shoot me over this, but I'm tired of seeing "struct yahoo_data" everywhere in this prpl.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sun, 26 Jul 2009 17:25:18 +0000
parents fa827f6f990f
children 61856d0a2714
comparison
equal deleted inserted replaced
27693:8bc9087b5ec2 27694:908be3822215
40 return ret; 40 return ret;
41 } 41 }
42 42
43 YahooFriend *yahoo_friend_find(PurpleConnection *gc, const char *name) 43 YahooFriend *yahoo_friend_find(PurpleConnection *gc, const char *name)
44 { 44 {
45 struct yahoo_data *yd; 45 YahooData *yd;
46 const char *norm; 46 const char *norm;
47 47
48 g_return_val_if_fail(gc != NULL, NULL); 48 g_return_val_if_fail(gc != NULL, NULL);
49 g_return_val_if_fail(gc->proto_data != NULL, NULL); 49 g_return_val_if_fail(gc->proto_data != NULL, NULL);
50 50
55 } 55 }
56 56
57 YahooFriend *yahoo_friend_find_or_new(PurpleConnection *gc, const char *name) 57 YahooFriend *yahoo_friend_find_or_new(PurpleConnection *gc, const char *name)
58 { 58 {
59 YahooFriend *f; 59 YahooFriend *f;
60 struct yahoo_data *yd; 60 YahooData *yd;
61 const char *norm; 61 const char *norm;
62 62
63 g_return_val_if_fail(gc != NULL, NULL); 63 g_return_val_if_fail(gc != NULL, NULL);
64 g_return_val_if_fail(gc->proto_data != NULL, NULL); 64 g_return_val_if_fail(gc->proto_data != NULL, NULL);
65 65
213 } 213 }
214 214
215 void yahoo_friend_update_presence(PurpleConnection *gc, const char *name, 215 void yahoo_friend_update_presence(PurpleConnection *gc, const char *name,
216 YahooPresenceVisibility presence) 216 YahooPresenceVisibility presence)
217 { 217 {
218 struct yahoo_data *yd = gc->proto_data; 218 YahooData *yd = gc->proto_data;
219 struct yahoo_packet *pkt = NULL; 219 struct yahoo_packet *pkt = NULL;
220 YahooFriend *f; 220 YahooFriend *f;
221 const char *thirtyone, *thirteen; 221 const char *thirtyone, *thirteen;
222 int service = -1; 222 int service = -1;
223 const char *temp = NULL; 223 const char *temp = NULL;