Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/state.h @ 29368:746bf7d8b34e
Combine the CurrentMedia and MsnUserPhoneInfo structs. This makes
MsnUser smaller by the size of one pointer.
Since both of these structs are used only rarely, this ends up saving
memory for most people.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 05 Feb 2010 02:19:22 +0000 |
parents | 99d1b433dba0 |
children | 462cb893521b 1830fa548302 |
comparison
equal
deleted
inserted
replaced
29367:e137c1fc216a | 29368:746bf7d8b34e |
---|---|
59 | 59 |
60 const char *msn_state_get_text(MsnAwayType state); | 60 const char *msn_state_get_text(MsnAwayType state); |
61 | 61 |
62 void msn_set_psm(MsnSession *session); | 62 void msn_set_psm(MsnSession *session); |
63 | 63 |
64 /** | |
65 * Parse CurrentMedia string. | |
66 */ | |
67 CurrentMedia *msn_parse_currentmedia(const char *cmedia); | |
68 | |
69 /* Get the CurrentMedia info from the XML string */ | 64 /* Get the CurrentMedia info from the XML string */ |
70 char * msn_get_currentmedia(char *xml_str,gsize len); | 65 char * msn_get_currentmedia(char *xml_str,gsize len); |
71 | 66 |
72 /*get the PSM info from the XML string*/ | 67 /*get the PSM info from the XML string*/ |
73 char * msn_get_psm(char *xml_str,gsize len); | 68 char * msn_get_psm(char *xml_str,gsize len); |