Mercurial > pidgin
comparison libpurple/protocols/msn/nexus.h @ 23447:72aa2ccad28d
fix sending offline message in p15 by sending the correct token. In msnp14,
we send the main login token (I realize I may be making up some of the terms
here), in p15, we send the one for messengersecure.live.com
some refactoring also
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Wed, 26 Dec 2007 01:22:00 +0000 |
parents | 25899ec348a4 |
children | 1b98e2090a71 |
comparison
equal
deleted
inserted
replaced
23446:f1f5efd679a4 | 23447:72aa2ccad28d |
---|---|
30 typedef enum | 30 typedef enum |
31 { | 31 { |
32 MSN_AUTH_MESSENGER = 0, | 32 MSN_AUTH_MESSENGER = 0, |
33 MSN_AUTH_MESSENGER_WEB = 1, | 33 MSN_AUTH_MESSENGER_WEB = 1, |
34 MSN_AUTH_CONTACTS = 2, | 34 MSN_AUTH_CONTACTS = 2, |
35 MSN_AUTH_LIVE_UNKNOWN = 3, | 35 MSN_AUTH_LIVE_SECURE = 3, |
36 MSN_AUTH_SPACES = 4, | 36 MSN_AUTH_SPACES = 4, |
37 MSN_AUTH_LIVE_CONTACTS = 5, | 37 MSN_AUTH_LIVE_CONTACTS = 5, |
38 MSN_AUTH_STORAGE = 6 | 38 MSN_AUTH_STORAGE = 6 |
39 } MsnAuthDomains; | 39 } MsnAuthDomains; |
40 | 40 |
132 | 132 |
133 void msn_nexus_connect(MsnNexus *nexus); | 133 void msn_nexus_connect(MsnNexus *nexus); |
134 MsnNexus *msn_nexus_new(MsnSession *session); | 134 MsnNexus *msn_nexus_new(MsnSession *session); |
135 void msn_nexus_destroy(MsnNexus *nexus); | 135 void msn_nexus_destroy(MsnNexus *nexus); |
136 GHashTable *msn_nexus_get_token(MsnNexus *session, MsnAuthDomains id); | 136 GHashTable *msn_nexus_get_token(MsnNexus *session, MsnAuthDomains id); |
137 char *msn_nexus_get_token_str(MsnNexus *session, MsnAuthDomains id); | 137 const char *msn_nexus_get_token_str(MsnNexus *session, MsnAuthDomains id); |
138 | 138 |
139 #endif /* _MSN_NEXUS_H_ */ | 139 #endif /* _MSN_NEXUS_H_ */ |
140 | 140 |