comparison libpurple/protocols/msn/state.h @ 20570:5913725cbcd6

Use an independant status type for 'current media' stuff, instead of using status attributes. This includes changes in both xmpp and msn. Also, in MSN, CurrentMedia is sent with PSM if you turn on the status and set the attributes on the account.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 20 Sep 2007 16:30:17 +0000
parents 723b5a2f91ce
children 99d1b433dba0 3140627b93e7
comparison
equal deleted inserted replaced
20569:7393ee28c819 20570:5913725cbcd6
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 /* Parse CurrentMedia string */ 64 /* Parse CurrentMedia string */
65 char * msn_parse_currentmedia(const char *cmedia); 65 gboolean msn_parse_currentmedia(const char *cmedia, CurrentMedia *media);
66 66
67 /* Get the CurrentMedia info from the XML string */ 67 /* Get the CurrentMedia info from the XML string */
68 char * msn_get_currentmedia(char *xml_str,gsize len); 68 char * msn_get_currentmedia(char *xml_str,gsize len);
69 69
70 /*get the PSM info from the XML string*/ 70 /*get the PSM info from the XML string*/