comparison libpurple/protocols/yahoo/yahoo_aliases.h @ 22807:0b11895cc564

Leak fixes. Avoid creating an unnecessary parallel data structure to YahooFriend.
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 03 May 2008 21:03:13 +0000
parents 44b4e8bd759b
children 510f07e1f5c1
comparison
equal deleted inserted replaced
22806:f15d9ded0c45 22807:0b11895cc564
31 #include "util.h" 31 #include "util.h"
32 #include "version.h" 32 #include "version.h"
33 #include "yahoo.h" 33 #include "yahoo.h"
34 #include "yahoo_packet.h" 34 #include "yahoo_packet.h"
35 35
36
37 /**
38 * The additional protocol specific info attached to each buddy. We need
39 * to store the unique numeric id number to allow us to push alias changes.
40 */
41 struct YahooUser
42 {
43 const char *id; /* The yahoo accountid for this buddy (not YahooID but numeric value) */
44 char *firstname; /* Storing this information for no real reason, just because */
45 char *lastname; /* Storing this information for no real reason, just because */
46 char *nickname; /* Storing this information for no real reason, just because */
47 };
48
49 void yahoo_update_alias(PurpleConnection *gc, const char *who, const char *alias); 36 void yahoo_update_alias(PurpleConnection *gc, const char *who, const char *alias);
50 void yahoo_fetch_aliases(PurpleConnection *gc); 37 void yahoo_fetch_aliases(PurpleConnection *gc);
38